Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkStrikeSpec.cpp19 const SkMatrix& deviceMatrix) { in MakeMask() argument
22 storage.commonSetup(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask()
181 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
187 font, deviceMatrix, options, &storage.fStrikeToSourceRatio); in MakeSDFT()
195 font.getSize(), deviceMatrix, options); in MakeSDFT()
210 const SkMatrix& deviceMatrix) { in commonSetup() argument
214 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in commonSetup()
DSkStrikeSpec.h33 const SkMatrix& deviceMatrix);
68 const SkMatrix& deviceMatrix,
89 const SkMatrix& deviceMatrix);
DSkScalerContext.cpp715 SkMatrix deviceMatrix; in getSingleMatrix() local
716 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
717 m->postConcat(deviceMatrix); in getSingleMatrix()
960 const SkMatrix& deviceMatrix, in MakeRecAndEffects() argument
963 SkASSERT(!deviceMatrix.hasPerspective()); in MakeRecAndEffects()
976 const SkMatrix::TypeMask mask = deviceMatrix.getType(); in MakeRecAndEffects()
978 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
979 rec->fPost2x2[1][1] = sk_relax(deviceMatrix.getScaleY()); in MakeRecAndEffects()
985 rec->fPost2x2[0][1] = sk_relax(deviceMatrix.getSkewX()); in MakeRecAndEffects()
986 rec->fPost2x2[1][0] = sk_relax(deviceMatrix.getSkewY()); in MakeRecAndEffects()
[all …]
DSkScalerContext.h295 const SkMatrix& deviceMatrix,
343 const SkMatrix& deviceMatrix, SkAutoDescriptor* ad,
DSkGlyphRunPainter.h62 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix,
DSkGlyphRunPainter.cpp159 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
175 if (SkStrikeSpec::ShouldDrawAsPath(runPaint, runFont, deviceMatrix)) { in drawForBitmapDevice()
230 runFont, runPaint, props, fScalerContextFlags, deviceMatrix); in drawForBitmapDevice()
236 deviceMatrix, in drawForBitmapDevice()
/third_party/skia/src/core/
DSkStrikeSpec.cpp33 const SkMatrix& deviceMatrix) { in MakeMask() argument
35 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask()
176 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
181 SkFont dfFont = control.getSDFFont(font, deviceMatrix, &strikeToSourceScale); in MakeSDFT()
188 std::tie(minScale, maxScale) = control.computeSDFMinMaxScale(font.getSize(), deviceMatrix); in MakeSDFT()
203 const SkMatrix& deviceMatrix) { in SkStrikeSpec() argument
207 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in SkStrikeSpec()
DSkGlyphRunPainter.cpp81 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
101 if (SkStrikeSpec::ShouldDrawAsPath(paint, runFont, deviceMatrix)) { in drawForBitmapDevice()
120 if (!fRejects.source().empty() && !deviceMatrix.hasPerspective()) { in drawForBitmapDevice()
122 runFont, paint, props, fScalerContextFlags, deviceMatrix); in drawForBitmapDevice()
127 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
133 SkMatrix runMatrix = deviceMatrix; in drawForBitmapDevice()
182 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
DSkStrikeSpec.h46 const SkMatrix& deviceMatrix);
78 const SkMatrix& deviceMatrix,
106 const SkMatrix& deviceMatrix);
DSkScalerContext.cpp798 SkMatrix deviceMatrix; in getSingleMatrix() local
799 this->getMatrixFrom2x2(&deviceMatrix); in getSingleMatrix()
800 m->postConcat(deviceMatrix); in getSingleMatrix()
997 const SkMatrix& deviceMatrix, in MakeRecAndEffects() argument
1000 SkASSERT(!deviceMatrix.hasPerspective()); in MakeRecAndEffects()
1013 const SkMatrix::TypeMask mask = deviceMatrix.getType(); in MakeRecAndEffects()
1015 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
1016 rec->fPost2x2[1][1] = sk_relax(deviceMatrix.getScaleY()); in MakeRecAndEffects()
1022 rec->fPost2x2[0][1] = sk_relax(deviceMatrix.getSkewX()); in MakeRecAndEffects()
1023 rec->fPost2x2[1][0] = sk_relax(deviceMatrix.getSkewY()); in MakeRecAndEffects()
[all …]
DSkScalerContext.h316 const SkMatrix& deviceMatrix,
365 const SkMatrix& deviceMatrix, SkAutoDescriptor* ad,
DSkGlyphRunPainter.h84 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix,
DSkDevice.cpp357 SkMatrix deviceMatrixWithOffset = mapping.deviceMatrix(); in drawFilteredImage()
DSkImageFilterTypes.h461 const SkMatrix& deviceMatrix() const { return fLayerToDevMatrix; } in deviceMatrix() function
DSkCanvas.cpp942 const bool use_nn = draw_layer_as_sprite(mapping.deviceMatrix(), in internalDrawDeviceWithFilter()
948 dst->drawSpecial(filterInput.get(), mapping.deviceMatrix(), sampling, paint); in internalDrawDeviceWithFilter()
1106 SkM44(newLayerMapping.deviceMatrix()), in internalSaveLayer()
/third_party/skia/samplecode/
DSampleFilterBounds.cpp132 mapping.deviceMatrix(), in draw_scale_factors()
205 canvas->setMatrix(mapping.deviceMatrix()); in onDrawContent()
227 canvas->setMatrix(mapping.deviceMatrix()); in onDrawContent()
DSampleImageFilterDAG.cpp149 canvas->concat(node.fMapping.deviceMatrix()); in draw_node()
224 y = print_matrix(canvas, "Layer->Device", node.fMapping.deviceMatrix(), in print_info()