HomeSort by relevance Sort by last modified time
    Searched refs:tileScaleFactor (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Image.cpp 184 FloatSize tileScaleFactor = providedTileScaleFactor;
187 float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width())));
188 tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions));
191 float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height())));
192 tileScaleFactor.setHeight(dstRect.height() / (srcRect.height() * vRepetitions));
203 float hPhase = tileScaleFactor.width() * srcRect.x();
204 float vPhase = tileScaleFactor.height() * srcRect.y();
205 float scaledTileWidth = tileScaleFactor.width() * srcRect.width();
206 float scaledTileHeight = tileScaleFactor.height() * srcRect.height();
216 drawPattern(ctxt, srcRect, tileScaleFactor, patternPhase, op, dstRect)
    [all...]
Image.h 138 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, CompositeOperator);
GraphicsContext.h 288 const FloatSize& tileScaleFactor, Image::TileRule hRule = Image::StretchTile, Image::TileRule vRule = Image::StretchTile,
GraphicsContext.cpp     [all...]

Completed in 53 milliseconds