Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFShader.cpp286 SkScalar rasterScale = 1.0f; in make_fallback_shader() local
288 rasterScale *= SkScalarSqrt((float)kMaxBitmapArea / bitmapArea); 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()
/external/skqp/src/pdf/
DSkPDFShader.cpp289 SkScalar rasterScale = 1.0f; in make_fallback_shader() local
291 rasterScale *= SkScalarSqrt(kMaxBitmapArea / bitmapArea); in make_fallback_shader()
294 SkISize size = {SkScalarRoundToInt(rasterScale * surfaceBBox.width()), in make_fallback_shader()
295 SkScalarRoundToInt(rasterScale * surfaceBBox.height())}; in make_fallback_shader()