Home
last modified time | relevance | path

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

/external/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()
/external/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()
/external/skqp/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()
/external/skqp/docs/
DSkBitmap_Reference.bmh2540 static const SkScalar kBLUR_SIGMA_SCALE = 0.57735f;
2541 return radius > 0 ? kBLUR_SIGMA_SCALE * radius + 0.5f : 0.0f;