Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFShader.cpp108 SkRect patternBBox = SkRect::MakeSize(SkSize::Make(image->dimensions())); in make_image_shader() local
109 SkScalar width = patternBBox.width(); in make_image_shader()
110 SkScalar height = patternBBox.height(); in make_image_shader()
114 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
126 patternBBox.fRight += width; in make_image_shader()
130 patternBBox.fBottom += height; in make_image_shader()
180 patternBBox.fLeft = 0; in make_image_shader()
196 patternBBox.fRight = deviceBounds.width(); in make_image_shader()
201 patternBBox.fLeft = 0; in make_image_shader()
204 patternBBox.fRight = deviceBounds.width(); in make_image_shader()
[all …]
/external/skqp/src/pdf/
DSkPDFShader.cpp77 SkRect patternBBox = SkRect::Make(image->bounds()); in make_image_shader() local
81 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
101 patternBBox.fRight += width; in make_image_shader()
108 patternBBox.fBottom += height; in make_image_shader()
186 patternBBox.fLeft = 0; in make_image_shader()
204 patternBBox.fRight = deviceBounds.width(); in make_image_shader()
225 patternBBox.fTop = 0; in make_image_shader()
243 patternBBox.fBottom = deviceBounds.height(); in make_image_shader()
250 SkPDFUtils::PopulateTilingPatternDict(dict.get(), patternBBox, in make_image_shader()