Home | History | Annotate | Download | only in graphics

Lines Matching refs:Image

28 #include "Image.h"
45 Image::Image(ImageObserver* observer)
50 Image::~Image()
54 Image* Image::nullImage()
56 DEFINE_STATIC_LOCAL(RefPtr<Image>, nullImage, (BitmapImage::create()));;
60 bool Image::supportsType(const String& type)
65 bool Image::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived)
78 void Image::fillWithSolidColor(GraphicsContext* ctxt, const FloatRect& dstRect, const Color& color, ColorSpace styleColorSpace, CompositeOperator op)
89 static inline FloatSize calculatePatternScale(const FloatRect& dstRect, const FloatRect& srcRect, Image::TileRule hRule, Image::TileRule vRule)
93 if (hRule == Image::StretchTile)
95 if (vRule == Image::StretchTile)
98 if (hRule == Image::RepeatTile)
100 if (vRule == Image::RepeatTile)
107 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize, ColorSpace styleColorSpace, CompositeOperator op)
128 // Check and see if a single draw of the image can cover the entire area we are supposed to tile.
147 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, TileRule hRule, TileRule vRule, ColorSpace styleColorSpace, CompositeOperator op)
167 if (hRule == Image::RepeatTile)
169 if (vRule == Image::RepeatTile)