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()
1447 const SkMatrix* deviceMatrix, Rec* rec) { in MakeRec() argument1448 SkASSERT(deviceMatrix == NULL || !deviceMatrix->hasPerspective()); in MakeRec()1457 if (deviceMatrix) { in MakeRec()1458 rec->fPost2x2[0][0] = sk_relax(deviceMatrix->getScaleX()); in MakeRec()1459 rec->fPost2x2[0][1] = sk_relax(deviceMatrix->getSkewX()); in MakeRec()1460 rec->fPost2x2[1][0] = sk_relax(deviceMatrix->getSkewY()); in MakeRec()1461 rec->fPost2x2[1][1] = sk_relax(deviceMatrix->getScaleY()); in MakeRec()1633 void SkPaint::descriptorProc(const SkMatrix* deviceMatrix, in descriptorProc() argument1638 SkScalerContext::MakeRec(*this, deviceMatrix, &rec); in descriptorProc()1748 SkGlyphCache* SkPaint::detachCache(const SkMatrix* deviceMatrix) const { in detachCache()[all …]
701 SkMatrix deviceMatrix; in getSingleMatrix() local702 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()703 m->postConcat(deviceMatrix); in getSingleMatrix()
920 void descriptorProc(const SkMatrix* deviceMatrix,