Searched refs:spotScale (Results 1 – 1 of 1) sorted by relevance
1067 const SkScalar spotScale = devLightPos.fZ / (devLightPos.fZ - occluderHeight); in drawFastShadow() local1070 spotOffset.fX += spotScale*viewMatrix[SkMatrix::kMTransX]; in drawFastShadow()1071 spotOffset.fY += spotScale*viewMatrix[SkMatrix::kMTransY]; in drawFastShadow()1085 shadowTransform.setScaleTranslate(spotScale, spotScale, spotOffset.fX, spotOffset.fY); in drawFastShadow()