Searched refs:visibleSrcRect (Results 1 – 2 of 2) sorted by relevance
70 FloatRect visibleSrcRect; in drawPattern() local74 visibleSrcRect.setX((tileDstRect.x() - phase.x()) / scale.width() - i * stepX); in drawPattern()75 visibleSrcRect.setWidth(tileDstRect.width() / scale.width()); in drawPattern()95 visibleSrcRect.setY((tileDstRect.y() - phase.y()) / scale.height() - j * stepY); in drawPattern()96 visibleSrcRect.setHeight(tileDstRect.height() / scale.height()); in drawPattern()97 draw(destContext, tileDstRect, visibleSrcRect, compositeOp, blendMode); in drawPattern()
151 FloatRect visibleSrcRect; in drawTiled() local152 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width()); in drawTiled()153 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height()); in drawTiled()154 visibleSrcRect.setWidth(destRect.width() / scale.width()); in drawTiled()155 visibleSrcRect.setHeight(destRect.height() / scale.height()); in drawTiled()156 draw(ctxt, destRect, visibleSrcRect, op, blendMode); in drawTiled()