Home | History | Annotate | Download | only in printing

Lines Matching defs:bitmap

48     // Play this command to the bitmap DC.
57 // EMRALPHABLEND is rendered into bitmap and metafile contexts with
99 NOTREACHED() << "Bitmap DC creation failed";
110 NOTREACHED() << "Raster bitmap creation for printing failed";
353 scoped_ptr<SkBitmap> bitmap;
358 bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage));
364 bitmap.reset(new SkBitmap());
365 gfx::PNGCodec::Decode(bits, bmih->biSizeImage, bitmap.get());
369 DCHECK(bitmap.get());
370 if (bitmap.get()) {
371 SkAutoLockPixels lock(*bitmap.get());
372 DCHECK_EQ(bitmap->colorType(), kN32_SkColorType);
374 static_cast<const uint32_t*>(bitmap->getPixels());
380 gfx::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi);
538 RasterBitmap bitmap(page_size);
542 Playback(bitmap.context(), &rect);
562 bitmap.context(), bitmap_rect.x(), bitmap_rect.y(), SRCCOPY);
577 RasterBitmap bitmap(page_bounds.size());
579 // Map metafile page_bounds.x(), page_bounds.y() to bitmap 0, 0.
581 ::SetWorldTransform(bitmap.context(), &xform);
589 HDC bitmap_dc = bitmap.context();