Searched defs:npoints (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DPolygon.java61 * The total number of points. The value of <code>npoints</code>
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</code> is equal to the
136 * @param npoints the total number of points in the
139 * <code>npoints</code> is negative.
140 * @exception IndexOutOfBoundsException if <code>npoints</code> is
147 public Polygon(int xpoints[], int ypoints[], int npoints) { argument
149 // of OutofMemoryException if npoints i
229 calculateBounds(int xpoints[], int ypoints[], int npoints) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRRenderer.java95 int xpoints[], int ypoints[], int npoints) {
97 if (npoints > 1) {
99 for (int i = 1; i < npoints; i++) {
108 int xpoints[], int ypoints[], int npoints) {
109 draw(sg2d, new Polygon(xpoints, ypoints, npoints));
132 int xpoints[], int ypoints[], int npoints) {
133 fill(sg2d, new Polygon(xpoints, ypoints, npoints));
94 drawPolyline(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
107 drawPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
131 fillPolygon(SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints) argument
/openjdk7/jdk/src/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.java952 public void doPolygon(CRenderer renderer, SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) { argument
960 for (int i = 1; i < npoints; i++) {
979 renderer.doPoly(this, xpoints, ypoints, npoints, ispolygon, isfill);
/openjdk7/jdk/src/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...]
/openjdk7/jdk/src/solaris/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...]
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp65 int npoints = *pNpoints; local
66 int outpoints = npoints;
81 BOOL isclosed = (xpoints[npoints-1] == mx && ypoints[npoints-1] == my);
90 for (int i = 0; i < npoints; i++) {
98 pPoints[npoints] = pPoints[0];
106 pPoints[npoints] = pPoints[npoints-1];
107 pPoints[npoints].x++;
359 jint npoints, jboolea
353 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
621 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...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c59 jint npoints; member in struct:__anon1032
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
865 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...]
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c1055 static int allocateSpaceForGP(GPData* gpdata, int npoints, int ncontours) { argument
1062 maxTypes = 2*npoints + 2*ncontours;
1063 maxCoords = 4*(npoints + 2*ncontours); //we may need to insert

Completed in 368 milliseconds