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

/openjdk7/jdk/test/sun/java2d/pisces/Renderer/
H A DTestNPE.java47 g2d.draw(new Line2D.Float(131.21428571428572f, 33.0f,
/openjdk7/jdk/src/share/classes/sun/font/
H A DUnderline.java38 import java.awt.geom.Line2D;
176 g2d.draw(new Line2D.Float(x1, y + shift, x2, y + shift));
191 Line2D line = new Line2D.Float(x1, y + shift, x2, y + shift);
219 Line2D.Float drawLine = new Line2D.Float(x1, y, x2, y);
243 Line2D.Float line = new Line2D.Float(x1, y, x2, y);
H A DDecoration.java46 import java.awt.geom.Line2D;
274 g2d.draw(new Line2D.Float(x1, strikeY, x2, strikeY));
401 Line2D line = new Line2D.Float(x1, shiftY, x2, shiftY);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DLineIterator.java37 Line2D line;
41 LineIterator(Line2D l, AffineTransform at) {
H A DLine2D.java33 * This <code>Line2D</code> represents a line segment in {@code (x,y)}
49 public abstract class Line2D implements Shape, Cloneable { class in inherits:Shape,Cloneable
55 public static class Float extends Line2D implements Serializable {
104 * Constructs and initializes a <code>Line2D</code> from the
174 * Sets the location of the end points of this <code>Line2D</code>
222 public static class Double extends Line2D implements Serializable {
259 * Constructs and initializes a <code>Line2D</code> from the
272 * Constructs and initializes a <code>Line2D</code> from the
377 * @see java.awt.geom.Line2D.Float
378 * @see java.awt.geom.Line2D
381 protected Line2D() { method in class:Line2D
[all...]
H A DQuadCurve2D.java631 return Line2D.ptSegDistSq(x1, y1, x2, y2, ctrlx, ctrly);
652 return Line2D.ptSegDist(x1, y1, x2, y2, ctrlx, ctrly);
668 return Line2D.ptSegDistSq(coords[offset + 0], coords[offset + 1],
686 return Line2D.ptSegDist(coords[offset + 0], coords[offset + 1],
700 return Line2D.ptSegDistSq(getX1(), getY1(),
713 return Line2D.ptSegDist(getX1(), getY1(),
H A DArc2D.java1228 boolean inside = (Line2D.relativeCCW(x1, y1, x2, y2, 2*normx, 2*normy) *
1229 Line2D.relativeCCW(x1, y1, x2, y2, 0, 0) >= 0);
H A DRectangle2D.java586 * @param l the specified {@link Line2D} to test for intersection
588 * @return <code>true</code> if the specified <code>Line2D</code>
593 public boolean intersectsLine(Line2D l) {
H A DCubicCurve2D.java812 return Math.max(Line2D.ptSegDistSq(x1, y1, x2, y2, ctrlx1, ctrly1),
813 Line2D.ptSegDistSq(x1, y1, x2, y2, ctrlx2, ctrly2));
/openjdk7/jdk/test/java/awt/Paint/
H A DPgramUserBoundsTest.java39 import java.awt.geom.Line2D;
95 g2d.draw(new Line2D.Double(x1, y1, x2, y2));
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToShapeConverter.java32 import java.awt.geom.Line2D;
52 outpipe.draw(sg, new Line2D.Float(x1, y1, x2, y2));
H A DPixelToParallelogramConverter.java30 import java.awt.geom.Line2D;
137 } else if (s instanceof Line2D) {
138 Line2D l2d = (Line2D) s;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DMultiConnectionWidget.java37 import java.awt.geom.Line2D;
183 double dist = Line2D.ptSegDistSq((double) r.from.x, (double) r.from.y, (double) r.to.x, (double) r.to.y, (double) localLocation.x, (double) localLocation.y);
202 double dist = Line2D.ptSegDistSq((double) r.from.x, (double) r.from.y, (double) r.to.x, (double) r.to.y, (double) localLocation.x, (double) localLocation.y);
H A DLineWidget.java36 import java.awt.geom.Line2D;
220 return Line2D.ptLineDistSq(from.x, from.y, to.x, to.y, localPoint.x, localPoint.y) <= BORDER * BORDER;
/openjdk7/jdk/src/share/demo/management/MemoryMonitor/
H A DMemoryMonitor.java47 import java.awt.geom.Line2D;
131 private Line2D graphLine = new Line2D.Float();
/openjdk7/hotspot/test/compiler/7047069/
H A DTest7047069.java112 return Line2D.ptSegDistSq(coords[offset + 0], coords[offset + 1],
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DCRenderer.java52 Line2D lineToShape;
62 lineToShape = new Line2D.Float();
331 } else if (s instanceof Line2D) {
332 Line2D line = (Line2D) s;
H A DCompositeCRenderer.java46 Line2D line = new Line2D.Float();
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DPolyVertTest.java188 g2d.draw(new Line2D.Double(20, 10, 20, 10));
196 g2d.draw(new Line2D.Double(20, 30, 20, 30));
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSPathGraphics.java44 import java.awt.geom.Line2D;
760 draw(new Line2D.Float(xBegin, yBegin, xEnd, yEnd));
H A DPeekGraphics.java52 import java.awt.geom.Line2D;
514 addStrokeShape(new Line2D.Float(x1, y1, x2, y2));
H A DPathGraphics.java56 import java.awt.geom.Line2D;
471 draw(new Line2D.Float(fromX, fromY, toX, toY));
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java47 import java.awt.geom.Line2D;
1587 draw(new Line2D.Float(xBegin, yBegin, xEnd, yEnd));
1652 draw(new Line2D.Float(xBegin, yBegin, xEnd, yEnd));
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java148 System.err.println(" -line Test Line2D shapes");
1217 private Line2D line = new Line2D.Double();
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLine.java64 import java.awt.geom.Line2D;

Completed in 126 milliseconds