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

  /external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 53 CGContextRef cgContext = static_cast<CGContextRef>(dc->GetGraphicsContext()->GetNativeContext());
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);
scrollbar_render.cpp 73 CGContextRef cgContext = NULL;
83 cgContext = (CGContextRef) gc->GetNativeContext();
85 if (cgContext)
105 HIThemeDrawTrack(&trackInfo, 0, cgContext, kHIThemeOrientationNormal);
  /external/webkit/Source/WebCore/platform/graphics/win/
FontCGWin.cpp 240 CGContextRef cgContext = graphicsContext->platformContext();
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, font->syntheticBoldOffset(), 0)
    [all...]
ImageCGWin.cpp 72 CGContextRef cgContext = CGBitmapContextCreate(bmpInfo.bmBits, bmpInfo.bmWidth, bmpInfo.bmHeight,
75 GraphicsContext gc(cgContext);
84 CGContextRelease(cgContext);
MediaPlayerPrivateQuickTimeWin.cpp 44 #include <CoreGraphics/CGContext.h>
643 CGContextRef cgContext = context.platformContext();
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))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/mac/
FontMac.mm 142 CGContextRef cgContext = context->platformContext();
181 originalShouldUseFontSmoothing = wkCGContextGetShouldSmoothFonts(cgContext);
182 CGContextSetShouldSmoothFonts(cgContext, shouldSmoothFonts);
200 CGContextSetFont(cgContext, platformData.cgFont());
209 CGContextSetTextMatrix(cgContext, matrix);
212 wkSetCGFontRenderingMode(cgContext, drawFont);
213 CGContextSetFontSize(cgContext, 1.0f);
215 CGContextSetFontSize(cgContext, platformData.m_size);
235 showGlyphsWithAdvances(FloatPoint(shadowTextX, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
237 showGlyphsWithAdvances(FloatPoint(shadowTextX + font->syntheticBoldOffset(), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContextPlatformPrivateCG.h 30 #include <CoreGraphics/CGContext.h>
43 GraphicsContextPlatformPrivate(CGContextRef cgContext, GraphicsContextCGFlags flags = 0)
44 : m_cgContext(cgContext)
ImageBufferCG.cpp 134 RetainPtr<CGContextRef> cgContext;
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()));
GraphicsContextCG.cpp 115 void GraphicsContext::platformInit(CGContextRef cgContext)
117 m_data = new GraphicsContextPlatformPrivate(cgContext);
118 setPaintingDisabled(!cgContext);
119 if (cgContext) {
456 CGContextRef cgContext = platformContext();
463 CGContextSetStrokeColorSpace(cgContext, patternSpace.get());
466 CGContextSetStrokePattern(cgContext, platformPattern.get(), &patternAlpha);
471 CGContextRef cgContext = platformContext();
478 CGContextSetFillColorSpace(cgContext, patternSpace.get());
481 CGContextSetFillPattern(cgContext, platformPattern.get(), &patternAlpha)
    [all...]
  /external/webkit/Source/WebCore/platform/mac/
WidgetMac.mm 286 CGContextRef cgContext = p->platformContext();
287 ASSERT(cgContext == [currentContext graphicsPort]);
288 CGContextSaveGState(cgContext);
290 CGContextTranslateCTM(cgContext, transformOrigin.x(), transformOrigin.y());
291 CGContextScaleCTM(cgContext, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisionToFloat(widgetToViewTranform.yScale()));
292 CGContextTranslateCTM(cgContext, -transformOrigin.x(), -transformOrigin.y());
298 CGContextTranslateCTM(cgContext, viewFrame.origin.x - viewBounds.origin.x, viewFrame.origin.y + viewFrame.size.height + viewBounds.origin.y);
299 CGContextScaleCTM(cgContext, 1, -1);
311 NSGraphicsContext *nsContext = [NSGraphicsContext graphicsContextWithGraphicsPort:cgContext flipped:YES];
316 CGContextRestoreGState(cgContext);
    [all...]
DragImageMac.mm 189 CGContextRef cgContext = static_cast<CGContextRef>([nsContext graphicsPort]);
190 GraphicsContext graphicsContext(cgContext);
195 CGContextScaleCTM(cgContext, 1, -1);
210 CGContextScaleCTM(cgContext, 1, -1);
  /external/webkit/Source/WebKit/win/
WebKitGraphics.h 34 typedef struct CGContext* CGContextRef;
52 CGContextRef cgContext;
WebKitGraphics.cpp 80 CGContextRef cgContext;
93 if (!info || info->structSize < sizeof(WebTextRenderInfoWithoutShadow) || !info->cgContext || !info->description)
103 GraphicsContext context(info->cgContext);
  /external/webkit/Tools/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/Source/WebKit/mac/Misc/
WebCoreStatistics.h 93 - (void)printToCGContext:(CGContextRef)cgContext:(float)pageWidthInPixels:(float)pageHeightInPixels;
WebCoreStatistics.mm 301 - (void)printToCGContext:(CGContextRef)cgContext:(float)pageWidthInPixels:(float)pageHeightInPixels
307 GraphicsContext graphicsContext(cgContext);
WebKitNSStringExtras.mm 84 CGContextRef cgContext = static_cast<CGContextRef>([nsContext graphicsPort]);
85 GraphicsContext graphicsContext(cgContext);
90 CGContextScaleCTM(cgContext, 1, -1);
105 CGContextScaleCTM(cgContext, 1, -1);
  /external/webkit/Source/WebCore/plugins/mac/
PluginViewMac.mm 481 CGContextRef cgContext = m_npCgContext.context;
482 if (!cgContext)
485 CGContextSaveGState(cgContext);
488 CGContextTranslateCTM(cgContext, offset.x(), offset.y());
500 CGContextClipToRect(cgContext, r);
523 CGContextRestoreGState(cgContext);
  /external/webkit/Tools/DumpRenderTree/mac/
PixelDumpSupportMac.mm 154 CGContextRef context = bitmapContext->cgContext();
277 [mainFrame printToCGContext:bitmapContext->cgContext():pageWidthInPixels:pageHeightInPixels];
  /external/skia/legacy/src/ports/
SkFontHost_mac_coretext.cpp     [all...]
  /external/skia/src/ports/
SkFontHost_mac_coretext.cpp 306 AutoCFRelease<CGContextRef> cgContext(CGBitmapContextCreate(&rgb, 1, 1, 8, 4,
308 CGContextSelectFont(cgContext, "Helvetica", 16, kCGEncodingMacRoman);
309 CGContextSetShouldSmoothFonts(cgContext, true);
310 CGContextSetShouldAntialias(cgContext, true);
311 CGContextSetTextDrawingMode(cgContext, kCGTextFill);
312 CGContextSetGrayFillColor(cgContext, 1, 1);
313 CGContextShowTextAtPoint(cgContext, -1, 0, "|", 1);
    [all...]
  /external/webkit/WebKitLibraries/
WebKitSystemInterface.h 141 void WKSetCGFontRenderingMode(CGContextRef cgContext, NSFont *font);
142 BOOL WKCGContextGetShouldSmoothFonts(CGContextRef cgContext);
  /external/webkit/Source/WebKit/mac/Carbon/
CarbonWindowAdapter.mm 265 CGContextRef cgContext = (CGContextRef)[[self _threadContext] graphicsPort];
266 CGContextSynchronize( cgContext );
    [all...]
  /external/webkit/Source/WebKit/mac/Plugins/
WebNetscapePluginView.mm     [all...]

Completed in 572 milliseconds