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

12345678910

/openjdk7/jdk/src/share/classes/java/awt/font/
H A DGlyphMetrics.java65 * components of the advance, the visual bounds, and the left and right
79 * The bounds is the smallest rectangle that completely contains the
80 * outline of the glyph. The bounds rectangle is relative to the
82 * origin to the left of its bounds rectangle. If the left-side bearing is
84 * right-side bearing is the distance from the right side of the bounds
87 * origin. Note that the bounds does not necessarily enclose all the pixels
126 * The bounds of the associated glyph.
128 private Rectangle2D.Float bounds; field in class:GlyphMetrics
176 * @param bounds the black box bounds o
179 GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType) argument
198 GlyphMetrics(boolean horizontal, float advanceX, float advanceY, Rectangle2D bounds, byte glyphType) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DTypeVariable.java33 * A type variable may have explicit bounds, as in
42 * Return the bounds of this type variable.
44 * Return an empty array if there are no explicit bounds.
46 * @return the bounds of this type variable.
48 Type[] bounds(); method in interface:TypeVariable
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DDrawRect.c77 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
78 if (rasInfo.bounds.x1 < lox) rasInfo.bounds.x1 = lox;
79 if (rasInfo.bounds.y1 < loy) rasInfo.bounds.y1 = loy;
80 if (rasInfo.bounds.x2 > hix) rasInfo.bounds.x2 = hix;
81 if (rasInfo.bounds.y2 > hiy) rasInfo.bounds.y2 = hiy;
86 if (rasInfo.bounds
[all...]
H A DFillRect.c64 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
65 SurfaceData_IntersectBoundsXYWH(&rasInfo.bounds, x, y, w, h);
66 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
67 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
76 if (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
77 rasInfo.bounds.y2 > rasInfo.bounds
[all...]
H A DBlit.c68 srcInfo.bounds.x1 = srcx;
69 srcInfo.bounds.y1 = srcy;
70 srcInfo.bounds.x2 = srcx + width;
71 srcInfo.bounds.y2 = srcy + height;
72 dstInfo.bounds.x1 = dstx;
73 dstInfo.bounds.y1 = dsty;
74 dstInfo.bounds.x2 = dstx + width;
75 dstInfo.bounds.y2 = dsty + height;
78 SurfaceData_IntersectBounds(&dstInfo.bounds, &clipInfo.bounds);
[all...]
H A DBlitBg.c68 srcInfo.bounds.x1 = srcx;
69 srcInfo.bounds.y1 = srcy;
70 srcInfo.bounds.x2 = srcx + width;
71 srcInfo.bounds.y2 = srcy + height;
72 dstInfo.bounds.x1 = dstx;
73 dstInfo.bounds.y1 = dsty;
74 dstInfo.bounds.x2 = dstx + width;
75 dstInfo.bounds.y2 = dsty + height;
78 SurfaceData_IntersectBounds(&dstInfo.bounds, &clipInfo.bounds);
[all...]
H A DMaskBlit.c68 srcInfo.bounds.x1 = srcx;
69 srcInfo.bounds.y1 = srcy;
70 srcInfo.bounds.x2 = srcx + width;
71 srcInfo.bounds.y2 = srcy + height;
72 dstInfo.bounds.x1 = dstx;
73 dstInfo.bounds.y1 = dsty;
74 dstInfo.bounds.x2 = dstx + width;
75 dstInfo.bounds.y2 = dsty + height;
78 SurfaceData_IntersectBounds(&dstInfo.bounds, &clipInfo.bounds);
[all...]
H A DFillSpans.c73 rasInfo.bounds.x1 = bbox[0];
74 rasInfo.bounds.y1 = bbox[1];
75 rasInfo.bounds.x2 = bbox[2];
76 rasInfo.bounds.y2 = bbox[3];
84 rasInfo.bounds.x1,
85 rasInfo.bounds.y1,
86 rasInfo.bounds.x2,
87 rasInfo.bounds.y2);
H A DDrawPolygons.c34 RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, argument
51 if (bounds->x1 < xmin) bounds->x1 = xmin;
52 if (bounds->y1 < ymin) bounds->y1 = ymin;
53 if (bounds->x2 > xmax) bounds->x2 = xmax;
54 if (bounds->y2 > ymax) bounds->y2 = ymax;
56 bounds
[all...]
H A DDrawPath.c105 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
117 GrPrim_RefineBounds(&rasInfo.bounds, transX, transY,
119 ok = (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
120 rasInfo.bounds.y2 > rasInfo.bounds.y1);
126 if (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
127 rasInfo.bounds.y2 > rasInfo.bounds
[all...]
H A DFillPath.c95 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
107 GrPrim_RefineBounds(&rasInfo.bounds, transX, transY,
109 ok = (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
110 rasInfo.bounds.y2 > rasInfo.bounds.y1);
116 if (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
117 rasInfo.bounds.y2 > rasInfo.bounds
[all...]
H A DLineUtils.h61 if (Y1 >= (pRasInfo)->bounds.y1 && Y1 < (pRasInfo)->bounds.y2) { \
64 if (tx1 < (pRasInfo)->bounds.x1) tx1 = (pRasInfo)->bounds.x1; \
65 if (tx2 > (pRasInfo)->bounds.x2) tx2 = (pRasInfo)->bounds.x2; \
73 if (X1 >= (pRasInfo)->bounds.x1 && X1 < (pRasInfo)->bounds.x2) { \
76 if (ty1 < (pRasInfo)->bounds.y1) ty1 = (pRasInfo)->bounds
[all...]
H A DScaledBlit.c81 * better would be to process many fewer pixels than those bounds
162 * deals only with valid coordinates within the bounds of the source
164 * with coordinates that run out of bounds, uses jlong.
348 * drawing the first "in bounds" pixel, we will step completely
362 srcInfo.bounds.x1 = sx1;
363 srcInfo.bounds.y1 = sy1;
364 srcInfo.bounds.x2 = sx2;
365 srcInfo.bounds.y2 = sy2;
369 if (srcInfo.bounds.x2 <= srcInfo.bounds
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWRobotPeer.java63 public int [] getRGBPixels(Rectangle bounds) { argument
64 int pixelArray[] = new int[bounds.width*bounds.height];
65 getRGBPixels(bounds.x, bounds.y, bounds.width, bounds.height, pixelArray);
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11TextRenderer.c48 SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs);
61 SurfaceDataBounds bounds; local
62 Region_GetBounds(env, clip, &bounds);
67 if (!RefineBounds(gbv, &bounds)) {
72 &bounds, gbv->glyphs, gbv->numGlyphs);
/openjdk7/jdk/test/java/awt/event/MouseEvent/MouseClickTest/
H A DMouseClickTest.java94 Rectangle bounds = new Rectangle(comp.getLocationOnScreen(), comp.getSize());
96 robot.mouseMove(bounds.x + bounds.width / 4, bounds.y + bounds.height / 2);
99 robot.mouseMove(bounds.x + bounds.width / 2, bounds.y + bounds.height / 2);
129 Rectangle bounds
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DWildcardTypeImpl.java52 * Creates a wildcard type with the requested bounds.
139 Type[] bounds;
144 bounds = this.upperBounds;
148 bounds = this.lowerBounds;
151 for (int i = 0; i < bounds.length; i++) {
155 sb.append((bounds[i] instanceof Class)
156 ? ((Class) bounds[i]).getName()
157 : bounds[i].toString());
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DRegion.h69 SurfaceDataBounds bounds; member in struct:__anon931
90 * This function retrieves the bounds from a Java Region object and
102 * Intersect the specified SurfaceDataBounds with the bounds of
104 * subsequently honor those bounds.
107 SurfaceData_IntersectBounds(&(pRgnInfo)->bounds, pDstBounds)
110 * Intersect the specified bounding coordinates with the bounds of
112 * subsequently honor those bounds.
115 SurfaceData_IntersectBoundsXYXY(&(pRgnInfo)->bounds, x1, y1, x2, y2)
118 * Test whether the bounds of the specified RegionData structure
121 * Note that this test only checks the overall bounds o
[all...]
H A DRegion.c69 pRgnInfo->bounds.x1 = pRgnInfo->bounds.y1 = 0x80000000;
70 pRgnInfo->bounds.x2 = pRgnInfo->bounds.y2 = 0x7fffffff;
73 pRgnInfo->bounds.x1 = (*env)->GetIntField(env, region, loxID);
74 pRgnInfo->bounds.y1 = (*env)->GetIntField(env, region, loyID);
75 pRgnInfo->bounds.x2 = (*env)->GetIntField(env, region, hixID);
76 pRgnInfo->bounds.y2 = (*env)->GetIntField(env, region, hiyID);
126 if (xy1 >= pRgnInfo->bounds.y2) {
129 if (xy2 > pRgnInfo->bounds
[all...]
/openjdk7/jdk/src/share/classes/sun/reflect/generics/tree/
H A DFormalTypeParameter.java33 private FieldTypeSignature[] bounds; field in class:FormalTypeParameter
37 bounds = bs;
42 * Returns a formal type parameter with the requested name and bounds.
44 * @param bs - the bounds of the type variable to be created by this method.
45 * @return a formal type parameter with the requested name and bounds
51 public FieldTypeSignature[] getBounds(){return bounds;}
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxUI.java70 * @param bounds Region to paint current value to
75 public void paintCurrentValue(Graphics g, Rectangle bounds, argument
79 bounds.x += 2;
80 bounds.width -= 3;
83 bounds.y += buttonInsets.top;
84 bounds.height -= (buttonInsets.top + buttonInsets.bottom);
87 bounds.y += 2;
88 bounds.height -= 4;
90 super.paintCurrentValue(g, bounds, hasFocus);
92 else if (g == null || bounds
107 paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunGraphicsCallback.java41 protected void constrainGraphics(Graphics g, Rectangle bounds) { argument
43 ((ConstrainableGraphics)g).constrain(bounds.x, bounds.y, bounds.width, bounds.height);
45 g.translate(bounds.x, bounds.y);
47 g.clipRect(0, 0, bounds.width, bounds.height);
50 public final void runOneComponent(Component comp, Rectangle bounds, argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXRobotPeer.java84 public int [] getRGBPixels(Rectangle bounds) { argument
85 int pixelArray[] = new int[bounds.width*bounds.height];
86 getRGBPixelsImpl(xgc, bounds.x, bounds.y, bounds.width, bounds.height, pixelArray);
/openjdk7/jdk/src/share/classes/java/awt/
H A DMouseInfo.java92 Rectangle bounds = gc.getBounds();
93 if (bounds.contains(point)) {
104 Rectangle bounds = gds[i].getDefaultConfiguration().getBounds();
105 if (bounds.x != 0 || bounds.y != 0) {
H A DPolygon.java102 * The bounds of this {@code Polygon}.
110 protected Rectangle bounds; field in class:Polygon
185 bounds = null;
201 bounds = null;
217 if (bounds != null) {
218 bounds.translate(deltaX, deltaY);
224 * Sets <code>bounds</code> to the result.
243 bounds = new Rectangle(boundsMinX, boundsMinY,
253 if (x < bounds.x) {
254 bounds
[all...]

Completed in 61 milliseconds

12345678910