Searched refs:npoints (Results 1 - 17 of 17) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DPolygon.java61 * The total number of points. The value of {@code npoints}
71 public int npoints; field in class:Polygon
78 * array. The value of {@link #npoints npoints} is equal to the
92 * array. The value of {@code npoints} is equal to the
136 * @param npoints the total number of points in the
139 * {@code npoints} is negative.
140 * @exception IndexOutOfBoundsException if {@code npoints} is
147 public Polygon(int xpoints[], int ypoints[], int npoints) { argument
149 // of OutOfMemoryError if npoints i
229 calculateBounds(int xpoints[], int ypoints[], int npoints) argument
[all...]
H A DGraphics.java732 drawPolygon(p.xpoints, p.ypoints, p.npoints);
768 fillPolygon(p.xpoints, p.ypoints, p.npoints);
/openjdk10/jdk/src/java.desktop/unix/native/common/java2d/x11/
H A DX11Renderer.c59 jint npoints; member in struct:__anon1177
66 (PTR)->npoints = 0; \
74 (PTR)->npoints = 0; \
81 jint _npnts = (PTR)->npoints; \
97 (PTR)->npoints = _npnts + 1; \
151 int npoints = *pNpoints; local
169 close = (xcoords[npoints - 1] != xcoords[0] ||
170 ycoords[npoints - 1] != ycoords[0]);
172 npoints++;
175 if (npoints > POLYTEMPSIZ
436 Java_sun_java2d_x11_X11Renderer_XDrawPoly(JNIEnv *env, jobject xr, jlong pXSData, jlong xgc, jint transx, jint transy, jintArray xcoordsArray, jintArray ycoordsArray, jint npoints, jboolean isclosed) argument
862 Java_sun_java2d_x11_X11Renderer_XFillPoly(JNIEnv *env, jobject xr, jlong pXSData, jlong xgc, jint transx, jint transy, jintArray xcoordsArray, jintArray ycoordsArray, jint npoints) argument
[all...]
/openjdk10/jdk/src/java.desktop/windows/native/libawt/java2d/windows/
H A DGDIRenderer.cpp66 int npoints = *pNpoints; local
67 int outpoints = npoints;
82 BOOL isclosed = (xpoints[npoints-1] == mx && ypoints[npoints-1] == my);
91 for (int i = 0; i < npoints; i++) {
99 pPoints[npoints] = pPoints[0];
107 pPoints[npoints] = pPoints[npoints-1];
108 pPoints[npoints].x++;
360 jint npoints, jboolea
354 Java_sun_java2d_windows_GDIRenderer_doDrawPoly(JNIEnv *env, jobject wr, jobject sData, jobject clip, jobject comp, jint color, jint transx, jint transy, jintArray xpointsarray, jintArray ypointsarray, jint npoints, jboolean isclosed) argument
629 Java_sun_java2d_windows_GDIRenderer_doFillPoly(JNIEnv *env, jobject wr, jobject sData, jobject clip, jobject comp, jint color, jint transx, jint transy, jintArray xpointsarray, jintArray ypointsarray, jint npoints) argument
[all...]
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/x11/
H A DX11Renderer.java170 int npoints, boolean isclosed);
174 int npoints)
181 xpoints, ypoints, npoints, false);
189 int npoints)
196 xpoints, ypoints, npoints, true);
275 int npoints);
279 int npoints)
285 sg2d.transX, sg2d.transY, xpoints, ypoints, npoints);
332 drawPolygon(sg2d, p.xpoints, p.ypoints, p.npoints);
369 fillPolygon(sg2d, p.xpoints, p.ypoints, p.npoints);
167 XDrawPoly(long pXSData, long xgc, int transx, int transy, int[] xpoints, int[] ypoints, int npoints, boolean isclosed) argument
172 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
187 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
272 XFillPoly(long pXSData, long xgc, int transx, int transy, int[] xpoints, int[] ypoints, int npoints) argument
277 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
455 XDrawPoly(long pXSData, long xgc, int transx, int transy, int[] xpoints, int[] ypoints, int npoints, boolean isclosed) argument
500 XFillPoly(long pXSData, long xgc, int transx, int transy, int[] xpoints, int[] ypoints, int npoints) argument
[all...]
/openjdk10/jdk/src/java.desktop/windows/classes/sun/java2d/windows/
H A DGDIRenderer.java141 int npoints, boolean isclosed);
145 int npoints)
150 sg2d.transX, sg2d.transY, xpoints, ypoints, npoints, false);
158 int npoints)
163 sg2d.transX, sg2d.transY, xpoints, ypoints, npoints, true);
243 int npoints);
247 int npoints)
252 sg2d.transX, sg2d.transY, xpoints, ypoints, npoints);
382 int npoints, boolean isclosed)
386 xpoints, ypoints, npoints, isclose
137 doDrawPoly(GDIWindowSurfaceData sData, Region clip, Composite comp, int color, int transx, int transy, int[] xpoints, int[] ypoints, int npoints, boolean isclosed) argument
143 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
156 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
239 doFillPoly(GDIWindowSurfaceData sData, Region clip, Composite comp, int color, int transx, int transy, int[] xpoints, int[] ypoints, int npoints) argument
245 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
378 doDrawPoly(GDIWindowSurfaceData sData, Region clip, Composite comp, int color, int transx, int transy, int[] xpoints, int[] ypoints, int npoints, boolean isclosed) argument
420 doFillPoly(GDIWindowSurfaceData sData, Region clip, Composite comp, int color, int transx, int transy, int[] xpoints, int[] ypoints, int npoints) argument
[all...]
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/java2d/
H A DCompositeCRenderer.java87 public synchronized void drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
88 doPolygon(sg2d, xpoints, ypoints, npoints, false, false);
91 public synchronized void drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
92 doPolygon(sg2d, xpoints, ypoints, npoints, true, false);
123 public synchronized void fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
124 doPolygon(sg2d, xpoints, ypoints, npoints, true, true);
127 public synchronized void doPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) { argument
128 GeneralPath gp = new GeneralPath(Path2D.WIND_NON_ZERO, npoints);
130 for (int i = 1; i < npoints; i++) {
135 if ((xpoints[0] != xpoints[npoints
[all...]
H A DCRenderer.java231 native void doPoly(SurfaceData sData, int[] xpoints, int[] ypoints, int npoints, boolean ispolygon, boolean isfill); argument
233 public void drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
236 surfaceData.doPolygon(this, sg2d, xpoints, ypoints, npoints, false, false);
240 for (int i = 1; i < npoints; i++) {
247 public void drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
250 surfaceData.doPolygon(this, sg2d, xpoints, ypoints, npoints, true, false);
254 for (int i = 1; i < npoints; i++) {
262 public void fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) { argument
264 surfaceData.doPolygon(this, sg2d, xpoints, ypoints, npoints, true, true);
631 void doPoly(SurfaceData sData, int[] xpoints, int[] ypoints, int npoints, boolea argument
[all...]
H A DOSXSurfaceData.java1034 public void doPolygon(CRenderer renderer, SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) { argument
1042 for (int i = 1; i < npoints; i++) {
1061 renderer.doPoly(this, xpoints, ypoints, npoints, ispolygon, isfill);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DXRRenderer.java109 int xpoints[], int ypoints[], int npoints) {
111 if (npoints > 1) {
113 for (int i = 1; i < npoints; i++) {
122 int xpoints[], int ypoints[], int npoints) {
123 draw(sg2d, new Polygon(xpoints, ypoints, npoints));
166 int xpoints[], int ypoints[], int npoints) {
167 fill(sg2d, new Polygon(xpoints, ypoints, npoints));
108 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
121 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
165 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/
H A DPath2D.java2561 int npoints;
2565 npoints = 1;
2571 npoints = 1;
2577 npoints = 2;
2583 npoints = 3;
2589 npoints = 0;
2598 while (--npoints >= 0) {
2641 int npoints;
2648 npoints = 1;
2653 npoints
[all...]
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/
H A DPolyVertTest.java209 int npoints = xpoints.length;
211 g2d.drawPolyline(xpoints, ypoints, npoints);
213 g2d.drawPolygon(xpoints, ypoints, npoints);
215 g2d.draw(new Polygon(xpoints, ypoints, npoints));
224 int npoints = xpoints.length;
226 g2d.drawPolyline(xpoints, ypoints, npoints);
228 g2d.drawPolygon(xpoints, ypoints, npoints);
230 g2d.draw(new Polygon(xpoints, ypoints, npoints));
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DMap.java374 npoints = coords.length / 2;
375 xpoints = new int[npoints];
376 ypoints = new int[npoints];
378 for (int counter = 0; counter < npoints; counter++) {
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/
H A DfreetypeScaler.c1016 static int allocateSpaceForGP(GPData* gpdata, int npoints, int ncontours) { argument
1023 maxTypes = 2*npoints + 2*ncontours;
1024 maxCoords = 4*(npoints + 2*ncontours); //we may need to insert
/openjdk10/jdk/src/demo/share/applets/GraphicsTest/
H A DGraphicsTest.java387 for (int i = 0; i < pBase.npoints; ++i) {
/openjdk10/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java851 if (p.npoints > 0) {
890 if (p.npoints < 3) {
922 for (int i = 0; i < poly.npoints; i++) {
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DBufferedRenderPipe.java515 drawPolygon(sg2d, p.xpoints, p.ypoints, p.npoints);

Completed in 212 milliseconds