/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | QuartzRenderer.m | 86 QUARTZ_RENDERER_INLINE SDRenderType doLineUsingCG(CGContextRef cgRef, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, BOOL simple, CGFloat offsetX, CGFloat offsetY) 88 //fprintf(stderr, "doLine start=(%f, %f), end=(%f, %f), linewidth:%f, offsetX:%f, offsetY:%f\n", x1, y1, x2, y2, CGContextGetLineWidth(cgRef), offsetX, offsetY); 95 oneLinePoints[0] = CGPointMake(x1+offsetX, y1+offsetY); 96 oneLinePoints[1] = CGPointMake(x2+offsetX, y2+offsetY); 103 CGContextMoveToPoint(cgRef, x1+offsetX, y1+offsetY); 104 CGContextAddLineToPoint(cgRef, x2+offsetX, y2+offsetY); 116 qsdo->graphicsStateInfo.simpleStroke, qsdo->graphicsStateInfo.offsetX, qsdo->graphicsStateInfo.offsetY); 122 QUARTZ_RENDERER_INLINE SDRenderType doRectUsingCG(CGContextRef cgRef, CGFloat x, CGFloat y, CGFloat w, CGFloat h, BOOL fill, BOOL simple, CGFloat offsetX, CGFloat offsetY) 124 //fprintf(stderr, "doRect point=(%f, %f), size=(%f, %f), offsets=(%f, %f) fill=%d simple=%d\n", x, y, w, h, offsetX, offsetY, fil [all...] |
H A D | QuartzSurfaceData.h | 90 CGFloat offsetY; member in struct:_stateGraphicsInfo 133 SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY);
|
H A D | QuartzSurfaceData.m | 558 DoShapeUsingCG(cgRef, types, coords, numtypes, NO, qsdo->graphicsStateInfo.offsetX, qsdo->graphicsStateInfo.offsetY); 608 qsdo->graphicsStateInfo.offsetY = offsets.y; 614 qsdo->graphicsStateInfo.offsetY = 0.0f; 949 SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY) 957 offsetY = 0.0f; 981 my = (CGFloat)coords[index++] + offsetY; 1006 my = y1 = (CGFloat)coords[index++] + offsetY; 1012 y1 = (CGFloat)coords[index++] + offsetY; 1018 cpy1 = (CGFloat)coords[index++] + offsetY; 1020 y1 = (CGFloat)coords[index++]+ offsetY; [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | DropShadowEffect.java | 80 int offsetY = (int) (Math.cos(trangleAngle) * distance); 119 int shadowOffset = (srcY - offsetY) * tmpW;
|
H A D | InnerShadowEffect.java | 78 int offsetY = (int) (Math.cos(trangleAngle) * distance); 119 int shadowOffset = (srcY - offsetY) * tmpW;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaUtils.java | 247 public static void paintDropShadowText(final Graphics g, final JComponent c, final Font font, final FontMetrics metrics, final int x, final int y, final int offsetX, final int offsetY, final Color textColor, final Color shadowColor, final String text) { argument 250 SwingUtilities2.drawString(c, g, text, x + offsetX, y + offsetY + metrics.getAscent()); 260 final int offsetY; field in class:AquaUtils.ShadowBorder 266 public ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) { argument 268 this.offsetX = offsetX; this.offsetY = offsetY; this.distance = distance; this.blur = blur; 270 this.insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX); 301 final int adjY = (int)(y + blur + offsetY + (insets.top * distance)); 325 public SlicedShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, fina argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDragSourceContextPeer.java | 167 int offsetX, int offsetY); 162 doDragDrop( long nativeCtxt, Cursor cursor, int[] imageData, int imgWidth, int imgHight, int offsetX, int offsetY) argument
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | OSXOffScreenSurfaceData.java | 482 int offsetY = 0; 486 offsetY = (int) sg2d.transform.getTranslateY(); 502 // we need to substract the offsetX and offsetY to move it to the coordinate space of the graphics2d. 506 y = clippedCopyAreaRect.y - offsetY; 512 sg2d.drawImage(this.bim, x + dx, y + dy, x + dx + w, y + dy + h, x + offsetX, y + offsetY, x + w + offsetX, y + h + offsetY, null);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JComponent.java | 5016 int offsetX=0,offsetY=0; 5106 offsetX = offsetY = 0; 5130 offsetY += by; 5145 paintImmediatelyClip.y -= offsetY;
|