Searched refs:surfaceBBox (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 266 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 …]
|
D | SkPDFShader.h | 44 const SkIRect& surfaceBBox,
|
D | SkPDFGradientShader.h | 23 const SkIRect& surfaceBBox);
|
/external/skqp/src/pdf/ |
D | SkPDFShader.cpp | 262 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 …]
|
D | SkPDFShader.h | 44 const SkIRect& surfaceBBox,
|
D | SkPDFGradientShader.h | 23 const SkIRect& surfaceBBox);
|