Home
last modified time | relevance | path

Searched refs:heightFunc (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/core/
H A DSkDrawShadowInfo.cpp37 auto heightFunc = [zPlaneParams] (SkScalar x, SkScalar y) { in GetSpotShadowTransform() local
40 SkScalar occluderHeight = heightFunc(pathBounds.centerX(), pathBounds.centerY()); in GetSpotShadowTransform()
70 SkScalar z = heightFunc(pathBounds.fLeft, pathBounds.fTop); in GetSpotShadowTransform()
72 z = heightFunc(pathBounds.fRight, pathBounds.fTop); in GetSpotShadowTransform()
74 z = heightFunc(pathBounds.fRight, pathBounds.fBottom); in GetSpotShadowTransform()
76 z = heightFunc(pathBounds.fLeft, pathBounds.fBottom); in GetSpotShadowTransform()
/third_party/skia/src/utils/
H A DSkShadowTessellator.cpp86 SkScalar heightFunc(SkScalar x, SkScalar y) { in heightFunc() function in SkBaseShadowTessellator
909 auto baseZ = heightFunc(fPathBounds.centerX(), fPathBounds.centerY()); in SkAmbientShadowTessellator()

Completed in 3 milliseconds