Searched refs:coords (Results 26 - 50 of 53) sorted by relevance

123

/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java713 double coords[] = new double[8];
715 for (int i = 0; i < coords.length; i++) {
718 if (i < coords.length-1) {
729 coords[i] = Double.parseDouble(num);
739 c.cubic.setCurve(coords[0], coords[1],
740 coords[2], coords[3],
741 coords[4], coords[
[all...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
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 DQuadCurve2D.java555 * @param coords the array containing coordinate values
561 public void setCurve(double[] coords, int offset) { argument
562 setCurve(coords[offset + 0], coords[offset + 1],
563 coords[offset + 2], coords[offset + 3],
564 coords[offset + 4], coords[offset + 5]);
660 * @param coords an array containing coordinate values
661 * @param offset the index into <code>coords</cod
667 getFlatnessSq(double coords[], int offset) argument
685 getFlatness(double coords[], int offset) 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/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/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...]
/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,
H A DProcessPath.h98 jfloat* coords, jint maxCoords,
104 jfloat* coords, jint maxCoords,
H A DGraphicsPrimitiveMgr.c145 jfloat *coords, jint maxCoords)
149 xmin = xmax = transX + (jint)(*coords++ + 0.5);
150 ymin = ymax = transY + (jint)(*coords++ + 0.5);
152 jint x = transX + (jint)(*coords++ + 0.5);
153 jint y = transY + (jint)(*coords++ + 0.5);
144 GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, jfloat *coords, jint maxCoords) argument
/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/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java188 final double[] coords = {x, y, x + w, y + h, x + dx, y + dy};
189 sg2d.transform.transform(coords, 0, coords, 0, 3);
190 x = (int) Math.ceil(coords[0] - 0.5);
191 y = (int) Math.ceil(coords[1] - 0.5);
192 w = ((int) Math.ceil(coords[2] - 0.5)) - x;
193 h = ((int) Math.ceil(coords[3] - 0.5)) - y;
194 dx = ((int) Math.ceil(coords[4] - 0.5)) - x;
195 dy = ((int) Math.ceil(coords[5] - 0.5)) - y;
/openjdk7/jdk/src/share/classes/sun/awt/geom/
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;
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp728 jfloat *coords = (jfloat *) env->GetPrimitiveArrayCritical(coordsarray, local
749 mx = x1 = transX + (int) floor(coords[index++]);
750 my = y1 = transY + (int) floor(coords[index++]);
760 x1 = transX + (int) floor(coords[index++]);
761 y1 = transY + (int) floor(coords[index++]);
771 ctrlpts[0].x = transX + (int) floor(coords[index++]);
772 ctrlpts[0].y = transY + (int) floor(coords[index++]);
773 ctrlpts[2].x = transX + (int) floor(coords[index++]);
774 ctrlpts[2].y = transY + (int) floor(coords[index++]);
790 ctrlpts[0].x = transX + (int) floor(coords[inde
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java204 double coords[] = {ux1, uy1, ux2, uy2};
205 sg2d.transform.transform(coords, 0, coords, 0, 2);
206 x1 = coords[0];
207 y1 = coords[1];
208 x2 = coords[2];
209 y2 = coords[3];
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DQuartzSurfaceData.m555 jfloat* coords = (jfloat*)(*env)->GetDirectBufferAddress(env, coordsarray);
558 DoShapeUsingCG(cgRef, types, coords, numtypes, NO, qsdo->graphicsStateInfo.offsetX, qsdo->graphicsStateInfo.offsetY);
949 SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY)
980 mx = (CGFloat)coords[index++] + offsetX;
981 my = (CGFloat)coords[index++] + offsetY;
1005 mx = x1 = (CGFloat)coords[index++] + offsetX;
1006 my = y1 = (CGFloat)coords[index++] + offsetY;
1011 x1 = (CGFloat)coords[index++] + offsetX;
1012 y1 = (CGFloat)coords[index++] + offsetY;
1017 cpx1 = (CGFloat)coords[inde
[all...]
H A DQuartzSurfaceData.h133 SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY);
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DShapeSpanIterator.c415 jfloat coords[6]; local
426 (*env)->GetFloatArrayRegion(env, coordObj, 0, 6, coords);
433 x1 = coords[0]; y1 = coords[1];
437 x1 = coords[0]; y1 = coords[1];
441 x1 = coords[0]; y1 = coords[1];
442 x2 = coords[2]; y2 = coords[
470 jint coords[4]; local
502 jint coords[4]; local
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DLayoutPathImpl.java116 public static LayoutPathImpl getPath(EndType etype, double ... coords) { argument
117 if ((coords.length & 0x1) != 0) {
121 return SegmentPath.get(etype, coords);
907 final double[] coords = new double[2];
909 switch (pi.currentSegment(coords)) {
911 case SEG_MOVETO: moveTo(coords[0], coords[1]); break;
912 case SEG_LINETO: lineTo(coords[0], coords[1]); break;
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c1209 jfloatArray coords; local
1228 coords = (*env)->NewFloatArray(env, gpdata.numCoords);
1230 if (types && coords) {
1234 (*env)->SetFloatArrayRegion(env, coords, 0,
1243 coords,
1344 jfloatArray coords; local
1398 coords = (*env)->NewFloatArray(env, gpdata.numCoords);
1400 if (types && coords) {
1403 (*env)->SetFloatArrayRegion(env, coords, 0,
1412 coords,
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DLog.java266 Pair<JavaFileObject,Integer> coords = new Pair<JavaFileObject,Integer>(file, pos);
267 boolean shouldReport = !recorded.contains(coords);
269 recorded.add(coords);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c582 jfloat *coords; local
622 coords = (jfloat*)
624 if (coords != NULL) {
634 coords, maxCoords,
642 coords, maxCoords,
647 JNU_ThrowArrayIndexOutOfBoundsException(env, "coords array");
652 (*env)->ReleasePrimitiveArrayCritical(env, coordsArray, coords,
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java2126 public int currentSegment(float[] coords) { argument
2133 coords[nc++] = (float) (x + ctrls[i + 0] * w + ctrls[i + 1] * aw);
2134 coords[nc++] = (float) (y + ctrls[i + 2] * h + ctrls[i + 3] * ah);
2137 affine.transform(coords, 0, coords, 0, nc / 2);
2142 public int currentSegment(double[] coords) { argument
2149 coords[nc++] = x + ctrls[i + 0] * w + ctrls[i + 1] * aw;
2150 coords[nc++] = y + ctrls[i + 2] * h + ctrls[i + 3] * ah;
2153 affine.transform(coords, 0, coords,
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DOldHierarchicalLayoutManager.java902 ArrayList<Integer> coords = new ArrayList<Integer>();
911 coords.add(e.getData().getRelativeEnd().x);
919 coords.add(e.getData().getRelativeStart().x);
929 // assert coords.size() > 0;
931 pos = median(coords);
938 //System.out.println("coords=" + coords);

Completed in 84 milliseconds

123