Searched refs:spotOffset (Results 1 – 1 of 1) sorted by relevance
1068 SkPoint spotOffset = SkPoint::Make(zRatio*(-devLightPos.fX), zRatio*(-devLightPos.fY)); in drawFastShadow() local1070 spotOffset.fX += spotScale*viewMatrix[SkMatrix::kMTransX]; in drawFastShadow()1071 spotOffset.fY += spotScale*viewMatrix[SkMatrix::kMTransY]; in drawFastShadow()1075 ctmInverse.mapPoints(&spotOffset, 1); in drawFastShadow()1085 shadowTransform.setScaleTranslate(spotScale, spotScale, spotOffset.fX, spotOffset.fY); in drawFastShadow()