Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFShader.cpp266 const SkIRect& surfaceBBox, in make_fallback_shader() argument
279 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader()
285 SkScalar bitmapArea = (float)surfaceBBox.width() * (float)surfaceBBox.height(); in make_fallback_shader()
292 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.width()), 1, kMaxBitmapArea), in make_fallback_shader()
293 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.height()), 1, kMaxBitmapArea)}; in make_fallback_shader()
317 SkRect::Make(surfaceBBox), in make_fallback_shader()
334 const SkIRect& surfaceBBox, in SkPDFMakeShader() argument
339 return SkPDFGradientShader::Make(doc, shader, canvasTransform, surfaceBBox); in SkPDFMakeShader()
341 if (surfaceBBox.isEmpty()) { in SkPDFMakeShader()
355 surfaceBBox, in SkPDFMakeShader()
[all …]
DSkPDFShader.h44 const SkIRect& surfaceBBox,
DSkPDFGradientShader.h23 const SkIRect& surfaceBBox);
/external/skqp/src/pdf/
DSkPDFShader.cpp262 const SkIRect& surfaceBBox, in make_fallback_shader() argument
271 surfaceBBox, in make_fallback_shader()
282 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader()
288 SkScalar bitmapArea = surfaceBBox.width() * surfaceBBox.height(); in make_fallback_shader()
294 SkISize size = {SkScalarRoundToInt(rasterScale * surfaceBBox.width()), in make_fallback_shader()
295 SkScalarRoundToInt(rasterScale * surfaceBBox.height())}; in make_fallback_shader()
331 const SkIRect& surfaceBBox, in SkPDFMakeShader() argument
336 return SkPDFGradientShader::Make(doc, shader, canvasTransform, surfaceBBox); in SkPDFMakeShader()
338 if (surfaceBBox.isEmpty()) { in SkPDFMakeShader()
345 surfaceBBox, in SkPDFMakeShader()
[all …]
DSkPDFShader.h44 const SkIRect& surfaceBBox,
DSkPDFGradientShader.h23 const SkIRect& surfaceBBox);