< prev index next >

src/java.desktop/share/classes/sun/java2d/pipe/NullPipe.java

Print this page


   1 /*
   2  * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  70 
  71     public void drawOval(SunGraphics2D sg,
  72                          int x, int y, int width, int height) {
  73     }
  74 
  75     public void fillOval(SunGraphics2D sg,
  76                          int x, int y, int width, int height) {
  77     }
  78 
  79     public void drawArc(SunGraphics2D sg,
  80                         int x, int y, int width, int height,
  81                         int startAngle, int arcAngle) {
  82     }
  83 
  84     public void fillArc(SunGraphics2D sg,
  85                         int x, int y, int width, int height,
  86                         int startAngle, int arcAngle) {
  87     }
  88 
  89     public void drawPolyline(SunGraphics2D sg,
  90                              int xPoints[], int yPoints[],
  91                              int nPoints) {
  92     }
  93 
  94     public void drawPolygon(SunGraphics2D sg,
  95                             int xPoints[], int yPoints[],
  96                             int nPoints) {
  97     }
  98 
  99     public void fillPolygon(SunGraphics2D sg,
 100                             int xPoints[], int yPoints[],
 101                             int nPoints) {
 102     }
 103 
 104     public void draw(SunGraphics2D sg, Shape s) {
 105     }
 106 
 107     public void fill(SunGraphics2D sg, Shape s) {
 108     }
 109 
 110     public void drawString(SunGraphics2D sg, String s, double x, double y) {
 111     }
 112 
 113     public void drawGlyphVector(SunGraphics2D sg, GlyphVector g,
 114                                 float x, float y) {
 115     }
 116 
 117     public void drawChars(SunGraphics2D sg,
 118                                 char data[], int offset, int length,
 119                                 int x, int y) {
 120     }
 121 
 122     public boolean copyImage(SunGraphics2D sg, Image img,
 123                              int x, int y,
 124                              Color bgColor,
 125                              ImageObserver observer) {
 126         return false;
 127     }
 128     public boolean copyImage(SunGraphics2D sg, Image img,
 129                              int dx, int dy, int sx, int sy, int w, int h,
 130                              Color bgColor,
 131                              ImageObserver observer) {
 132         return false;
 133     }
 134     public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y,
 135                               int w, int h,
 136                               Color bgColor,
 137                               ImageObserver observer) {
 138         return false;
   1 /*
   2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  70 
  71     public void drawOval(SunGraphics2D sg,
  72                          int x, int y, int width, int height) {
  73     }
  74 
  75     public void fillOval(SunGraphics2D sg,
  76                          int x, int y, int width, int height) {
  77     }
  78 
  79     public void drawArc(SunGraphics2D sg,
  80                         int x, int y, int width, int height,
  81                         int startAngle, int arcAngle) {
  82     }
  83 
  84     public void fillArc(SunGraphics2D sg,
  85                         int x, int y, int width, int height,
  86                         int startAngle, int arcAngle) {
  87     }
  88 
  89     public void drawPolyline(SunGraphics2D sg,
  90                              int[] xPoints, int[] yPoints,
  91                              int nPoints) {
  92     }
  93 
  94     public void drawPolygon(SunGraphics2D sg,
  95                             int[] xPoints, int[] yPoints,
  96                             int nPoints) {
  97     }
  98 
  99     public void fillPolygon(SunGraphics2D sg,
 100                             int[] xPoints, int[] yPoints,
 101                             int nPoints) {
 102     }
 103 
 104     public void draw(SunGraphics2D sg, Shape s) {
 105     }
 106 
 107     public void fill(SunGraphics2D sg, Shape s) {
 108     }
 109 
 110     public void drawString(SunGraphics2D sg, String s, double x, double y) {
 111     }
 112 
 113     public void drawGlyphVector(SunGraphics2D sg, GlyphVector g,
 114                                 float x, float y) {
 115     }
 116 
 117     public void drawChars(SunGraphics2D sg,
 118                                 char[] data, int offset, int length,
 119                                 int x, int y) {
 120     }
 121 
 122     public boolean copyImage(SunGraphics2D sg, Image img,
 123                              int x, int y,
 124                              Color bgColor,
 125                              ImageObserver observer) {
 126         return false;
 127     }
 128     public boolean copyImage(SunGraphics2D sg, Image img,
 129                              int dx, int dy, int sx, int sy, int w, int h,
 130                              Color bgColor,
 131                              ImageObserver observer) {
 132         return false;
 133     }
 134     public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y,
 135                               int w, int h,
 136                               Color bgColor,
 137                               ImageObserver observer) {
 138         return false;
< prev index next >