Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/apple/
Dfx_quartz_device.cpp41 CGContextRef context = CGBitmapContextCreate( in createGraphics()
50 CGContextRelease((CGContextRef)graphics); in destroyGraphics()
71 CGContextRef context = (CGContextRef)graphics; in setGraphicsTextMatrix()
88 CGContextRef context = (CGContextRef)graphics; in drawGraphicsString()
122 CGContextSaveGState((CGContextRef)graphics); in saveGraphicsState()
127 CGContextRestoreGState((CGContextRef)graphics); in restoreGraphicsState()
Dfx_apple_platform.cpp28 bool CGDrawGlyphRun(CGContextRef pContext, in CGDrawGlyphRun()
120 CGContextRef ctx = CGContextRef(m_pPlatformGraphics); in DrawDeviceText()
/external/python/cpython2/Mac/Modules/cg/
Dcgsupport.py120 CGContextRef = OpaqueByValueType("CGContextRef", "CGContextRefObj") variable
152 (CGContextRef, 'ctx', InMode),
159 (CGContextRef, 'ctx', InMode),
D_CGmodule.c102 CGContextRef ob_itself;
105 PyObject *CGContextRefObj_New(CGContextRef itself) in CGContextRefObj_New()
114 int CGContextRefObj_Convert(PyObject *v, CGContextRef *p_itself) in CGContextRefObj_Convert()
1202 CGContextRef itself; in CGContextRefObj_tp_new()
1266 CGContextRef ctx; in CG_CreateCGContextForPort()
/external/skia/samplecode/
DSampleBigGradient.cpp95 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect()
107 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform()
127 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle()
131 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
141 CGContextRef cg = (CGContextRef)hndl; in updateHandle()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h67 typedef struct CGContext *CGContextRef; typedef
68 CGContextRef CGBitmapContextCreate(void *data/*, size_t width, size_t height,
72 void *CGBitmapContextGetData(CGContextRef context);
/external/skia/include/utils/mac/
DSkCGUtils.h30 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
71 void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp159 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
179 CGContextRef SkCreateCGContext(const SkPixmap& pmap) { in SkCreateCGContext()
197 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
221 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()
/external/python/cpython2/Mac/Modules/icn/
Dicnsupport.py35 CGContextRef = OpaqueByValueType("CGContextRef", "CGContextRefObj") variable
/external/skia/experimental/tools/
DcoreGraphicsPdf2png.cpp47 CGContextRef ctx = CGBitmapContextCreate(bitmap.get(), w, h, 8, w * 4, cs, info); in main()
/external/webrtc/talk/media/devices/
Dcarbonvideorenderer.cc91 CGContextRef context; in DrawFrame()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm306 CGContextRef ctx = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
/external/clang/test/Analysis/
Dretain-release-inline.m245 typedef struct CGContext *CGContextRef; typedef
246 extern void CGContextDrawLinearGradient(CGContextRef context,
Dretain-release.mm268 typedef struct CGContext *CGContextRef; typedef
269 extern void CGContextDrawLinearGradient(CGContextRef context,
Dmalloc.c1440 CGContextRef context = CGBitmapContextCreate(ptr); in testCGContextNoLeak()
1450 CGContextRef context = CGBitmapContextCreate(ptr); in testCGContextLeak()
Dretain-release.m310 typedef struct CGContext *CGContextRef; typedef
311 extern void CGContextDrawLinearGradient(CGContextRef context,
1063 void rdar_7184450(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1085 void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1257 CGContextRef CGBitmapContextCreateWithData(void *data,
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m315 typedef struct CGContext *CGContextRef; typedef
316 extern void CGContextDrawLinearGradient(CGContextRef context,
1068 void rdar_7184450(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1090 void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1262 CGContextRef CGBitmapContextCreateWithData(void *data,
Dobjcmt-arc-cf-annotations.m.result339 typedef struct CGContext *CGContextRef;
340 extern void CGContextDrawLinearGradient(CGContextRef context,
1110 void rdar_7184450(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1132 void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint,
1304 CGContextRef CGBitmapContextCreateWithData(void *data,
/external/skia/src/ports/
DSkFontHost_mac.cpp215 UniqueCFRef<CGContextRef> cgContext( in supports_LCD()
257 UniqueCFRef<CGContextRef> fCG;