Lines Matching refs:zPlaneParams
517 static bool tilted(const SkPoint3& zPlaneParams) { in tilted() argument
518 return !SkScalarNearlyZero(zPlaneParams.fX) || !SkScalarNearlyZero(zPlaneParams.fY); in tilted()
576 static bool fill_shadow_rec(const SkPath& path, const SkPoint3& zPlaneParams, in fill_shadow_rec() argument
591 rec->fZPlaneParams = zPlaneParams; in fill_shadow_rec()
602 void SkShadowUtils::DrawShadow(SkCanvas* canvas, const SkPath& path, const SkPoint3& zPlaneParams, in DrawShadow() argument
607 if (!fill_shadow_rec(path, zPlaneParams, lightPos, lightRadius, ambientColor, spotColor, in DrawShadow()
616 const SkPoint3& zPlaneParams, const SkPoint3& lightPos, in GetLocalBounds() argument
619 if (!fill_shadow_rec(path, zPlaneParams, lightPos, lightRadius, SK_ColorBLACK, SK_ColorBLACK, in GetLocalBounds()
665 SkPoint3 zPlaneParams = rec.fZPlaneParams; in drawShadow() local
676 zPlaneParams, in drawShadow()
693 factory.fOccluderHeight = zPlaneParams.fZ; in drawShadow()
734 SkScalar devSpaceOutset = SkDrawShadowMetrics::AmbientBlurRadius(zPlaneParams.fZ); in drawShadow()
735 SkScalar oneOverA = SkDrawShadowMetrics::AmbientRecipAlpha(zPlaneParams.fZ); in drawShadow()
756 zPlaneParams, in drawShadow()
775 factory.fOccluderHeight = zPlaneParams.fZ; in drawShadow()
784 SkDrawShadowMetrics::GetDirectionalParams(zPlaneParams.fZ, devLightPos.fX, in drawShadow()
789 SkDrawShadowMetrics::GetSpotParams(zPlaneParams.fZ, devLightPos.fX - center.fX, in drawShadow()
837 viewMatrix, zPlaneParams, in drawShadow()