Searched refs:tileScaleFactor (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Image.cpp | 184 FloatSize tileScaleFactor = providedTileScaleFactor; in drawTiled() local 187 …float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.wi… in drawTiled() 188 tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions)); in drawTiled() 191 …float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.… in drawTiled() 192 tileScaleFactor.setHeight(dstRect.height() / (srcRect.height() * vRepetitions)); in drawTiled() 203 float hPhase = tileScaleFactor.width() * srcRect.x(); in drawTiled() 204 float vPhase = tileScaleFactor.height() * srcRect.y(); in drawTiled() 205 float scaledTileWidth = tileScaleFactor.width() * srcRect.width(); in drawTiled() 206 float scaledTileHeight = tileScaleFactor.height() * srcRect.height(); in drawTiled() 216 drawPattern(ctxt, srcRect, tileScaleFactor, patternPhase, op, dstRect); in drawTiled() [all …]
|
D | Image.h | 135 …const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRu…
|
D | GraphicsContext.h | 287 …const FloatSize& tileScaleFactor, Image::TileRule hRule = Image::StretchTile, Image::TileRule vRul…
|
D | GraphicsContext.cpp | 1028 …const FloatSize& tileScaleFactor, Image::TileRule hRule, Image::TileRule vRule, CompositeOperator … in drawTiledImage() argument 1039 image->drawTiled(this, dest, srcRect, tileScaleFactor, hRule, vRule, op); in drawTiledImage()
|