Searched refs:coords (Results 1 - 25 of 53) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DCubicIterator.java91 public int currentSegment(float[] coords) { argument
97 coords[0] = (float) cubic.getX1();
98 coords[1] = (float) cubic.getY1();
101 coords[0] = (float) cubic.getCtrlX1();
102 coords[1] = (float) cubic.getCtrlY1();
103 coords[2] = (float) cubic.getCtrlX2();
104 coords[3] = (float) cubic.getCtrlY2();
105 coords[4] = (float) cubic.getX2();
106 coords[5] = (float) cubic.getY2();
110 affine.transform(coords,
133 currentSegment(double[] coords) argument
[all...]
H A DQuadIterator.java91 public int currentSegment(float[] coords) { argument
97 coords[0] = (float) quad.getX1();
98 coords[1] = (float) quad.getY1();
101 coords[0] = (float) quad.getCtrlX();
102 coords[1] = (float) quad.getCtrlY();
103 coords[2] = (float) quad.getX2();
104 coords[3] = (float) quad.getY2();
108 affine.transform(coords, 0, coords, 0, index == 0 ? 1 : 2);
131 public int currentSegment(double[] coords) { argument
[all...]
H A DEllipseIterator.java114 public int currentSegment(float[] coords) { argument
123 coords[0] = (float) (x + ctrls[4] * w);
124 coords[1] = (float) (y + ctrls[5] * h);
126 affine.transform(coords, 0, coords, 0, 1);
131 coords[0] = (float) (x + ctrls[0] * w);
132 coords[1] = (float) (y + ctrls[1] * h);
133 coords[2] = (float) (x + ctrls[2] * w);
134 coords[3] = (float) (y + ctrls[3] * h);
135 coords[
161 currentSegment(double[] coords) argument
[all...]
H A DLineIterator.java91 public int currentSegment(float[] coords) { argument
97 coords[0] = (float) line.getX1();
98 coords[1] = (float) line.getY1();
101 coords[0] = (float) line.getX2();
102 coords[1] = (float) line.getY2();
106 affine.transform(coords, 0, coords, 0, 1);
129 public int currentSegment(double[] coords) { argument
135 coords[0] = line.getX1();
136 coords[
[all...]
H A DRectIterator.java97 public int currentSegment(float[] coords) { argument
104 coords[0] = (float) x;
105 coords[1] = (float) y;
107 coords[0] += (float) w;
110 coords[1] += (float) h;
113 affine.transform(coords, 0, coords, 0, 1);
136 public int currentSegment(double[] coords) { argument
143 coords[0] = x;
144 coords[
[all...]
H A DArcIterator.java211 public int currentSegment(float[] coords) { argument
217 coords[0] = (float) (x + Math.cos(angle) * w);
218 coords[1] = (float) (y + Math.sin(angle) * h);
220 affine.transform(coords, 0, coords, 0, 1);
228 coords[0] = (float) x;
229 coords[1] = (float) y;
231 affine.transform(coords, 0, coords, 0, 1);
238 coords[
271 currentSegment(double[] coords) argument
[all...]
H A DPathIterator.java182 * @param coords an array that holds the data returned from
191 public int currentSegment(float[] coords); argument
205 * @param coords an array that holds the data returned from
214 public int currentSegment(double[] coords); argument
H A DPath2D.java477 float coords[] = floatCoords;
478 curx = movx = coords[0];
479 cury = movy = coords[1];
491 movx = curx = coords[ci++];
492 movy = cury = coords[ci++];
498 endx = coords[ci++],
499 endy = coords[ci++]);
507 coords[ci++],
508 coords[ci++],
509 endx = coords[c
923 currentSegment(float[] coords) argument
933 currentSegment(double[] coords) argument
955 currentSegment(float[] coords) argument
965 currentSegment(double[] coords) argument
1648 currentSegment(float[] coords) argument
1659 currentSegment(double[] coords) argument
1680 currentSegment(float[] coords) argument
1690 currentSegment(double[] coords) argument
[all...]
H A DRoundRectIterator.java140 public int currentSegment(float[] coords) { argument
147 coords[nc++] = (float) (x + ctrls[i + 0] * w + ctrls[i + 1] * aw);
148 coords[nc++] = (float) (y + ctrls[i + 2] * h + ctrls[i + 3] * ah);
151 affine.transform(coords, 0, coords, 0, nc / 2);
174 public int currentSegment(double[] coords) { argument
181 coords[nc++] = (x + ctrls[i + 0] * w + ctrls[i + 1] * aw);
182 coords[nc++] = (y + ctrls[i + 2] * h + ctrls[i + 3] * ah);
185 affine.transform(coords, 0, coords,
[all...]
H A DArea.java133 // coords array is big enough for holding:
147 double coords[] = new double[23];
152 switch (pi.currentSegment(coords)) {
155 curx = movx = coords[0];
156 cury = movy = coords[1];
160 newx = coords[0];
161 newy = coords[1];
167 newx = coords[2];
168 newy = coords[3];
169 Curve.insertQuad(curves, curx, cury, coords);
705 currentSegment(float coords[]) argument
718 currentSegment(double coords[]) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.c566 jfloat *coords,
570 jint x0 = (jint)(coords[0]*MDP_MULT);
571 jint y0 = (jint)(coords[1]*MDP_MULT);
573 jint xe = (jint)(coords[4]*MDP_MULT);
574 jint ye = (jint)(coords[5]*MDP_MULT);
586 jint ax = (jint)((coords[0] - 2*coords[2] +
587 coords[4])*QUAD_A_MDP_MULT);
588 jint ay = (jint)((coords[1] - 2*coords[
565 DrawMonotonicQuad(ProcessHandler* hnd, jfloat *coords, jboolean checkBounds, jint* pixelInfo) argument
676 ProcessMonotonicQuad(ProcessHandler* hnd, jfloat *coords, jint* pixelInfo) argument
758 ProcessFirstMonotonicPartOfQuad(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo, jfloat t) argument
780 ProcessQuad(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo) argument
993 DrawMonotonicCubic(ProcessHandler* hnd, jfloat *coords, jboolean checkBounds, jint* pixelInfo) argument
1159 ProcessMonotonicCubic(ProcessHandler* hnd, jfloat *coords, jint* pixelInfo) argument
1253 ProcessFirstMonotonicPartOfCubic(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo, jfloat t) argument
1284 ProcessCubic(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo) argument
1460 ProcessPath(ProcessHandler* hnd, jfloat transXf, jfloat transYf, jfloat* coords, jint maxCoords, jbyte* types, jint numTypes) argument
2180 doFillPath(DrawHandler* dhnd, jint transX, jint transY, jfloat* coords, jint maxCoords, jbyte* types, jint numTypes, PHStroke stroke, jint fillRule) argument
2220 doDrawPath(DrawHandler* dhnd, void (*pProcessEndSubPath)(ProcessHandler*), jint transX, jint transY, jfloat* coords, jint maxCoords, jbyte* types, jint numTypes, PHStroke stroke) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java669 float[] coords,
673 int x0 = (int)(coords[0]*MDP_MULT);
674 int y0 = (int)(coords[1]*MDP_MULT);
676 int xe = (int)(coords[4]*MDP_MULT);
677 int ye = (int)(coords[5]*MDP_MULT);
689 int ax = (int)((coords[0] - 2*coords[2] +
690 coords[4])*QUAD_A_MDP_MULT);
691 int ay = (int)((coords[1] - 2*coords[
668 DrawMonotonicQuad(ProcessHandler hnd, float[] coords, boolean checkBounds, int[] pixelInfo) argument
778 ProcessMonotonicQuad(ProcessHandler hnd, float[] coords, int[] pixelInfo) argument
858 ProcessQuad(ProcessHandler hnd, float[] coords, int[] pixelInfo) argument
965 ProcessFirstMonotonicPartOfQuad(ProcessHandler hnd, float[] coords, int[] pixelInfo, float t) argument
988 DrawMonotonicCubic(ProcessHandler hnd, float[] coords, boolean checkBounds, int[] pixelInfo) argument
1136 ProcessMonotonicCubic(ProcessHandler hnd, float[] coords, int[] pixelInfo) argument
1225 ProcessCubic(ProcessHandler hnd, float[] coords, int[] pixelInfo) argument
1328 ProcessFirstMonotonicPartOfCubic(ProcessHandler hnd, float[] coords, int[] pixelInfo, float t) argument
[all...]
/openjdk7/jdk/test/sun/java2d/pisces/
H A DTest7036754.java45 float coords[] = new float[6];
48 int type = pi.currentSegment(coords);
50 float c = coords[i];
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DMap.java265 int[] coords = Map.extractCoords(as.getAttribute(HTML.
269 if (coords == null || coords.length != 4) {
273 x0 = coords[0];
274 y0 = coords[1];
275 x1 = coords[2];
276 y1 = coords[3];
281 if (coords[counter] < 0) {
283 (coords[counter]) / 100.0f;
338 int[] coords
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCrossings.java108 // coords array is big enough for holding:
122 double coords[] = new double[23];
129 int type = pi.currentSegment(coords);
137 movx = curx = coords[0];
138 movy = cury = coords[1];
141 newx = coords[0];
142 newy = coords[1];
150 newx = coords[2];
151 newy = coords[3];
152 if (cross.accumulateQuad(curx, cury, coords)) {
242 accumulateQuad(double x0, double y0, double coords[]) argument
272 accumulateCubic(double x0, double y0, double coords[]) argument
[all...]
H A DOrder2.java133 * Split the quadratic Bezier stored at coords[pos...pos+5] representing
136 * into the array at coords[pos...pos+5] and coords[pos+4...pos+9].
138 public static void split(double coords[], int pos, double t) { argument
140 coords[pos+8] = x1 = coords[pos+4];
141 coords[pos+9] = y1 = coords[pos+5];
142 cx = coords[pos+2];
143 cy = coords[po
437 getSegment(double coords[]) argument
[all...]
H A DOrder3.java189 * Split the cubic Bezier stored at coords[pos...pos+7] representing
192 * into the array at coords[pos...pos+7] and coords[pos+6...pos+13].
194 public static void split(double coords[], int pos, double t) { argument
196 coords[pos+12] = x1 = coords[pos+6];
197 coords[pos+13] = y1 = coords[pos+7];
198 cx1 = coords[pos+4];
199 cy1 = coords[po
611 getSegment(double coords[]) argument
[all...]
H A DCurve.java64 double coords[])
66 double y1 = coords[3];
68 Order2.insert(curves, coords,
69 coords[2], y1,
70 coords[0], coords[1],
73 } else if (y0 == y1 && y0 == coords[1]) {
77 Order2.insert(curves, coords,
79 coords[0], coords[
62 insertQuad(Vector curves, double x0, double y0, double coords[]) argument
85 insertCubic(Vector curves, double x0, double y0, double coords[]) argument
1205 getSegment(double coords[]) argument
[all...]
H A DOrder0.java137 public int getSegment(double coords[]) { argument
138 coords[0] = x;
139 coords[1] = y;
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/
H A DJulesPathBuf.java146 double[] coords = new double[6];
151 int curOp = pi.currentSegment(coords);
159 points.setX(pointIndex, DoubleToCairoFixed(coords[0]));
160 points.setY(pointIndex, DoubleToCairoFixed(coords[1]));
161 currX = coords[0];
162 currY = coords[1];
168 points.setX(pointIndex, DoubleToCairoFixed(coords[0]));
169 points.setY(pointIndex, DoubleToCairoFixed(coords[1]));
170 currX = coords[0];
171 currY = coords[
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderingEngine.java363 float coords[] = new float[6];
365 switch (pi.currentSegment(coords)) {
367 consumer.moveTo(coords[0], coords[1]);
370 consumer.lineTo(coords[0], coords[1]);
373 consumer.quadTo(coords[0], coords[1],
374 coords[2], coords[
[all...]
H A DShapeSpanIterator.java85 float coords[] = new float[6];
89 addSegment(pi.currentSegment(coords), coords);
146 public native void addSegment(int type, float coords[]); argument
H A DDrawImage.java177 double coords[] = new double[] {
180 extraAT.transform(coords, 0, coords, 0, 2);
181 coords[0] += x;
182 coords[1] += y;
183 coords[2] += x;
184 coords[3] += y;
185 sg.transform.transform(coords, 0, coords, 0, 2);
188 null, interpType, coords))
274 tryCopyOrScale(SunGraphics2D sg, Image img, int sx1, int sy1, int sx2, int sy2, Color bgColor, int interpType, double coords[]) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageScanPoly.c65 mlib_d64 coords[4][2]; local
203 coords[0][0] = xClip * a + yClip * b + tx;
204 coords[0][1] = xClip * c + yClip * d + ty;
206 coords[2][0] = wClip * a + hClip * b + tx;
207 coords[2][1] = wClip * c + hClip * d + ty;
210 coords[1][0] = wClip * a + yClip * b + tx;
211 coords[1][1] = wClip * c + yClip * d + ty;
213 coords[3][0] = xClip * a + hClip * b + tx;
214 coords[3][1] = xClip * c + hClip * d + ty;
217 coords[
[all...]
/openjdk7/hotspot/test/compiler/7047069/
H A DTest7047069.java46 float hold[] = new float[14]; // The cache of interpolated coords
50 // aliasing when copying the coords
111 public static double getFlatnessSq(float coords[], int offset) { argument
112 return Line2D.ptSegDistSq(coords[offset + 0], coords[offset + 1],
113 coords[offset + 4], coords[offset + 5],
114 coords[offset + 2], coords[offset + 3]);

Completed in 206 milliseconds

123