Home
last modified time | relevance | path

Searched refs:SkFixedToScalar (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp481 SkFixedToScalar(affine23.xx), -SkFixedToScalar(affine23.xy), SkFixedToScalar(affine23.dx), in ToSkMatrix()
482 -SkFixedToScalar(affine23.yx), SkFixedToScalar(affine23.yy), -SkFixedToScalar(affine23.dy), in ToSkMatrix()
576 SkPoint line_positions[2] = {SkPoint::Make(SkFixedToScalar(linear_gradient.p0.x), in colrv1_configure_skpaint()
577 -SkFixedToScalar(linear_gradient.p0.y)), in colrv1_configure_skpaint()
578 SkPoint::Make(SkFixedToScalar(linear_gradient.p1.x), in colrv1_configure_skpaint()
579 -SkFixedToScalar(linear_gradient.p1.y))}; in colrv1_configure_skpaint()
582 SkPoint p2 = SkPoint::Make(SkFixedToScalar(linear_gradient.p2.x), in colrv1_configure_skpaint()
583 -SkFixedToScalar(linear_gradient.p2.y)); in colrv1_configure_skpaint()
644 SkPoint start = SkPoint::Make(SkFixedToScalar(radial_gradient.c0.x), in colrv1_configure_skpaint()
645 -SkFixedToScalar(radial_gradient.c0.y)); in colrv1_configure_skpaint()
[all …]
DSkScalerContext_win_dw.cpp630 matrix.postTranslate(SkFixedToScalar(glyph->getSubXFixed()), in generateColorMetrics()
631 SkFixedToScalar(glyph->getSubYFixed())); in generateColorMetrics()
697 matrix.postTranslate(SkFixedToScalar(glyph->getSubXFixed()), in generatePngMetrics()
698 SkFixedToScalar(glyph->getSubYFixed())); in generatePngMetrics()
1066 matrix.postTranslate(SkFixedToScalar(glyph.getSubXFixed()), in generateColorGlyphImage()
1067 SkFixedToScalar(glyph.getSubYFixed())); in generateColorGlyphImage()
1155 canvas.translate(SkFixedToScalar(glyph.getSubXFixed()), in generatePngGlyphImage()
1156 SkFixedToScalar(glyph.getSubYFixed())); in generatePngGlyphImage()
DSkFontHost_FreeType.cpp86 return SkFixedToScalar(x); in SkFT_FixedToScalar()
622 coordinates[i].value = SkFixedToScalar(coords[i]); in GetVariationDesignPosition()
1252 rect.offset(SkFixedToScalar(glyph->getSubXFixed()), in generateMetrics()
1253 SkFixedToScalar(glyph->getSubYFixed())); in generateMetrics()
1315 subpixelBitmapMatrix.postTranslate(SkFixedToScalar(glyph.getSubXFixed()), in generateImage()
1316 SkFixedToScalar(glyph.getSubYFixed())); in generateImage()
1666 parameters[i].min = SkFixedToScalar(variations->axis[i].minimum); in onGetVariationDesignParameters()
1667 parameters[i].def = SkFixedToScalar(variations->axis[i].def); in onGetVariationDesignParameters()
1668 parameters[i].max = SkFixedToScalar(variations->axis[i].maximum); in onGetVariationDesignParameters()
1962 const SkScalar axisMin = SkFixedToScalar(axisDefinition.fMinimum); in computeAxisValues()
[all …]
DSkFontMgr_config_parser.cpp179 coordinate.value = SkFixedToScalar(axisStyleValue); in __anonae5419110202()
DSkFontMgr_android_parser.cpp212 coordinate.value = SkFixedToScalar(axisStyleValue); in __anon03159e3c0102()
DSkFontHost_win.cpp151 return SkFixedToScalar(SkFIXEDToFixed(x)); in SkFIXEDToScalar()
/third_party/skia/include/utils/
DSkRandom.h97 SkScalar nextUScalar1() { return SkFixedToScalar(this->nextUFixed1()); } in nextUScalar1()
109 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
/third_party/skia/src/core/
DSkBitmapProcState.h183 scalarPoint->set(pt.x() - SkFixedToScalar(biasX),
184 pt.y() - SkFixedToScalar(biasY));
DSkScalerContext.cpp712 path.offset(SkFixedToScalar(dx), SkFixedToScalar(dy)); in internalGetPath()
DSkBlurMF.cpp780 sigmaToCircleRRatio = SkFixedToScalar(sigmaToCircleRRatioFixed); in create_profile_effect()
/third_party/skia/include/private/
DSkFixed.h122 #define SkFixedToScalar(x) SkFixedToFloat(x) macro
/third_party/skia/src/effects/
DSkDiscretePathEffect.cpp35 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
/third_party/skia/src/ports/skia_ohos/
DFontInfo_ohos.h138 auto value = SkFixedToScalar(axisSet.axis[i]); in computeFontStyle()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp213 SkScalar dx = SkFixedToScalar(glyph->getSubXFixed()); in generateMetrics()
214 SkScalar dy = SkFixedToScalar(glyph->getSubYFixed()); in generateMetrics()
238 SkScalar dx = SkFixedToScalar(glyph.getSubXFixed()); in generateImage()
239 SkScalar dy = SkFixedToScalar(glyph.getSubYFixed()); in generateImage()