Lines Matching refs:image_rep
46 Canvas::Canvas(const ImageSkiaRep& image_rep, bool is_opaque) in Canvas() argument
47 : image_scale_(image_rep.scale()), in Canvas()
49 skia::CreatePlatformCanvas(image_rep.pixel_width(), in Canvas()
50 image_rep.pixel_height(), in Canvas()
55 DrawImageInt(ImageSkia(image_rep), 0, 0); in Canvas()
366 const ImageSkiaRep& image_rep = GetImageRepToPaint(image); in DrawImageInt() local
367 if (image_rep.is_null()) in DrawImageInt()
369 const SkBitmap& bitmap = image_rep.sk_bitmap(); in DrawImageInt()
370 float bitmap_scale = image_rep.scale(); in DrawImageInt()
421 const ImageSkiaRep& image_rep = GetImageRepToPaint(image, in DrawImageInt() local
423 if (image_rep.is_null()) in DrawImageInt()
433 image_rep.scale() == 1.0f) { in DrawImageInt()
437 const SkBitmap& bitmap = image_rep.sk_bitmap(); in DrawImageInt()
453 image_rep, in DrawImageInt()
472 const ImageSkiaRep& image_rep = GetImageRepToPaint(image); in DrawImageInPath() local
473 if (image_rep.is_null()) in DrawImageInPath()
479 image_rep, in DrawImageInPath()
576 const ImageSkiaRep& image_rep = GetImageRepToPaint( in TileImageInt() local
578 if (image_rep.is_null()) in TileImageInt()
588 image_rep, in TileImageInt()
642 const ImageSkiaRep& image_rep = image.GetRepresentation(image_scale_); in GetImageRepToPaint() local
644 if (!image_rep.is_null()) { in GetImageRepToPaint()
651 float bitmap_scale = image_rep.scale(); in GetImageRepToPaint()
653 const_cast<SkBitmap&>(image_rep.sk_bitmap()).buildMipMap(); in GetImageRepToPaint()
656 return image_rep; in GetImageRepToPaint()