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.cpp1447 const SkMatrix* deviceMatrix, Rec* rec) { in MakeRec() argument
1448 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() argument
1638 SkScalerContext::MakeRec(*this, deviceMatrix, &rec); in descriptorProc()
1748 SkGlyphCache* SkPaint::detachCache(const SkMatrix* deviceMatrix) const { in detachCache()
[all …]
DSkScalerContext.cpp701 SkMatrix deviceMatrix; in getSingleMatrix() local
702 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
703 m->postConcat(deviceMatrix); in getSingleMatrix()
/external/skia/include/core/
DSkPaint.h920 void descriptorProc(const SkMatrix* deviceMatrix,