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

1234

/openjdk7/jdk/src/share/classes/java/awt/font/
H A DLayoutPath.java30 import java.awt.geom.Point2D;
38 * Locations are represented as a <code>Point2D</code>, where x is the advance and
52 * @param location a <code>Point2D</code> to hold the returned location.
61 public abstract boolean pointToPath(Point2D point, Point2D location);
69 * @param location a <code>Point2D</code> representing the advance (in x) and
77 * @param point a <code>Point2D</code> to hold the returned point. It can be
82 public abstract void pathToPoint(Point2D location, boolean preceding,
83 Point2D point);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DBufferedImageOp.java29 import java.awt.geom.Point2D;
119 * @param srcPt the <code>Point2D</code> that represents the point in
121 * @param dstPt The <CODE>Point2D</CODE> in which to store the result
123 * @return The <CODE>Point2D</CODE> in the destination image that
126 public Point2D getPoint2D (Point2D srcPt, Point2D dstPt);
H A DRasterOp.java29 import java.awt.geom.Point2D;
94 * @param srcPt the source <code>Point2D</code>
95 * @param dstPt the destination <code>Point2D</code>
98 public Point2D getPoint2D(Point2D srcPt, Point2D dstPt);
/openjdk7/jdk/src/share/classes/java/awt/
H A DLinearGradientPaint.java29 import java.awt.geom.Point2D;
80 * Point2D start = new Point2D.Float(0, 0);
81 * Point2D end = new Point2D.Float(50, 50);
108 private final Point2D start, end;
140 this(new Point2D.Float(startX, startY),
141 new Point2D.Float(endX, endY),
181 this(new Point2D.Float(startX, startY),
182 new Point2D
[all...]
H A DGradientPaint.java28 import java.awt.geom.Point2D;
61 Point2D.Float p1;
62 Point2D.Float p2;
93 p1 = new Point2D.Float(x1, y1);
94 p2 = new Point2D.Float(x2, y2);
110 public GradientPaint(Point2D pt1,
112 Point2D pt2,
119 p1 = new Point2D.Float((float)pt1.getX(), (float)pt1.getY());
120 p2 = new Point2D.Float((float)pt2.getX(), (float)pt2.getY());
171 public GradientPaint(Point2D pt
[all...]
H A DRadialGradientPaint.java29 import java.awt.geom.Point2D;
107 * Point2D center = new Point2D.Float(50, 50);
128 * Point2D center = new Point2D.Float(50, 50);
130 * Point2D focus = new Point2D.Float(40, 40);
155 private final Point2D focus;
158 private final Point2D center;
229 public RadialGradientPaint(Point2D cente
[all...]
H A DShape.java30 import java.awt.geom.Point2D;
147 * {@link #contains(Point2D p) contains(point)} method, then it must
149 * to the {@link #contains(Point2D p) contains(point)} method of the
184 * Tests if a specified {@link Point2D} is inside the boundary
188 * @param p the specified <code>Point2D</code> to be tested
189 * @return <code>true</code> if the specified <code>Point2D</code> is
194 public boolean contains(Point2D p);
H A DLinearGradientPaintContext.java31 import java.awt.geom.Point2D;
83 Point2D start,
84 Point2D end,
H A DGradientPaintContext.java32 import java.awt.geom.Point2D;
92 Point2D p1, Point2D p2, AffineTransform xform,
96 Point2D xvec = new Point2D.Double(1, 0);
97 Point2D yvec = new Point2D.Double(0, 1);
147 Point2D p = p1; p1 = p2; p2 = p;
155 Point2D dp1 = xform.transform(p1, null);
H A DPoint.java28 import java.awt.geom.Point2D;
38 public class Point extends Point2D implements java.io.Serializable {
206 * <code>Point2D</code> are equal if the values of their
209 * @param obj an object to be compared with this <code>Point2D</code>
211 * an instance of <code>Point2D</code> and has
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontStrike.java31 import java.awt.geom.Point2D;
60 Point2D.Float pt,
63 abstract Point2D.Float getGlyphMetrics(int glyphcode);
65 abstract Point2D.Float getCharMetrics(char ch);
H A DPhysicalStrike.java31 import java.awt.geom.Point2D;
73 ConcurrentHashMap<Integer, Point2D.Float> glyphPointMapCache;
113 Point2D.Float getCharMetrics(char ch) {
123 Point2D.Float getGlyphPoint(int glyphCode, int ptNumber) {
124 Point2D.Float gp = null;
130 new ConcurrentHashMap<Integer, Point2D.Float>();
145 protected void adjustPoint(Point2D.Float pt) {
H A DPhysicalFont.java30 import java.awt.geom.Point2D;
77 Point2D.Float getGlyphPoint(long pScalerContext,
79 return new Point2D.Float();
90 Point2D.Float metrics);
H A DNullFontScaler.java29 import java.awt.geom.Point2D;
48 Point2D.Float metrics) {
94 Point2D.Float getGlyphPoint(long pScalerContext,
H A DDelegatingShape.java32 import java.awt.geom.Point2D;
59 public boolean contains(Point2D p) {
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DPoint2D.java31 * The <code>Point2D</code> class defines a point representing a location
42 public abstract class Point2D implements Cloneable { class in inherits:Cloneable
49 public static class Float extends Point2D implements Serializable {
51 * The X coordinate of this <code>Point2D</code>.
58 * The Y coordinate of this <code>Point2D</code>.
65 * Constructs and initializes a <code>Point2D</code> with
73 * Constructs and initializes a <code>Point2D</code> with
77 * constructed <code>Point2D</code>
79 * constructed <code>Point2D</code>
113 * Sets the location of this <code>Point2D</cod
237 protected Point2D() { method in class:Point2D
[all...]
H A DLine2D.java105 * specified <code>Point2D</code> objects.
106 * @param p1 the start <code>Point2D</code> of this line segment
107 * @param p2 the end <code>Point2D</code> of this line segment
110 public Float(Point2D p1, Point2D p2) {
134 public Point2D getP1() {
135 return new Point2D.Float(x1, y1);
158 public Point2D getP2() {
159 return new Point2D.Float(x2, y2);
273 * specified <code>Point2D</cod
[all...]
H A DRectangularShape.java171 * @see #setFrame(Point2D, Dimension2D)
207 * <code>Shape</code> to the specified {@link Point2D} and
211 * @param loc the specified <code>Point2D</code>
216 public void setFrame(Point2D loc, Dimension2D size) {
262 * based on two specified <code>Point2D</code> objects. The framing
266 * @param p1 the start <code>Point2D</code> of the specified diagonal
267 * @param p2 the end <code>Point2D</code> of the specified diagonal
270 public void setFrameFromDiagonal(Point2D p1, Point2D p2) {
295 * specified center <code>Point2D</cod
[all...]
/openjdk7/jdk/src/windows/classes/sun/font/
H A DNativeStrike.java29 import java.awt.geom.Point2D;
63 Point2D.Float pt,
67 Point2D.Float getGlyphMetrics(int glyphCode) {
H A DNativeFont.java31 import java.awt.geom.Point2D;
95 Point2D.Float metrics) {
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrike.java30 import java.awt.geom.Point2D;
76 Point2D.Float pt = new Point2D.Float(1f,1f);
271 void getGlyphImageBounds(int glyphcode, Point2D.Float pt,
275 Point2D.Float getGlyphMetrics(int glyphCode) {
276 Point2D.Float pt = new Point2D.Float(getGlyphAdvance(glyphCode), 0f);
344 Point2D.Float pt, Rectangle result) {
348 Point2D.Float getGlyphMetrics(int glyphCode) {
356 Point2D
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCCursorManager.java32 import java.awt.geom.Point2D;
36 private static native Point2D nativeGetCursorPosition();
63 final Point2D nativePosition = nativeGetCursorPosition();
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/
H A DConcurrentWritingTest.java35 import java.awt.geom.Point2D;
104 Point2D center = new Point2D.Float(0.5f * w, 0.5f * h);
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackend.java103 public int createRadialGradient(Point2D inner, Point2D outer,
108 public int createLinearGradient(Point2D p1, Point2D p2, float[] fractions,
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java45 import java.awt.geom.Point2D;
166 Point2D.Float penSize;
172 penSize = new Point2D.Float(lineWidth, lineWidth);
191 Point2D.Float minPenSize = new Point2D.Float(
346 private int getAngle(Point2D.Double pt) {
468 Point2D.Float userpos = new Point2D.Float(x, y);
469 Point2D.Float devpos = new Point2D
[all...]

Completed in 2015 milliseconds

1234