Home
last modified time | relevance | path

Searched refs:CGContextRef (Results 1 – 25 of 137) sorted by relevance

123456

/external/webkit/Source/WebCore/platform/win/
DDragImageCGWin.cpp41 void deallocContext(CGContextRef target) in deallocContext()
46 HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef) in allocImage()
56CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHea… in allocImage()
68 static CGContextRef createCgContextFromBitmap(HBITMAP bitmap) in createCgContextFromBitmap()
74 CGContextRef bitmapContext = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8, in createCgContextFromBitmap()
86 CGContextRef targetContext; in scaleDragImage()
87 CGContextRef srcContext; in scaleDragImage()
128 CGContextRef drawContext = 0; in createDragImageFromImage()
/external/webkit/Tools/DumpRenderTree/cg/
DPixelDumpSupportCG.h42 typedef struct CGContext* CGContextRef; typedef
52 …<BitmapContext> createByAdoptingBitmapAndContext(PlatformBitmapBuffer buffer, CGContextRef context) in createByAdoptingBitmapAndContext()
67 CGContextRef cgContext() const { return m_context.get(); } in cgContext()
71 BitmapContext(PlatformBitmapBuffer buffer, CGContextRef context) in BitmapContext()
78 RetainPtr<CGContextRef> m_context;
/external/webkit/WebKitLibraries/win/include/WebKitSystemInterface/
DWebKitSystemInterface.h43 typedef struct CGContext* CGContextRef; typedef
75 uint32_t wkSetFontSmoothingStyle(CGContextRef cg, bool fontAllowsSmoothing);
76 void wkRestoreFontSmoothingStyle(CGContextRef cg, uint32_t oldStyle);
77 void wkSetCGContextFontRenderingStyle(CGContextRef, bool isSystemFont, bool isPrinterFont, bool use…
82 void wkSetPatternBaseCTM(CGContextRef, CGAffineTransform);
83 void wkSetPatternPhaseInUserSpace(CGContextRef, CGPoint phasePoint);
84 CGAffineTransform wkGetUserToBaseCTM(CGContextRef);
86 void wkDrawFocusRing(CGContextRef, CGColorRef, float radius);
232 void WKDrawMediaUIPart(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned state);
233 void WKDrawMediaSliderTrack(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded, fl…
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h117 void WKDrawCapsLockIndicator(CGContextRef, CGRect);
119 void WKDrawFocusRing(CGContextRef context, CGColorRef color, int radius);
141 void WKSetCGFontRenderingMode(CGContextRef cgContext, NSFont *font);
142 BOOL WKCGContextGetShouldSmoothFonts(CGContextRef cgContext);
155 void WKSetPatternBaseCTM(CGContextRef, CGAffineTransform);
156 void WKSetPatternPhaseInUserSpace(CGContextRef, CGPoint);
157 CGAffineTransform WKGetUserToBaseCTM(CGContextRef);
178 CGContextRef WKIOSurfaceContextCreate(IOSurfaceRef, unsigned width, unsigned height, CGColorSpaceRe…
179 CGImageRef WKIOSurfaceContextCreateImage(CGContextRef context);
188 CGContextRef WKNSWindowOverrideCGContext(NSWindow *, CGContextRef);
[all …]
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DPlatformCALayerWinInternal.h36 typedef struct CGContext *CGContextRef; typedef
50 void displayCallback(CACFLayerRef, CGContextRef);
68 static void tileDisplayCallback(CACFLayerRef, CGContextRef);
70 void drawTile(CACFLayerRef, CGContextRef);
/external/webkit/Source/WebCore/platform/mac/
DWebCoreSystemInterface.h96 extern BOOL (*wkCGContextGetShouldSmoothFonts)(CGContextRef);
111 extern void (*wkDrawCapsLockIndicator)(CGContextRef, CGRect);
113 extern void (*wkDrawFocusRing)(CGContextRef, CGColorRef, int radius);
117 extern void (*wkDrawMediaSliderTrack)(int themeStyle, CGContextRef context, CGRect rect, float time…
119 extern void (*wkDrawMediaUIPart)(int part, int themeStyle, CGContextRef context, CGRect rect, unsig…
144 extern void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*);
149 extern void (*wkSetPatternBaseCTM)(CGContextRef, CGAffineTransform);
150 extern void (*wkSetPatternPhaseInUserSpace)(CGContextRef, CGPoint);
151 extern CGAffineTransform (*wkGetUserToBaseCTM)(CGContextRef);
206 extern CGContextRef (*wkIOSurfaceContextCreate)(IOSurfaceRef surface, unsigned width, unsigned heig…
[all …]
DWebCoreSystemInterface.mm31 BOOL (*wkCGContextGetShouldSmoothFonts)(CGContextRef);
38 void (*wkDrawCapsLockIndicator)(CGContextRef, CGRect);
40 void (*wkDrawFocusRing)(CGContextRef, CGColorRef, int radius);
44 void (*wkDrawMediaSliderTrack)(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded,…
47 void (*wkDrawMediaUIPart)(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned sta…
70 void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*);
73 void (*wkSetPatternBaseCTM)(CGContextRef, CGAffineTransform);
74 void (*wkSetPatternPhaseInUserSpace)(CGContextRef, CGPoint point);
75 CGAffineTransform (*wkGetUserToBaseCTM)(CGContextRef);
131 CGContextRef (*wkIOSurfaceContextCreate)(IOSurfaceRef surface, unsigned width, unsigned height, CGC… function
[all …]
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp70 CG_EXTERN void CGContextSetCTM(CGContextRef, CGAffineTransform);
77 static void setCGFillColor(CGContextRef context, const Color& color, ColorSpace colorSpace) in setCGFillColor()
82 static void setCGStrokeColor(CGContextRef context, const Color& color, ColorSpace colorSpace) in setCGStrokeColor()
115 void GraphicsContext::platformInit(CGContextRef cgContext) in platformInit()
131 CGContextRef GraphicsContext::platformContext() const in platformContext()
163 CGContextRef context = platformContext(); in drawRect()
238 CGContextRef context = platformContext(); in drawLine()
319 CGContextRef context = platformContext(); in strokeArc()
420 CGContextRef context = platformContext(); in drawConvexPolygon()
441 CGContextRef context = platformContext(); in clipConvexPolygon()
[all …]
DPathCG.cpp49 static CGContextRef createScratchContext() in createScratchContext()
53 CGContextRef context = CGPDFContextCreate(consumer.get(), 0, 0); in createScratchContext()
62 static inline CGContextRef scratchContext() in scratchContext()
64 static CGContextRef context = createScratchContext(); in scratchContext()
140 CGContextRef context = scratchContext(); in strokeContains()
171 CGContextRef context = scratchContext(); in strokeBoundingRect()
DGraphicsContextPlatformPrivateCG.h43 GraphicsContextPlatformPrivate(CGContextRef cgContext, GraphicsContextCGFlags flags = 0)
95 RetainPtr<CGContextRef> m_cgContext;
/external/webkit/Source/WebKit2/Platform/cg/
DCGUtilities.h31 void paintImage(CGContextRef, CGImageRef, CGPoint destination, CGRect source);
32 void paintBitmapContext(CGContextRef, CGContextRef bitmapContext, CGPoint destination, CGRect sourc…
DCGUtilities.cpp33 void paintImage(CGContextRef context, CGImageRef image, CGPoint destination, CGRect source) in paintImage()
50 void paintBitmapContext(CGContextRef context, CGContextRef bitmapContext, CGPoint destination, CGRe… in paintBitmapContext()
/external/webkit/Tools/WebKitTestRunner/cg/
DTestInvocationCG.cpp47 static CGContextRef createCGContextFromImage(WKImageRef wkImage) in createCGContextFromImage()
57CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpa… in createCGContextFromImage()
65 void computeMD5HashStringForContext(CGContextRef bitmapContext, char hashString[33]) in computeMD5HashStringForContext()
102 static void dumpBitmap(CGContextRef bitmapContext) in dumpBitmap()
131 CGContextRef context = createCGContextFromImage(image); in dumpPixelsAndCompareWithExpected()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h57 typedef struct CGContext *CGContextRef; typedef
58 CGContextRef CGBitmapContextCreate(void *data/*, size_t width, size_t height,
62 void *CGBitmapContextGetData(CGContextRef context);
/external/webkit/Source/WebKit2/UIProcess/
DBackingStore.h59 typedef CGContextRef PlatformGraphicsContext;
77 CGContextRef backingStoreContext();
80 RetainPtr<CGContextRef> m_bitmapContext;
/external/skia/gm/
Dgammatext.cpp41 static CGContextRef makeCG(const SkBitmap& bm) { in makeCG()
47 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(), in makeCG()
68 static void cgSetPaintForText(CGContextRef cg, const SkPaint& paint) { in cgSetPaintForText()
89 static void cgDrawText(CGContextRef cg, const void* text, size_t len, in cgDrawText()
146 CGContextRef cg = makeCG(canvas->getDevice()->accessBitmap(false)); in onDraw()
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextCGWin.cpp40 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha) in CGContextWithHDC()
56CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelDa… in CGContextWithHDC()
107CGContextRef bitmapContext = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), p… in releaseWindowsContext()
152 CGContextRef context = platformContext(); in drawFocusRing()
166 static void setCGStrokeColor(CGContextRef context, const Color& color) in setCGStrokeColor()
208 CGContextRef context = platformContext(); in drawLineForTextChecking()
DWebTiledLayer.h64 static void tileDisplayCallback(CACFLayerRef, CGContextRef);
65 void drawTile(CACFLayerRef, CGContextRef);
/external/webkit/Source/WebKit2/Shared/
DWebGraphicsContext.h51 CGContextRef platformContext() { return m_platformContext.get(); } in platformContext()
63 RetainPtr<CGContextRef> m_platformContext;
/external/webkit/Source/WebKit/win/
DWebKitGraphics.h34 typedef struct CGContext* CGContextRef; typedef
52 CGContextRef cgContext;
/external/webkit/Source/WebKit2/UIProcess/mac/
DBackingStoreMac.mm56 CGContextRef BackingStore::backingStoreContext()
62 if (CGContextRef containingWindowContext = m_webPageProxy->containingWindowGraphicsContext()) {
64 CGContextRef layerContext = CGLayerGetContext(m_cgLayer.get());
98 CGContextRef context = backingStoreContext();
122 CGContextRef layerContext = CGLayerGetContext(m_cgLayer.get());
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
Dnon-kerned-drawing.cpp53CGContextRef cgContext = static_cast<CGContextRef>(dc->GetGraphicsContext()->GetNativeContext()); in drawTextWithSpacing()
Dscrollbar_render.cpp73 CGContextRef cgContext = NULL; in wxRenderer_DrawScrollbar()
83 cgContext = (CGContextRef) gc->GetNativeContext(); in wxRenderer_DrawScrollbar()
/external/webkit/Source/WebKit/mac/Misc/
DQuickDrawCompatibility.h44 extern OSStatus CreateCGContextForPort(CGrafPtr, CGContextRef*);
45 extern OSStatus SyncCGContextOriginWithPort(CGContextRef, CGrafPtr);
/external/webkit/Source/WebCore/platform/chromium/
DDragImageChromiumMac.cpp63CGContextRef context = CGBitmapContextCreate(0, width, height, 8, width * 4, deviceRGB.get(), kCGI… in scaleDragImage()
83CGContextRef context = CGBitmapContextCreate(0, width, height, 8, width * 4, deviceRGB.get(), kCGI… in dissolveDragImageToFraction()

123456