/external/webkit/Tools/DumpRenderTree/cg/ |
H A D | PixelDumpSupportCG.h | 67 CGContextRef cgContext() const { return m_context.get(); } function in class:BitmapContext
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
H A D | non-kerned-drawing.cpp | 53 CGContextRef cgContext = static_cast<CGContextRef>(dc->GetGraphicsContext()->GetNativeContext()); local 57 CGContextSetFont(cgContext, cgFont); 59 CGContextSetFontSize(cgContext, wxfont->GetPointSize()); 63 CGContextSetRGBFillColor(cgContext, red, green, blue, alpha); 69 CGContextSetTextMatrix(cgContext, matrix); 71 CGContextSetTextPosition(cgContext, point.x(), point.y()); 73 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
|
H A D | scrollbar_render.cpp | 73 CGContextRef cgContext = NULL; variable 83 cgContext = (CGContextRef) gc->GetNativeContext(); 85 if (cgContext) 105 HIThemeDrawTrack(&trackInfo, 0, cgContext, kHIThemeOrientationNormal);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | ImageCGWin.cpp | 72 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight, local 75 GraphicsContext gc(cgContext); 84 CGContextRelease(cgContext);
|
H A D | FontCGWin.cpp | 240 CGContextRef cgContext = graphicsContext->platformContext(); local 242 CGContextSaveGState(cgContext); 246 CGContextSetShouldAntialias(cgContext, fontSmoothingEnabled); 248 CGContextScaleCTM(cgContext, 1.0, -1.0); 249 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height())); 253 CGContextSaveGState(cgContext); 254 CGContextConcatCTM(cgContext, initialGlyphTransform); 257 CGContextAddPath(cgContext, glyphPath.get()); 258 CGContextFillPath(cgContext); 260 CGContextTranslateCTM(cgContext, fon 303 CGContextRef cgContext = graphicsContext->platformContext(); local [all...] |
H A D | MediaPlayerPrivateQuickTimeWin.cpp | 643 CGContextRef cgContext = context.platformContext(); local 656 CGContextSaveGState(cgContext); 659 CGContextScaleCTM(cgContext, 1, -1); 660 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, m_qtVideoLayer ? -rect.height() : 0); 662 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, 0); 665 CGContextSetFillColor(cgContext, backgroundColor); 666 CGContextFillRect(cgContext, drawRect); 669 CGContextSetFillColor(cgContext, textColor); 670 CGContextSetTextMatrix(cgContext, CGAffineTransformMakeScale(1, -1)); 671 CGContextSelectFont(cgContext, "Helvetic [all...] |
/external/webkit/Source/WebKit/win/ |
H A D | WebKitGraphics.h | 52 CGContextRef cgContext; member in struct:WebTextRenderInfo
|
H A D | WebKitGraphics.cpp | 80 CGContextRef cgContext; member in struct:WebTextRenderInfoWithoutShadow 93 if (!info || info->structSize < sizeof(WebTextRenderInfoWithoutShadow) || !info->cgContext || !info->description) 103 GraphicsContext context(info->cgContext);
|
/external/webkit/Source/WebCore/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 | 134 RetainPtr<CGContextRef> cgContext; local 141 cgContext.adoptCF(CGBitmapContextCreate(m_data.m_data, size.width(), size.height(), 8, bytesPerRow, m_data.m_colorSpace, m_data.m_bitmapInfo)); 147 cgContext.adoptCF(wkIOSurfaceContextCreate(m_data.m_surface.get(), size.width(), size.height(), m_data.m_colorSpace)); 153 if (!cgContext) 156 m_context.set(new GraphicsContext(cgContext.get()));
|
H A D | GraphicsContextCG.cpp | 115 void GraphicsContext::platformInit(CGContextRef cgContext) argument 117 m_data = new GraphicsContextPlatformPrivate(cgContext); 118 setPaintingDisabled(!cgContext); 119 if (cgContext) { 456 CGContextRef cgContext = platformContext(); local 463 CGContextSetStrokeColorSpace(cgContext, patternSpace.get()); 466 CGContextSetStrokePattern(cgContext, platformPattern.get(), &patternAlpha); 471 CGContextRef cgContext = platformContext(); local 478 CGContextSetFillColorSpace(cgContext, patternSpace.get()); 481 CGContextSetFillPattern(cgContext, platformPatter [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_mac_coretext.cpp | 1859 CGContextRef cgContext = CGBitmapContextCreate(&rgb, 1, 1, 8, 4, colorspace, local 1861 CGContextSelectFont(cgContext, "Helvetica", 16, kCGEncodingMacRoman); 1862 CGContextSetShouldSmoothFonts(cgContext, true); 1863 CGContextSetShouldAntialias(cgContext, true); 1864 CGContextSetTextDrawingMode(cgContext, kCGTextFill); 1865 CGContextSetGrayFillColor( cgContext, 1, 1.0); 1866 CGContextShowTextAtPoint(cgContext, -1, 0, "|", 1); 1868 CFSafeRelease(cgContext);
|