Searched refs:deviceMatrix (Results 1 – 4 of 4) sorted by relevance
1188 CGAffineTransform deviceMatrix = CGContextGetUserSpaceToDeviceSpaceTransform(platformContext()); in roundToDevicePixels()1189 if (CGAffineTransformIsIdentity(deviceMatrix)) { in roundToDevicePixels()1194 float deviceScaleX = sqrtf(deviceMatrix.a * deviceMatrix.a + deviceMatrix.b * deviceMatrix.b); in roundToDevicePixels()1195 float deviceScaleY = sqrtf(deviceMatrix.c * deviceMatrix.c + deviceMatrix.d * deviceMatrix.d); in roundToDevicePixels()
1244 const SkMatrix* deviceMatrix, Rec* rec) { in MakeRec() argument1245 SkASSERT(deviceMatrix == NULL || !deviceMatrix->hasPerspective()); in MakeRec()1253 if (deviceMatrix) { in MakeRec()1254 rec->fPost2x2[0][0] = sk_relax(deviceMatrix->getScaleX()); in MakeRec()1255 rec->fPost2x2[0][1] = sk_relax(deviceMatrix->getSkewX()); in MakeRec()1256 rec->fPost2x2[1][0] = sk_relax(deviceMatrix->getSkewY()); in MakeRec()1257 rec->fPost2x2[1][1] = sk_relax(deviceMatrix->getScaleY()); in MakeRec()1351 void SkPaint::descriptorProc(const SkMatrix* deviceMatrix, in descriptorProc() argument1356 SkScalerContext::MakeRec(*this, deviceMatrix, &rec); in descriptorProc()1458 SkGlyphCache* SkPaint::detachCache(const SkMatrix* deviceMatrix) const { in detachCache()[all …]
628 SkMatrix deviceMatrix; in getSingleMatrix() local629 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()630 m->postConcat(deviceMatrix); in getSingleMatrix()
863 void descriptorProc(const SkMatrix* deviceMatrix,