Searched refs:cgRef (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DJRSUIFocus.m43 CGContextRef cgRef = (CGContextRef)jlong_to_ptr(cgContext);
45 OSStatus status = HIThemeBeginFocus(cgRef, ringStyle, NULL);
58 CGContextRef cgRef = (CGContextRef)jlong_to_ptr(cgContext);
60 OSStatus status = HIThemeEndFocus(cgRef);
H A DJRSUIController.m158 static inline jint doPaintCGContext(CGContextRef cgRef, jlong controlPtr, jlong oldProperties, jlong newProperties, jdouble x, jdouble y, jdouble w, jdouble h)
163 JRSUIControlDraw(gRenderer, control, cgRef, bounds);
200 CGContextRef cgRef = CGBitmapContextCreate(rawPixelData, imgW, imgH, 8, imgW * 4, colorspace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
202 CGContextScaleCTM(cgRef, imgW/w , imgH/h);
204 jint status = doPaintCGContext(cgRef, controlPtr, oldProperties, newProperties, x, y, w, h);
205 CGContextRelease(cgRef);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTextPipe.m139 CGContextRef cgRef = qsdo->cgRef;
140 CGAffineTransform ctmText = CGContextGetTextMatrix(cgRef);
148 CGContextSaveGState(cgRef);
177 CGContextSaveGState(cgRef);
180 CGContextSetFont(cgRef, cgFallback);
186 CGContextRestoreGState(cgRef);
195 CGContextShowGlyphsAtPoint(cgRef, pt.x, pt.y, &glyph, 1);
209 CGContextSetTextMatrix(cgRef, CGAffineTransformConcat(ctmText, tx));
210 CGContextShowGlyphsAtPoint(cgRef, txOffse
[all...]
H A DQuartzSurfaceData.m75 // it sets with current fill/stroke color for the the CGContext passed in (qsdo->cgRef).
131 CGContextSetStrokeColorWithColor(qsdo->cgRef, cgColor);
132 CGContextSetFillColorWithColor(qsdo->cgRef, cgColor);
274 CGContextRef cgRef = qsdo->cgRef;
277 CGRect bounds = CGContextGetClipBoundingBox(cgRef);
403 CGContextSaveGState(cgRef);
408 CGContextEOClip(cgRef);
410 CGContextClip(cgRef);
412 CGContextDrawShading(cgRef, shadin
[all...]
H A DQuartzRenderer.m86 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);
98 CGContextStrokeLineSegments(cgRef, oneLinePoints, 2);
103 CGContextMoveToPoint(cgRef, x1+offsetX, y1+offsetY);
104 CGContextAddLineToPoint(cgRef, x2+offsetX, y2+offsetY);
115 return doLineUsingCG(qsdo->cgRef, x1, y1, x2, y2,
122 QUARTZ_RENDERER_INLINE SDRenderType doRectUsingCG(CGContextRef cgRef, CGFloat x, CGFloat y, CGFloat w, CGFloat h, BOOL fill, BOOL simple, CGFloat offsetX, CGFloat offsetY)
125 //CGRect clip = CGContextGetClipBoundingBox(cgRef);
127 //CGAffineTransform ctm = CGContextGetCTM(cgRef);
135 CGContextFillRect(cgRef, CGRectMak
[all...]
H A DPrinterSurfaceData.m48 if (qsdo->cgRef != NULL)
60 if (qsdo->cgRef != NULL)
97 qsdo->cgRef = [psdo->nsRef graphicsPort];
H A DQuartzSurfaceData.h106 CGContextRef cgRef; member in struct:_QuartzSDOps
133 SDRenderType DoShapeUsingCG(CGContextRef cgRef, jint *types, jfloat *coords, jint numtypes, BOOL fill, CGFloat offsetX, CGFloat offsetY);
H A DCImage.m58 CGContextRef cgRef = CGBitmapContextCreate(dstPixels, width, height, 8, width * 4, colorspace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
60 NSGraphicsContext *context = [NSGraphicsContext graphicsContextWithGraphicsPort:cgRef flipped:NO];
61 CGContextRelease(cgRef);
H A DPrinterView.m103 CGContextRef cgRef = (CGContextRef)[[printLoop context] graphicsPort];
104 CGContextSaveGState(cgRef); //04/28/2004: state needs to be saved here due to addition of lazy state management
108 CGContextRestoreGState(cgRef);
H A DImageSurfaceData.m159 fprintf(stderr, "\t cgRef=%p\n", isdo->qsdo.cgRef);
911 if (qsdo->cgRef == NULL) // lazy creation
928 qsdo->cgRef = CGBitmapContextCreate(isdo->nativePixels, isdo->width, isdo->height, bitsPerComponent, bytesPerRow, colorSpace, alphaInfo);
932 //fprintf(stderr, "cgRef=%p\n", qsdo->cgRef);
933 if (qsdo->cgRef == NULL)
935 fprintf(stderr, "ERROR: (qsdo->cgRef == NULL) in createContext!\n");
941 CGContextConcatCTM(qsdo->cgRef, CGAffineTransformMake(1, 0, 0, -1, 0, isdo->height));
943 CGContextSaveGState(qsdo->cgRef); // thi
[all...]
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphImages.m135 PRINT_CGSTATES_INFO(const CGContextRef cgRef)
139 CGRect clip = CGContextGetClipBoundingBox(cgRef);
143 CGAffineTransform ctm = CGContextGetCTM(cgRef);
147 CGAffineTransform txtTx = CGContextGetTextMatrix(cgRef);
151 if (CGContextIsPathEmpty(cgRef) == 0) {
152 CGPoint pathpoint = CGContextGetPathCurrentPoint(cgRef);
153 CGRect pathbbox = CGContextGetPathBoundingBox(cgRef);
159 CGFloat linewidth = CGContextGetLineWidth(cgRef);
160 CGLineCap linecap = CGContextGetLineCap(cgRef);
161 CGLineJoin linejoin = CGContextGetLineJoin(cgRef);
[all...]

Completed in 36 milliseconds