HomeSort by relevance Sort by last modified time
    Searched refs:cgContext (Results 1 - 19 of 19) sorted by null

  /external/webkit/WebCore/platform/graphics/mac/
FontMac.mm 52 CGContextRef cgContext = context->platformContext();
79 bool originalShouldUseFontSmoothing = wkCGContextGetShouldSmoothFonts(cgContext);
81 CGContextSetShouldSmoothFonts(cgContext, newShouldUseFontSmoothing);
98 CGContextSetFont(cgContext, platformData.cgFont());
107 CGContextSetTextMatrix(cgContext, matrix);
110 wkSetCGFontRenderingMode(cgContext, drawFont);
111 CGContextSetFontSize(cgContext, 1.0f);
113 CGContextSetFontSize(cgContext, platformData.m_size);
128 CGContextSetTextPosition(cgContext, point.x() + shadowSize.width(), point.y() + shadowSize.height());
129 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs)
    [all...]
  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 61 CGContextRef cgContext = static_cast<CGContextRef>(dc->GetGraphicsContext()->GetNativeContext());
76 CGContextSetFont(cgContext, cgFont);
78 CGContextSetFontSize(cgContext, wxfont->GetPointSize());
82 CGContextSetRGBFillColor(cgContext, red, green, blue, alpha);
88 CGContextSetTextMatrix(cgContext, matrix);
90 CGContextSetTextPosition(cgContext, point.x(), point.y());
111 CGContextShowGlyphsWithAdvances(cgContext, glyphs, sizes, numGlyphs);
scrollbar_render.cpp 73 CGContextRef cgContext = NULL;
83 cgContext = (CGContextRef) gc->GetNativeContext();
85 if (cgContext)
105 HIThemeDrawTrack(&trackInfo, 0, cgContext, kHIThemeOrientationNormal);
  /external/webkit/WebCore/platform/graphics/win/
FontCGWin.cpp 234 CGContextRef cgContext = graphicsContext->platformContext();
236 CGContextSaveGState(cgContext);
240 CGContextSetShouldAntialias(cgContext, fontSmoothingEnabled);
242 CGContextScaleCTM(cgContext, 1.0, -1.0);
243 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height()));
247 CGContextSaveGState(cgContext);
248 CGContextConcatCTM(cgContext, initialGlyphTransform);
251 CGContextAddPath(cgContext, glyphPath.get());
252 CGContextFillPath(cgContext);
254 CGContextTranslateCTM(cgContext, font->syntheticBoldOffset(), 0)
    [all...]
ImageCGWin.cpp 73 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight,
76 GraphicsContext gc(cgContext);
85 CGContextRelease(cgContext);
MediaPlayerPrivateQuickTimeWin.cpp 569 CGContextRef cgContext = context.platformContext();
582 CGContextSaveGState(cgContext);
585 CGContextScaleCTM(cgContext, 1, -1);
586 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, m_qtVideoLayer ? -rect.height() : 0);
588 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, 0);
591 CGContextSetFillColor(cgContext, backgroundColor);
592 CGContextFillRect(cgContext, drawRect);
595 CGContextSetFillColor(cgContext, textColor);
596 CGContextSetTextMatrix(cgContext, CGAffineTransformMakeScale(1, -1));
597 CGContextSelectFont(cgContext, "Helvetica", fontSize, kCGEncodingMacRoman)
    [all...]
  /external/webkit/WebCore/platform/graphics/cg/
GraphicsContextPlatformPrivateCG.h 26 #include <CoreGraphics/CGContext.h>
38 GraphicsContextPlatformPrivate(CGContextRef cgContext)
39 : m_cgContext(cgContext)
GraphicsContextCG.cpp 145 GraphicsContext::GraphicsContext(CGContextRef cgContext)
147 , m_data(new GraphicsContextPlatformPrivate(cgContext))
149 setPaintingDisabled(!cgContext);
150 if (cgContext) {
470 CGContextRef cgContext = platformContext();
477 CGContextSetStrokeColorSpace(cgContext, patternSpace.get());
480 CGContextSetStrokePattern(cgContext, platformPattern.get(), &patternAlpha);
485 CGContextRef cgContext = platformContext();
492 CGContextSetFillColorSpace(cgContext, patternSpace.get());
495 CGContextSetFillPattern(cgContext, platformPattern.get(), &patternAlpha)
    [all...]
ImageBufferCG.cpp 91 RetainPtr<CGContextRef> cgContext(AdoptCF, CGBitmapContextCreate(m_data.m_data, size.width(), size.height(), 8, bytesPerRow,
93 if (!cgContext)
96 m_context.set(new GraphicsContext(cgContext.get()));
  /external/webkit/WebKit/win/
WebKitGraphics.h 34 typedef struct CGContext* CGContextRef;
52 CGContextRef cgContext;
WebKitGraphics.cpp 84 CGContextRef cgContext;
97 if (!info || info->structSize < sizeof(WebTextRenderInfoWithoutShadow) || !info->cgContext || !info->description)
107 GraphicsContext context(info->cgContext);
  /external/webkit/WebKitTools/DumpRenderTree/cg/
PixelDumpSupportCG.h 42 typedef struct CGContext* CGContextRef;
67 CGContextRef cgContext() const { return m_context.get(); }
PixelDumpSupportCG.cpp 73 CGContextRef bitmapContext = context->cgContext();
111 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(context->cgContext()));
  /external/webkit/WebCore/platform/mac/
WidgetMac.mm 217 CGContextRef cgContext = p->platformContext();
218 ASSERT(cgContext == [currentContext graphicsPort]);
219 CGContextSaveGState(cgContext);
225 CGContextTranslateCTM(cgContext, viewFrame.origin.x - viewBounds.origin.x, viewFrame.origin.y + viewFrame.size.height + viewBounds.origin.y);
226 CGContextScaleCTM(cgContext, 1, -1);
233 NSGraphicsContext *nsContext = [NSGraphicsContext graphicsContextWithGraphicsPort:cgContext flipped:YES];
238 CGContextRestoreGState(cgContext);
  /external/webkit/WebCore/plugins/mac/
PluginViewMac.cpp 490 CGContextRef cgContext = m_npCgContext.context;
491 if (!cgContext)
494 CGContextSaveGState(cgContext);
497 CGContextTranslateCTM(cgContext, offset.x(), offset.y());
509 CGContextClipToRect(cgContext, r);
530 CGContextRestoreGState(cgContext);
  /external/webkit/WebKit/mac/Misc/
WebKitNSStringExtras.mm 79 CGContextRef cgContext = static_cast<CGContextRef>([nsContext graphicsPort]);
80 GraphicsContext graphicsContext(cgContext);
85 CGContextScaleCTM(cgContext, 1, -1);
101 CGContextScaleCTM(cgContext, 1, -1);
  /external/webkit/WebKitLibraries/
WebKitSystemInterface.h 117 void WKSetCGFontRenderingMode(CGContextRef cgContext, NSFont *font);
118 BOOL WKCGContextGetShouldSmoothFonts(CGContextRef cgContext);
  /external/webkit/WebKit/mac/Carbon/
CarbonWindowAdapter.mm 264 CGContextRef cgContext = (CGContextRef)[[self _threadContext] graphicsPort];
265 CGContextSynchronize( cgContext );
    [all...]
  /external/webkit/WebKit/mac/Plugins/
WebNetscapePluginView.mm     [all...]

Completed in 437 milliseconds