Lines Matching refs:BITMAP
21 // CreateDIBSection appears to get unhappy if we create an empty bitmap, so
22 // just create a minimal bitmap
31 hdr.biHeight = -height; // minus means top-down bitmap
105 static bool InstallHBitmapPixels(SkBitmap* bitmap, int width, int height,
111 return bitmap->installPixels(info, data, rowBytes, color_table,
131 SkBitmap bitmap;
132 if (!InstallHBitmapPixels(&bitmap, width, height, is_opaque, data, hbitmap))
140 bitmap.eraseARGB(255, 0, 255, 128); // bright bluish green
145 return new BitmapPlatformDevice(hbitmap, bitmap);
166 // data. Therefore, we do not transfer ownership to the SkBitmapDevice's bitmap.
169 const SkBitmap& bitmap)
170 : SkBitmapDevice(bitmap),
179 // Initialize the clip region to the entire bitmap.
180 BITMAP bitmap_data;
181 if (GetObject(hbitmap_, sizeof(BITMAP), &bitmap_data)) {
227 // We need to reset the translation for our bitmap or (0,0) won't be in the