Home | History | Annotate | Download | only in graphics

Lines Matching refs:tileScaleFactor

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);
219 drawPattern(ctxt, srcRect, tileScaleFactor, patternPhase, op, dstRect);