Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFShader.cpp1117 SkRect shaderRect = SkRect::Make(bbox); in State() local
1118 if (!inverse_transform_bbox(canvasTransform, &shaderRect)) { in State()
1132 SkSize scale = SkSize::Make(SkIntToScalar(size.width()) / shaderRect.width(), in State()
1133 SkIntToScalar(size.height()) / shaderRect.height()); in State()
1143 canvas.translate(-shaderRect.x(), -shaderRect.y()); in State()
1146 fShaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in State()