Home
last modified time | relevance | path

Searched refs:visibleSrcRect (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGradientGeneratedImage.cpp70 FloatRect visibleSrcRect; in drawPattern() local
74 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()
DImage.cpp151 FloatRect visibleSrcRect; in drawTiled() local
152 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()