Searched defs:deviceMatrix (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/core/
H A DSkScalerContext.cpp631 SkMatrix deviceMatrix; local
632 this->getMatrixFrom2x2(&deviceMatrix);
633 m->postConcat(deviceMatrix);
/external/webkit/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp829 const SkMatrix& deviceMatrix = platformContext()->canvas()->getTotalMatrix(); local
830 if (deviceMatrix.isIdentity())
833 float deviceScaleX = sqrtf(square(deviceMatrix.getScaleX())
834 + square(deviceMatrix.getSkewY()));
835 float deviceScaleY = sqrtf(square(deviceMatrix.getSkewX())
836 + square(deviceMatrix.getScaleY()));

Completed in 133 milliseconds