Lines Matching defs:Image

28 #include "core/platform/graphics/Image.h"
51 Image::Image(ImageObserver* observer)
56 Image::~Image()
60 Image* Image::nullImage()
63 DEFINE_STATIC_LOCAL(RefPtr<Image>, nullImage, (BitmapImage::create()));;
67 PassRefPtr<Image> Image::loadPlatformResource(const char *name)
71 return Image::nullImage();
73 RefPtr<Image> image = BitmapImage::create();
78 bool Image::supportsType(const String& type)
83 bool Image::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived)
96 void Image::fillWithSolidColor(GraphicsContext* ctxt, const FloatRect& dstRect, const Color& color, CompositeOperator op)
107 FloatRect Image::adjustForNegativeSize(const FloatRect& rect)
121 void Image::draw(GraphicsContext* ctx, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator op, BlendMode blendMode, RespectImageOrientationEnum)
126 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize, CompositeOperator op, BlendMode blendMode)
168 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect,
196 // High interpolation quality rounds the scaled tile to an integer size (see Image::drawPattern).
208 if (hRule == Image::RepeatTile)
210 if (vRule == Image::RepeatTile)
226 void Image::drawPattern(GraphicsContext* context, const FloatRect& floatSrcRect, const FloatSize& scale,
229 TRACE_EVENT0("skia", "Image::drawPattern");
234 void Image::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio)