/macosx-10.9.5/WebCore-7537.78.1/platform/mac/ |
H A D | WebCoreNSCellExtras.m | 35 CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]; 36 CGContextSaveGState(cgContext); 38 CGContextBeginTransparencyLayerWithRect(cgContext, NSRectToCGRect(cellFrame), 0); 40 CGContextEndTransparencyLayer(cgContext); 41 CGContextRestoreGState(cgContext);
|
H A D | LocalCurrentGraphicsContext.mm | 33 CGContextRef cgContext = this->cgContext(); 34 if (cgContext == [[NSGraphicsContext currentContext] graphicsPort]) { 40 NSGraphicsContext* newContext = [NSGraphicsContext graphicsContextWithGraphicsPort:cgContext flipped:YES]; 55 CGContextRef LocalCurrentGraphicsContext::cgContext() 57 CGContextRef cgContext = m_savedGraphicsContext->platformContext(); 58 return cgContext;
|
H A D | LocalCurrentGraphicsContext.h | 34 CGContextRef cgContext();
|
H A D | WidgetMac.mm | 245 CGContextRef cgContext = p->platformContext(); 246 ASSERT(cgContext == [currentContext graphicsPort]); 247 CGContextSaveGState(cgContext); 255 CGContextTranslateCTM(cgContext, viewFrame.origin.x - viewBounds.origin.x, viewFrame.origin.y + viewFrame.size.height + viewBounds.origin.y); 256 CGContextScaleCTM(cgContext, 1, -1); 260 NSGraphicsContext *nsContext = [NSGraphicsContext graphicsContextWithGraphicsPort:cgContext flipped:NO]; 265 CGContextRestoreGState(cgContext);
|
H A D | DragImageMac.mm | 227 CGContextRef cgContext = static_cast<CGContextRef>([nsContext graphicsPort]); 228 GraphicsContext graphicsContext(cgContext); 233 CGContextScaleCTM(cgContext, 1, -1); 249 CGContextScaleCTM(cgContext, 1, -1);
|
H A D | ThemeMac.mm | 570 HIThemeDrawButton(&backgroundBounds, &drawInfo, localContext.cgContext(), kHIThemeOrientationNormal, 0);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/ |
H A D | FontCGWin.cpp | 133 CGContextRef cgContext = graphicsContext->platformContext(); local 160 uint32_t oldFontSmoothingStyle = wkSetFontSmoothingStyle(cgContext, shouldUseFontSmoothing); 164 CGContextSetFont(cgContext, platformData.cgFont()); 175 CGContextSetTextMatrix(cgContext, matrix); 180 CGContextSetFontSize(cgContext, platformData.size()); 181 wkSetCGContextFontRenderingStyle(cgContext, font->isSystemFont(), false, font->platformData().useGDI()); 199 CGContextSetTextPosition(cgContext, shadowTextX, shadowTextY); 200 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), static_cast<const CGSize*>(glyphBuffer.advances(from)), numGlyphs); 202 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation.height() + shadowOffset.height()); 203 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffe [all...] |
H A D | ImageCGWin.cpp | 72 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight, local 75 GraphicsContext gc(cgContext); 84 CGContextRelease(cgContext);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/ |
H A D | GraphicsContextPlatformPrivateCG.h | 43 GraphicsContextPlatformPrivate(CGContextRef cgContext, GraphicsContextCGFlags flags = 0) argument 44 : m_cgContext(cgContext)
|
H A D | ImageBufferCG.cpp | 155 RetainPtr<CGContextRef> cgContext; local 159 cgContext = adoptCF(wkIOSurfaceContextCreate(m_data.m_surface.get(), width.unsafeGet(), height.unsafeGet(), m_data.m_colorSpace)); 161 if (!cgContext) 171 cgContext = adoptCF(CGBitmapContextCreate(m_data.m_data, width.unsafeGet(), height.unsafeGet(), 8, m_data.m_bytesPerRow.unsafeGet(), m_data.m_colorSpace, m_data.m_bitmapInfo)); 176 if (!cgContext) 179 m_context = adoptPtr(new GraphicsContext(cgContext.get()));
|
H A D | GraphicsContextCG.cpp | 106 void GraphicsContext::platformInit(CGContextRef cgContext) argument 108 m_data = new GraphicsContextPlatformPrivate(cgContext); 109 setPaintingDisabled(!cgContext); 110 if (cgContext) { 455 CGContextRef cgContext = platformContext(); local 456 AffineTransform userToBaseCTM = AffineTransform(wkGetUserToBaseCTM(cgContext)); 463 CGContextSetStrokeColorSpace(cgContext, patternSpace.get()); 466 CGContextSetStrokePattern(cgContext, platformPattern.get(), &patternAlpha); 471 CGContextRef cgContext = platformContext(); local 472 AffineTransform userToBaseCTM = AffineTransform(wkGetUserToBaseCTM(cgContext)); [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/ |
H A D | FontMac.mm | 140 CGContextRef cgContext = context->platformContext(); 179 originalShouldUseFontSmoothing = wkCGContextGetShouldSmoothFonts(cgContext); 180 CGContextSetShouldSmoothFonts(cgContext, shouldSmoothFonts); 198 CGContextSetFont(cgContext, platformData.cgFont()); 212 CGContextSetTextMatrix(cgContext, matrix); 215 wkSetCGFontRenderingMode(cgContext, drawFont, context->shouldSubpixelQuantizeFonts()); 217 wkSetCGFontRenderingMode(cgContext, drawFont); 220 CGContextSetFontSize(cgContext, 1.0f); 222 CGContextSetFontSize(cgContext, platformData.m_size); 251 showGlyphsWithAdvances(FloatPoint(shadowTextX, shadowTextY), font, cgContext, glyphBuffe [all...] |
/macosx-10.9.5/WebKit-7537.78.2/win/ |
H A D | WebKitGraphics.h | 52 CGContextRef cgContext; member in struct:WebTextRenderInfo
|
H A D | WebKitGraphics.cpp | 79 CGContextRef cgContext; member in struct:WebTextRenderInfoWithoutShadow 92 if (!info || info->structSize < sizeof(WebTextRenderInfoWithoutShadow) || !info->cgContext || !info->description) 102 GraphicsContext context(info->cgContext);
|
/macosx-10.9.5/WebKit-7537.78.2/mac/Misc/ |
H A D | WebCoreStatistics.h | 89 - (void)printToCGContext:(CGContextRef)cgContext pageWidth:(float)pageWidthInPixels pageHeight:(float)pageHeightInPixels;
|
H A D | WebCoreStatistics.mm | 282 - (void)printToCGContext:(CGContextRef)cgContext pageWidth:(float)pageWidthInPixels pageHeight:(float)pageHeightInPixels 288 GraphicsContext graphicsContext(cgContext);
|
H A D | WebKitNSStringExtras.mm | 85 CGContextRef cgContext = static_cast<CGContextRef>([nsContext graphicsPort]); 86 GraphicsContext graphicsContext(cgContext); 91 CGContextScaleCTM(cgContext, 1, -1); 109 CGContextScaleCTM(cgContext, 1, -1);
|
/macosx-10.9.5/WebCore-7537.78.1/rendering/ |
H A D | RenderThemeMac.mm | 283 wkDrawMediaUIPart(mediaControlElementType(node), mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 297 wkDrawMediaUIPart(mediaControlElementType(node), mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 311 wkDrawMediaUIPart(mediaControlElementType(node), mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 323 wkDrawMediaUIPart(MediaSeekBackButton, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 334 wkDrawMediaUIPart(MediaSeekForwardButton, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 372 wkDrawMediaUIPart(MediaSliderThumb, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 383 wkDrawMediaUIPart(MediaRewindButton, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 394 wkDrawMediaUIPart(MediaReturnToRealtimeButton, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 405 wkDrawMediaUIPart(MediaTimelineContainer, mediaControllerTheme(), localContext.cgContext(), r, getMediaUIPartStateFlags(node)); 442 wkDrawMediaUIPart(MediaVolumeSliderContainer, mediaControllerTheme(), localContext.cgContext(), [all...] |
/macosx-10.9.5/WebKit-7537.78.2/mac/Carbon/ |
H A D | CarbonWindowAdapter.mm | 266 CGContextRef cgContext = (CGContextRef)[[self _threadContext] graphicsPort]; 267 CGContextSynchronize( cgContext );
|
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/mac/ |
H A D | WKPrintingView.mm | 513 CGContextRef cgContext = static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]); 515 GraphicsContext context(cgContext);
|
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/ |
H A D | WebNetscapePluginView.mm | 1426 CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]; 1427 CGContextSaveGState(cgContext); 1429 CGContextTranslateCTM(cgContext, 0.0f, NSHeight(bounds)); 1430 CGContextScaleCTM(cgContext, 1.0f, -1.0f); 1432 CGContextRestoreGState(cgContext);
|