Searched refs:SkFixedToScalar (Results 1 – 14 of 14) sorted by relevance
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 481 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 …]
|
D | SkScalerContext_win_dw.cpp | 630 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()
|
D | SkFontHost_FreeType.cpp | 86 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 …]
|
D | SkFontMgr_config_parser.cpp | 179 coordinate.value = SkFixedToScalar(axisStyleValue); in __anonae5419110202()
|
D | SkFontMgr_android_parser.cpp | 212 coordinate.value = SkFixedToScalar(axisStyleValue); in __anon03159e3c0102()
|
D | SkFontHost_win.cpp | 151 return SkFixedToScalar(SkFIXEDToFixed(x)); in SkFIXEDToScalar()
|
/third_party/skia/include/utils/ |
D | SkRandom.h | 97 SkScalar nextUScalar1() { return SkFixedToScalar(this->nextUFixed1()); } in nextUScalar1() 109 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
|
/third_party/skia/src/core/ |
D | SkBitmapProcState.h | 183 scalarPoint->set(pt.x() - SkFixedToScalar(biasX), 184 pt.y() - SkFixedToScalar(biasY));
|
D | SkScalerContext.cpp | 712 path.offset(SkFixedToScalar(dx), SkFixedToScalar(dy)); in internalGetPath()
|
D | SkBlurMF.cpp | 780 sigmaToCircleRRatio = SkFixedToScalar(sigmaToCircleRRatioFixed); in create_profile_effect()
|
/third_party/skia/include/private/ |
D | SkFixed.h | 122 #define SkFixedToScalar(x) SkFixedToFloat(x) macro
|
/third_party/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 35 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
|
/third_party/skia/src/ports/skia_ohos/ |
D | FontInfo_ohos.h | 138 auto value = SkFixedToScalar(axisSet.axis[i]); in computeFontStyle()
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 213 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()
|