Home | History | Annotate | Download | only in mac

Lines Matching refs:SkBitmap

9 #include "SkBitmap.h"
13 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info);
17 static bool getBitmapInfo(const SkBitmap& bm,
26 case SkBitmap::kRGB_565_Config:
31 case SkBitmap::kARGB_8888_Config:
51 #warning Cannot convert SkBitmap to CGImageRef with these shiftmasks. \
64 case SkBitmap::kRGB_565_Config:
70 case SkBitmap::kARGB_4444_Config:
85 static SkBitmap* prepareForImageRef(const SkBitmap& bm,
93 SkBitmap* copy;
95 copy = new SkBitmap;
98 bm.copyTo(copy, SkBitmap::kARGB_8888_Config);
100 copy = new SkBitmap(bm);
105 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
110 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info);
144 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) {
184 bool SkPDFDocumentToBitmap(SkStream* stream, SkBitmap* output) {
211 SkBitmap bitmap;
212 bitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h);