Home
last modified time | relevance | path

Searched refs:deviceMatrix (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp1188 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()
/external/skia/src/core/
DSkPaint.cpp1244 const SkMatrix* deviceMatrix, Rec* rec) { in MakeRec() argument
1245 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() argument
1356 SkScalerContext::MakeRec(*this, deviceMatrix, &rec); in descriptorProc()
1458 SkGlyphCache* SkPaint::detachCache(const SkMatrix* deviceMatrix) const { in detachCache()
[all …]
DSkScalerContext.cpp628 SkMatrix deviceMatrix; in getSingleMatrix() local
629 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
630 m->postConcat(deviceMatrix); in getSingleMatrix()
/external/skia/include/core/
DSkPaint.h863 void descriptorProc(const SkMatrix* deviceMatrix,