Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/apple/
Dfx_quartz_device.cpp39 CGContextRef context = CGBitmapContextCreate( in createGraphics()
48 CGContextRelease((CGContextRef)graphics); in destroyGraphics()
69 CGContextRef context = (CGContextRef)graphics; in setGraphicsTextMatrix()
86 CGContextRef context = (CGContextRef)graphics; in drawGraphicsString()
123 CGContextSaveGState((CGContextRef)graphics); in saveGraphicsState()
128 CGContextRestoreGState((CGContextRef)graphics); in restoreGraphicsState()
Dfx_apple_platform.cpp30 bool CGDrawGlyphRun(CGContextRef pContext, in CGDrawGlyphRun()
122 CGContextRef ctx = CGContextRef(m_pPlatformGraphics); in DrawDeviceText()
/external/skia/samplecode/
DSampleBigGradient.cpp93 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect()
105 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform()
125 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle()
129 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
139 CGContextRef cg = (CGContextRef)hndl; in updateHandle()
/external/skqp/samplecode/
DSampleBigGradient.cpp93 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect()
105 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform()
125 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle()
129 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
139 CGContextRef cg = (CGContextRef)hndl; in updateHandle()
/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/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/src/utils/mac/
DSkCreateCGImageRef.cpp161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
181 CGContextRef SkCreateCGContext(const SkPixmap& pmap) { in SkCreateCGContext()
199 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
223 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()
/external/skqp/src/utils/mac/
DSkCreateCGImageRef.cpp161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
181 CGContextRef SkCreateCGContext(const SkPixmap& pmap) { in SkCreateCGContext()
199 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
223 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()
/external/skqp/include/utils/mac/
DSkCGUtils.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
75 void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
/external/skia/include/utils/mac/
DSkCGUtils.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
75 void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
/external/skia/gm/
Dmac_aa_explorer.cpp16 static void std_cg_setup(CGContextRef ctx) { in std_cg_setup()
35 static CGContextRef make_cg_ctx(const SkPixmap& pm) { in make_cg_ctx()
73 CGContextRef ctx = make_cg_ctx(pm); in test_mac_fonts()
/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/skqp/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/tensorflow/tensorflow/examples/ios/benchmark/
Dios_image_load.mm73 CGContextRef context = CGBitmapContextCreate(result.data(), width, height,
/external/tensorflow/tensorflow/lite/examples/ios/simple/
Dios_image_load.mm68 CGContextRef context =
/external/tensorflow/tensorflow/examples/ios/simple/
Dios_image_load.mm73 CGContextRef context = CGBitmapContextCreate(result.data(), width, height,
/external/tensorflow/tensorflow/examples/ios/camera/
Dios_image_load.mm73 CGContextRef context = CGBitmapContextCreate(result.data(), width, height,
/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()
/external/clang/test/ARCMT/
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,
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,

12