Searched defs:coords (Results 1 - 25 of 38) sorted by relevance

12

/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 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 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 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 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 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 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 DFlatteningPathIterator.java48 double hold[] = new double[14]; // The cache of interpolated coords
52 // aliasing when copying the coords
336 * @param coords an array that holds the data returned from
346 public int currentSegment(float[] coords) { argument
352 coords[0] = (float) hold[holdIndex + 0];
353 coords[1] = (float) hold[holdIndex + 1];
371 * @param coords an array that holds the data returned from
381 public int currentSegment(double[] coords) { argument
387 coords[0] = hold[holdIndex + 0];
388 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...]
H A DCubicCurve2D.java724 * @param coords a double array containing coordinates
725 * @param offset the index of <code>coords</code> from which to begin
727 * to the coordinates contained in <code>coords</code>
730 public void setCurve(double[] coords, int offset) { argument
731 setCurve(coords[offset + 0], coords[offset + 1],
732 coords[offset + 2], coords[offset + 3],
733 coords[offset + 4], coords[offse
863 getFlatnessSq(double coords[], int offset) argument
883 getFlatness(double coords[], int offset) argument
[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]);
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder0.java137 public int getSegment(double coords[]) { argument
138 coords[0] = x;
139 coords[1] = y;
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 DOrder1.java302 public int getSegment(double coords[]) { argument
304 coords[0] = x1;
305 coords[1] = y1;
307 coords[0] = x0;
308 coords[1] = y0;
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...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLAreaElement.java67 * coords attribute definition in HTML 4.0.
70 public void setCoords(String coords); argument
88 * <code>coords</code> . See the shape attribute definition in HTML 4.0.
H A DHTMLAnchorElement.java66 * coords attribute definition in HTML 4.0.
69 public void setCoords(String coords); argument
105 * <code>coords</code> . See the shape attribute definition in HTML 4.0.
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DDrawPath.c72 jfloat *coords; local
113 coords = (jfloat*)(*env)->GetPrimitiveArrayCritical(
118 coords, maxCoords);
161 coords, maxCoords, types, numTypes,
166 "coords array");
175 (*env)->ReleasePrimitiveArrayCritical(env, coordsArray, coords,
H A DFillPath.c61 jfloat *coords; local
103 coords = (jfloat*)(*env)->GetPrimitiveArrayCritical(
108 coords, maxCoords);
150 transX, transY, coords,
157 "coords array");
166 (*env)->ReleasePrimitiveArrayCritical(env, coordsArray, coords,
/openjdk7/jdk/src/share/classes/java/awt/
H A DPolygon.java626 * @param coords a <code>float</code> array that specifies the
634 public int currentSegment(float[] coords) { argument
638 coords[0] = poly.xpoints[index];
639 coords[1] = poly.ypoints[index];
641 transform.transform(coords, 0, coords, 0, 1);
657 * @param coords a <code>double</code> array that specifies the
665 public int currentSegment(double[] coords) { argument
669 coords[0] = poly.xpoints[index];
670 coords[
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
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...]
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
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesRenderingEngine.java402 public int currentSegment(float[] coords) { argument
403 int type = src.currentSegment(coords);
427 float x_adjust = (float)Math.floor(coords[lastCoord] + lval) +
428 rval - coords[lastCoord];
429 float y_adjust = (float)Math.floor(coords[lastCoord+1] + lval) +
430 rval - coords[lastCoord + 1];
432 coords[lastCoord ] += x_adjust;
433 coords[lastCoord + 1] += y_adjust;
438 coords[0] += curx_adjust;
439 coords[
461 currentSegment(double[] coords) argument
[all...]

Completed in 628 milliseconds

12