Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/apple/
Dfx_quartz_device.cpp37 CGContextRef context = CGBitmapContextCreate( in CreateGraphics()
46 CGContextRelease((CGContextRef)graphics); in DestroyGraphics()
68 CGContextRef context = reinterpret_cast<CGContextRef>(graphics); in SetGraphicsTextMatrix()
85 CGContextRef context = (CGContextRef)graphics; in DrawGraphicsString()
Dfx_apple_platform.cpp35 bool CGDrawGlyphRun(CGContextRef pContext, in CGDrawGlyphRun()
124 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/gm/
Drasterhandleallocator.cpp97 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect()
109 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform()
129 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle()
133 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
143 CGContextRef cg = (CGContextRef)hndl; in updateHandle()
Dmac_aa_explorer.cpp28 static void std_cg_setup(CGContextRef ctx) { in std_cg_setup()
47 static CGContextRef make_cg_ctx(const SkPixmap& pm) { in make_cg_ctx()
85 CGContextRef ctx = make_cg_ctx(pm); in test_mac_fonts()
/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/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.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
75 void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
/external/skqp/include/utils/mac/
DSkCGUtils.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
75 void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
/external/llvm-project/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h86 typedef struct CGContext *CGContextRef; typedef
87 CGContextRef CGBitmapContextCreate(void *data/*, size_t width, size_t height,
91 void *CGBitmapContextGetData(CGContextRef context);
/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/skia/src/utils/mac/
DSkCreateCGImageRef.cpp136 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
154 CGContextRef SkCreateCGContext(const SkPixmap& pmap) { in SkCreateCGContext()
172 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
195 SkUniqueCFRef<CGContextRef> cg(CGBitmapContextCreate( in SkCopyPixelsFromCGImage()
DSkCTFont.cpp224 SkUniqueCFRef<CGContextRef> noSmoothContext( in SkCTFontGetSmoothBehavior()
227 SkUniqueCFRef<CGContextRef> smoothContext( in SkCTFontGetSmoothBehavior()
/external/python/cpython2/Mac/Modules/icn/
Dicnsupport.py35 CGContextRef = OpaqueByValueType("CGContextRef", "CGContextRefObj") variable
/external/skia/src/ports/
DSkScalerContext_mac_ct.h76 SkUniqueCFRef<CGContextRef> fCG;
/external/skqp/experimental/tools/
DcoreGraphicsPdf2png.cpp47 CGContextRef ctx = CGBitmapContextCreate(bitmap.get(), w, h, 8, w * 4, cs, info); in main()
/external/skia/experimental/tools/
DcoreGraphicsPdf2png.cpp47 CGContextRef ctx = CGBitmapContextCreate(bitmap.get(), w, h, 8, w * 4, cs, info); in main()
/external/tensorflow/tensorflow/lite/examples/ios/simple/
Dios_image_load.mm68 CGContextRef context =
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeI420Buffer.mm117 CGContextRef c = UIGraphicsGetCurrentContext();
/external/webrtc/sdk/objc/unittests/
Dframe_buffer_helpers.mm24 CGContextRef cgContext = CGBitmapContextCreate(baseAddr,
/external/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_mac.mm36 CGContextRef context = CGBitmapContextCreate(nullptr,
/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,
/external/llvm-project/clang/test/Analysis/
Dretain-release-inline.m248 typedef struct CGContext *CGContextRef; typedef
249 extern void CGContextDrawLinearGradient(CGContextRef context,

12