Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScalerContext.cpp674 SkMatrix deviceMatrix; in getSingleMatrix() local
675 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
676 m->postConcat(deviceMatrix); in getSingleMatrix()
927 const SkMatrix& deviceMatrix, in MakeRecAndEffects() argument
930 SkASSERT(!deviceMatrix.hasPerspective()); in MakeRecAndEffects()
943 const SkMatrix::TypeMask mask = deviceMatrix.getType(); in MakeRecAndEffects()
945 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
946 rec->fPost2x2[1][1] = sk_relax(deviceMatrix.getScaleY()); in MakeRecAndEffects()
952 rec->fPost2x2[0][1] = sk_relax(deviceMatrix.getSkewX()); in MakeRecAndEffects()
953 rec->fPost2x2[1][0] = sk_relax(deviceMatrix.getSkewY()); in MakeRecAndEffects()
[all …]
DSkStrikeCache.h126 const SkMatrix& deviceMatrix);
133 const SkMatrix& deviceMatrix);
DSkStrikeCache.cpp198 const SkMatrix& deviceMatrix) in FindOrCreateStrikeExclusive() argument
202 font, paint, surfaceProps, scalerContextFlags,deviceMatrix)); in FindOrCreateStrikeExclusive()
210 const SkMatrix& deviceMatrix) -> Node* in findOrCreateStrike() argument
216 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, &ad, &effects); in findOrCreateStrike()
DSkScalerContext.h301 const SkMatrix& deviceMatrix,
349 const SkMatrix& deviceMatrix, SkAutoDescriptor* ad,
DSkGlyphRunPainter.h66 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix,
DSkGlyphRunPainter.cpp167 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
183 if (ShouldDrawAsPath(runPaint, runFont, deviceMatrix)) { in drawForBitmapDevice()
222 fScalerContextFlags, deviceMatrix); in drawForBitmapDevice()
225 SkMatrix matrix = deviceMatrix; in drawForBitmapDevice()
/external/skqp/src/core/
DSkScalerContext.cpp646 SkMatrix deviceMatrix; in getSingleMatrix() local
647 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
648 m->postConcat(deviceMatrix); in getSingleMatrix()
899 const SkMatrix& deviceMatrix, in MakeRecAndEffects() argument
903 SkASSERT(!deviceMatrix.hasPerspective()); in MakeRecAndEffects()
916 const SkMatrix::TypeMask mask = deviceMatrix.getType(); in MakeRecAndEffects()
918 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
919 rec->fPost2x2[1][1] = sk_relax(deviceMatrix.getScaleY()); in MakeRecAndEffects()
925 rec->fPost2x2[0][1] = sk_relax(deviceMatrix.getSkewX()); in MakeRecAndEffects()
926 rec->fPost2x2[1][0] = sk_relax(deviceMatrix.getSkewY()); in MakeRecAndEffects()
[all …]
DSkGlyphRunPainter.h78 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix,
84 SkPoint origin, const SkMatrix& deviceMatrix,
DSkStrikeCache.h122 const SkMatrix& deviceMatrix);
129 const SkMatrix& deviceMatrix);
DSkStrikeCache.cpp173 const SkMatrix& deviceMatrix) in FindOrCreateStrikeExclusive() argument
177 font, paint, surfaceProps, scalerContextFlags,deviceMatrix)); in FindOrCreateStrikeExclusive()
185 const SkMatrix& deviceMatrix) -> Node* in findOrCreateStrike() argument
191 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, &ad, &effects); in findOrCreateStrike()
DSkScalerContext.h311 const SkMatrix& deviceMatrix,
361 const SkMatrix& deviceMatrix, SkAutoDescriptor* ad,
DSkGlyphRunPainter.cpp153 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
169 if (ShouldDrawAsPath(runPaint, runFont, deviceMatrix)) { in drawForBitmapDevice()
208 fScalerContextFlags, deviceMatrix); in drawForBitmapDevice()
211 SkMatrix matrix = deviceMatrix; in drawForBitmapDevice()
374 SkPoint origin, const SkMatrix& deviceMatrix, in drawGlyphRunAsBMPWithPathFallback() argument
382 SkMatrix mapping = deviceMatrix; in drawGlyphRunAsBMPWithPathFallback()
DSkRemoteGlyphCache.h68 SkTextBlobCacheDiffCanvas(int width, int height, const SkMatrix& deviceMatrix,
DSkRemoteGlyphCache.cpp224 const SkMatrix& deviceMatrix, in SkTextBlobCacheDiffCanvas() argument
/external/skqp/tools/
Dremote_demo.cpp136 SkMatrix deviceMatrix = SkMatrix::I(); in push_font_data() local
139 SkTextBlobCacheDiffCanvas filter(bounds.width(), bounds.height(), deviceMatrix, props, in push_font_data()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1804 const CFX_Matrix* deviceMatrix = pObject2Device ? pObject2Device : &identity; in SetClip_PathFill() local
1805 bool cached = m_pCache->SetClipFill(pPathData, deviceMatrix, fill_mode); in SetClip_PathFill()
1817 if (pPathData->IsRect(deviceMatrix, &rectf)) { in SetClip_PathFill()
1841 SkMatrix skMatrix = ToSkMatrix(*deviceMatrix); in SetClip_PathFill()