Searched refs:nPoints (Results 1 - 25 of 32) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToShapeConverter.java102 int nPoints, boolean close) {
104 if (nPoints > 0) {
106 for (int i = 1; i < nPoints; i++) {
118 int nPoints) {
119 outpipe.draw(sg, makePoly(xPoints, yPoints, nPoints, false));
124 int nPoints) {
125 outpipe.draw(sg, makePoly(xPoints, yPoints, nPoints, true));
130 int nPoints) {
131 outpipe.fill(sg, makePoly(xPoints, yPoints, nPoints, true));
101 makePoly(int xPoints[], int yPoints[], int nPoints, boolean close) argument
116 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
122 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
128 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
H A DPixelDrawPipe.java62 int nPoints);
66 int nPoints);
60 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
64 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
H A DPixelFillPipe.java60 int nPoints);
58 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
H A DBufferedRenderPipe.java187 final int nPoints, final boolean isClosed)
192 if (xPoints.length < nPoints || yPoints.length < nPoints) {
196 if (nPoints < 2) {
199 } else if (nPoints == 2 && !isClosed) {
209 int pointBytesRequired = nPoints * BYTES_PER_POLY_POINT;
219 buf.putInt(nPoints);
224 buf.put(xPoints, 0, nPoints);
225 buf.put(yPoints, 0, nPoints);
232 nPoints, isClose
185 drawPoly(final SunGraphics2D sg2d, final int[] xPoints, final int[] yPoints, final int nPoints, final boolean isClosed) argument
242 drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY) argument
246 drawPolyline(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument
253 drawPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument
260 fillPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) argument
[all...]
H A DValidatePipe.java130 int nPoints) {
132 sg.drawpipe.drawPolyline(sg, xPoints, yPoints, nPoints);
138 int nPoints) {
140 sg.drawpipe.drawPolygon(sg, xPoints, yPoints, nPoints);
146 int nPoints) {
148 sg.fillpipe.fillPolygon(sg, xPoints, yPoints, nPoints);
128 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
136 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
144 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
H A DNullPipe.java91 int nPoints) {
96 int nPoints) {
101 int nPoints) {
89 drawPolyline(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
94 drawPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
99 fillPolygon(SunGraphics2D sg, int xPoints[], int yPoints[], int nPoints) argument
H A DLoopPipe.java102 int nPoints)
104 int nPointsArray[] = { nPoints };
114 int nPoints)
116 int nPointsArray[] = { nPoints };
159 int nPoints)
165 sr.appendPoly(xPoints, yPoints, nPoints, sg2d.transX, sg2d.transY);
100 drawPolyline(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument
112 drawPolygon(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument
157 fillPolygon(SunGraphics2D sg2d, int xPoints[], int yPoints[], int nPoints) argument
H A DShapeSpanIterator.java98 public native void appendPoly(int xPoints[], int yPoints[], int nPoints, argument
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawPolygons.java77 int nPoints[], int numPolys,
110 int nPoints[], int numPolys,
116 xPoints, yPoints, nPoints, numPolys,
75 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transX, int transY, boolean close) argument
108 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transX, int transY, boolean close) argument
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgmt.c122 cmsUInt32Number nPoints,
140 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number));
143 for (i=0; i < nPoints; i++) {
148 cmyk[3] = (cmsFloat32Number) ((i * 100.0) / (nPoints-1));
154 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints);
169 cmsUInt32Number nPoints,
189 in = ComputeKToLstar(ContextID, nPoints, nProfiles - 1, Intents, hProfiles, BPC, AdaptationStates, dwFlags);
192 out = ComputeKToLstar(ContextID, nPoints, 1,
205 KTone = cmsJoinToneCurve(ContextID, in, out, nPoints);
121 ComputeKToLstar(cmsContext ContextID, cmsUInt32Number nPoints, cmsUInt32Number nProfiles, const cmsUInt32Number Intents[], const cmsHPROFILE hProfiles[], const cmsBool BPC[], const cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
168 _cmsBuildKToneCurve(cmsContext ContextID, cmsUInt32Number nPoints, cmsUInt32Number nProfiles, const cmsUInt32Number Intents[], const cmsHPROFILE hProfiles[], const cmsBool BPC[], const cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags) argument
/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBumps/
H A DTest6657026.java187 public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) { argument
191 public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) { argument
195 public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) { argument
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics.java648 * @param nPoints the total number of points
653 int nPoints) {
654 g.drawPolyline(xPoints, yPoints, nPoints);
667 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
672 * @param nPoints a the total number of points.
677 int nPoints) {
678 g.drawPolygon(xPoints, yPoints, nPoints);
701 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
709 * @param nPoints a the total number of points.
713 int nPoints) {
652 drawPolyline(int xPoints[], int yPoints[], int nPoints) argument
676 drawPolygon(int xPoints[], int yPoints[], int nPoints) argument
712 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
[all...]
H A DPeekGraphics.java746 * @param nPoints the total number of points
751 int nPoints) {
752 if (nPoints > 0) {
756 for (int i = 1; i < nPoints; i++) {
775 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
780 * @param nPoints a the total number of points.
786 int nPoints) {
787 if (nPoints > 0) {
788 drawPolyline(xPoints, yPoints, nPoints);
789 drawLine(xPoints[nPoints
750 drawPolyline(int xPoints[], int yPoints[], int nPoints) argument
785 drawPolygon(int xPoints[], int yPoints[], int nPoints) argument
816 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
[all...]
H A DProxyGraphics2D.java661 * @param nPoints the total number of points
666 int nPoints) {
667 mGraphics.drawPolyline(xPoints, yPoints, nPoints);
680 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
685 * @param nPoints a the total number of points.
691 int nPoints) {
692 mGraphics.drawPolygon(xPoints, yPoints, nPoints);
704 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
712 * @param nPoints a the total number of points.
717 int nPoints) {
665 drawPolyline(int xPoints[], int yPoints[], int nPoints) argument
690 drawPolygon(int xPoints[], int yPoints[], int nPoints) argument
716 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
[all...]
H A DPathGraphics.java454 * @param nPoints the total number of points
459 int nPoints) {
465 if (nPoints > 0) {
468 for(int i = 1; i < nPoints; i++) {
490 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
495 * @param nPoints a the total number of points.
500 int nPoints) {
502 draw(new Polygon(xPoints, yPoints, nPoints));
525 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
533 * @param nPoints
458 drawPolyline(int xPoints[], int yPoints[], int nPoints) argument
499 drawPolygon(int xPoints[], int yPoints[], int nPoints) argument
536 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLRenderer.c170 jint nPoints, jint isClosed,
189 // with nPoints<2, so we can be certain here that we have nPoints>=2.
195 for (i = 0; i < nPoints; i++) {
207 (xPoints[nPoints-1] != mx ||
208 yPoints[nPoints-1] != my))
225 mx = xPoints[nPoints-1] + transX;
226 my = yPoints[nPoints-1] + transY;
239 jint nPoints, jboolean isClosed,
255 nPoints, isClose
169 OGLRenderer_DrawPoly(OGLContext *oglc, jint nPoints, jint isClosed, jint transX, jint transY, jint *xPoints, jint *yPoints) argument
236 Java_sun_java2d_opengl_OGLRenderer_drawPoly(JNIEnv *env, jobject oglr, jintArray xpointsArray, jintArray ypointsArray, jint nPoints, jboolean isClosed, jint transX, jint transY) argument
[all...]
H A DOGLRenderer.h44 jint nPoints, jint isClosed,
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DRenderer.cpp71 jint nPoints, jboolean isClosed,
84 return d3dc->pVCacher->DrawPoly(nPoints, isClosed, transX, transY,
361 jint nPoints, jboolean isClosed,
375 nPoints, isClosed,
70 D3DRenderer_DrawPoly(D3DContext *d3dc, jint nPoints, jboolean isClosed, jint transX, jint transY, jint *xPoints, jint *yPoints) argument
358 Java_sun_java2d_d3d_D3DRenderer_drawPoly(JNIEnv *env, jobject d3dr, jintArray xpointsArray, jintArray ypointsArray, jint nPoints, jboolean isClosed, jint transX, jint transY) argument
H A DD3DRenderer.h50 jint nPoints, jboolean isClosed,
H A DD3DVertexCacher.h61 HRESULT DrawPoly(jint nPoints, jboolean isClosed,
H A DD3DVertexCacher.cpp306 D3DVertexCacher::DrawPoly(jint nPoints, jboolean isClosed, argument
315 if (nPoints == 0) {
320 xPoints[nPoints - 1] == xPoints[0] &&
321 yPoints[nPoints - 1] == yPoints[0])
328 UINT reqVerts = nPoints * 1;
361 mx = xPoints[nPoints-1] + transX +SP_FF4;
362 my = yPoints[nPoints-1] + transY +SP_FF4;
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphics.java695 * @param nPoints the total number of points
700 int nPoints);
712 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
717 * @param nPoints a the total number of points.
722 int nPoints);
744 * 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
752 * @param nPoints a the total number of points.
756 int nPoints);
699 drawPolyline(int xPoints[], int yPoints[], int nPoints) argument
721 drawPolygon(int xPoints[], int yPoints[], int nPoints) argument
755 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DRenderer.java104 int nPoints, boolean isClosed,
164 int nPoints, boolean isClosed)
167 d3dr.drawPoly(sg2d, xPoints, yPoints, nPoints, isClosed);
103 drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY) argument
162 drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed) argument
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLRenderer.java104 int nPoints, boolean isClosed,
163 int nPoints, boolean isClosed)
166 oglr.drawPoly(sg2d, xPoints, yPoints, nPoints, isClosed);
103 drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY) argument
161 drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDebugGraphics.java753 public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { argument
759 " nPoints: " + nPoints +
767 debugGraphics.drawPolyline(xPoints, yPoints, nPoints);
776 graphics.drawPolyline(xPoints, yPoints, nPoints);
782 graphics.drawPolyline(xPoints, yPoints, nPoints);
788 public void drawPolygon(int xPoints[], int yPoints[], int nPoints) { argument
794 " nPoints: " + nPoints +
802 debugGraphics.drawPolygon(xPoints, yPoints, nPoints);
823 fillPolygon(int xPoints[], int yPoints[], int nPoints) argument
[all...]

Completed in 93 milliseconds

12