Home
last modified time | relevance | path

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

/third_party/flutter/skia/docs/examples/
DBitmap_extractAlpha_2.cpp8 static const SkScalar kBLUR_SIGMA_SCALE = 0.57735f; in draw() local
9 return radius > 0 ? kBLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; in draw()
/third_party/skia/docs/examples/
DBitmap_extractAlpha_2.cpp8 static const SkScalar kBLUR_SIGMA_SCALE = 0.57735f; in draw() local
9 return radius > 0 ? kBLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; in draw()
/third_party/skia/src/core/
DSkBlurMask.cpp26 static const SkScalar kBLUR_SIGMA_SCALE = 0.57735f; variable
29 return radius > 0 ? kBLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; in ConvertRadiusToSigma()
33 return sigma > 0.5f ? (sigma - 0.5f) / kBLUR_SIGMA_SCALE : 0.0f; in ConvertSigmaToRadius()
/third_party/flutter/skia/src/core/
DSkBlurMask.cpp25 static const SkScalar kBLUR_SIGMA_SCALE = 0.57735f; variable
28 return radius > 0 ? kBLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; in ConvertRadiusToSigma()
32 return sigma > 0.5f ? (sigma - 0.5f) / kBLUR_SIGMA_SCALE : 0.0f; in ConvertSigmaToRadius()