Lines Matching defs:localMatrix
238 SkMatrix localMatrix;
242 // a shifted image, it will shift it from there using the localMatrix.
245 localMatrix.setTranslate(SkFloatToScalar(adjustedX), SkFloatToScalar(adjustedY));
261 // CTM * localMatrix to have identity scale. Since we
263 // place), we must set localMatrix's scale to the inverse of
265 localMatrix.preScale(ctmScaleX ? 1 / ctmScaleX : 1, ctmScaleY ? 1 / ctmScaleY : 1);
273 shader = adoptRef(SkShader::CreateBitmapShader(resampled, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, &localMatrix));
277 SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, &localMatrix));
282 localMatrix.preScale(scale.width(), scale.height());
288 shader = adoptRef(SkShader::CreateBitmapShader(srcSubset, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, &localMatrix));
292 SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, &localMatrix));