Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStrikeSpec.cpp25 const SkMatrix& deviceMatrix) { in MakeMask() argument
27 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix, 1); in MakeMask()
169 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
174 SkFont dfFont = control.getSDFFont(font, deviceMatrix, &strikeToSourceRatio); in MakeSDFT()
181 std::tie(minScale, maxScale) = control.computeSDFMinMaxScale(font.getSize(), deviceMatrix); in MakeSDFT()
197 const SkMatrix& deviceMatrix, in SkStrikeSpec() argument
204 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in SkStrikeSpec()
DSkGlyphRunPainter.cpp82 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
102 if (SkStrikeSpec::ShouldDrawAsPath(paint, runFont, deviceMatrix)) { in drawForBitmapDevice()
121 if (!fRejects.source().empty() && !deviceMatrix.hasPerspective()) { in drawForBitmapDevice()
123 runFont, paint, props, fScalerContextFlags, deviceMatrix); in drawForBitmapDevice()
128 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
134 SkMatrix runMatrix = deviceMatrix; in drawForBitmapDevice()
183 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
DSkStrikeSpec.h42 const SkMatrix& deviceMatrix);
77 const SkMatrix& deviceMatrix,
100 const SkMatrix& deviceMatrix,
DSkScalerContext.cpp791 SkMatrix deviceMatrix; in getSingleMatrix() local
792 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
793 m->postConcat(deviceMatrix); in getSingleMatrix()
990 const SkMatrix& deviceMatrix, in MakeRecAndEffects() argument
993 SkASSERT(!deviceMatrix.hasPerspective()); in MakeRecAndEffects()
1006 const SkMatrix::TypeMask mask = deviceMatrix.getType(); in MakeRecAndEffects()
1008 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
1009 rec->fPost2x2[1][1] = sk_relax(deviceMatrix.getScaleY()); in MakeRecAndEffects()
1015 rec->fPost2x2[0][1] = sk_relax(deviceMatrix.getSkewX()); in MakeRecAndEffects()
1016 rec->fPost2x2[1][0] = sk_relax(deviceMatrix.getSkewY()); in MakeRecAndEffects()
[all …]
DSkScalerContext.h308 const SkMatrix& deviceMatrix,
357 const SkMatrix& deviceMatrix, SkAutoDescriptor* ad,
DSkGlyphRunPainter.h82 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix,
DSkDevice.cpp354 SkMatrix deviceMatrixWithOffset = mapping.deviceMatrix(); in drawFilteredImage()
DSkImageFilterTypes.h419 const SkMatrix& deviceMatrix() const { return fLayerToDevMatrix; } in deviceMatrix() function
/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/skia/samplecode/
DSampleFilterBounds.cpp132 mapping.deviceMatrix(), in draw_scale_factors()
204 canvas->setMatrix(mapping.deviceMatrix()); in onDrawContent()
226 canvas->setMatrix(mapping.deviceMatrix()); in onDrawContent()
DSampleImageFilterDAG.cpp148 canvas->concat(node.fMapping.deviceMatrix()); in draw_node()
223 y = print_matrix(canvas, "Layer->Device", node.fMapping.deviceMatrix(), in print_info()
/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.cpp1940 const CFX_Matrix* deviceMatrix = pObject2Device ? pObject2Device : &identity; in SetClip_PathFill() local
1941 bool cached = m_pCache->SetClipFill(pPathData, deviceMatrix, fill_mode); in SetClip_PathFill()
1953 if (pPathData->IsRect(deviceMatrix, &rectf)) { in SetClip_PathFill()
1975 SkMatrix skMatrix = ToSkMatrix(*deviceMatrix); in SetClip_PathFill()