Home
last modified time | relevance | path

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

/external/skia/include/utils/
DSkRandom.h104 SkScalar nextUScalar1() { return SkFixedToScalar(this->nextUFixed1()); } in nextUScalar1()
116 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
/external/skia/src/ports/
DSkFontHost_win.cpp146 return SkFixedToScalar(SkFIXEDToFixed(x)); in SkFIXEDToScalar()
1481 path->moveTo(SkFixedToScalar( SkFIXEDToFixed(th->pfxStart.x)), in sk_path_from_gdi_path()
1482 SkFixedToScalar(-SkFIXEDToFixed(th->pfxStart.y))); in sk_path_from_gdi_path()
1489 path->lineTo(SkFixedToScalar( SkFIXEDToFixed(pc->apfx[i].x)), in sk_path_from_gdi_path()
1490 SkFixedToScalar(-SkFIXEDToFixed(pc->apfx[i].y))); in sk_path_from_gdi_path()
1506 path->quadTo(SkFixedToScalar( SkFIXEDToFixed(pnt_b.x)), in sk_path_from_gdi_path()
1507 SkFixedToScalar(-SkFIXEDToFixed(pnt_b.y)), in sk_path_from_gdi_path()
1508 SkFixedToScalar( SkFIXEDToFixed(pnt_c.x)), in sk_path_from_gdi_path()
1509 SkFixedToScalar(-SkFIXEDToFixed(pnt_c.y))); in sk_path_from_gdi_path()
1542 path->moveTo(SkFixedToScalar( SkFIXEDToFixed(th->pfxStart.x)), in sk_path_from_gdi_paths()
[all …]
DSkFontHost_FreeType.cpp592 info->fItalicAngle = SkFixedToScalar(postTable->italicAngle); in onGetAdvancedTypefaceMetrics()
1034 return SkFixedToScalar(x); in SkFT_FixedToScalar()
1212 rect.offset(SkFixedToScalar(glyph->getSubXFixed()), in generateMetrics()
1213 SkFixedToScalar(glyph->getSubYFixed())); in generateMetrics()
1284 subpixelBitmapMatrix.postTranslate(SkFixedToScalar(glyph.getSubXFixed()), in generateImage()
1285 SkFixedToScalar(glyph.getSubYFixed())); in generateImage()
1601 coordinates[i].value = SkFixedToScalar(coords[i]); in onGetVariationDesignPosition()
1606 coordinates[i].value = SkFixedToScalar(fta.getAxes()[i]); in onGetVariationDesignPosition()
1855 const SkScalar axisMin = SkFixedToScalar(axisDefinition.fMinimum); in computeAxisValues()
1856 const SkScalar axisMax = SkFixedToScalar(axisDefinition.fMaximum); in computeAxisValues()
DSkFontMgr_android_parser.cpp195 coordinate.value = SkFixedToScalar(axisStyleValue); in __anonbbaf037e0102()
/external/skia/src/core/
DSkBitmapProcState.h243 scalarPoint->set(pt.x() - SkFixedToScalar(biasX),
244 pt.y() - SkFixedToScalar(biasY));
DSkScalerContext.cpp592 path.offset(SkFixedToScalar(dx), SkFixedToScalar(dy)); in internalGetPath()
DSkFindAndPlaceGlyph.h363 #define kSubpixelRounding (SkFixedToScalar(SkGlyph::kSubpixelRound))
/external/skia/include/private/
DSkFixed.h141 #define SkFixedToScalar(x) SkFixedToFloat(x) macro
/external/skia/src/effects/
DSkDiscretePathEffect.cpp59 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
DGrCircleBlurFragmentProcessor.cpp290 sigmaToCircleRRatio = SkFixedToScalar(sigmaToCircleRRatioFixed); in create_profile_texture()
/external/skia/src/utils/
DSkInterpolator.cpp270 return SkFixedToScalar(eval_cubic(t, A, B, C) << 2); in SkUnitCubicInterp()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp787 info->fColorOffsets[i] = SkFixedToScalar(recLoc[i].fPos); in commonAsAGradient()
813 str->appendScalar(SkFixedToScalar(fRecs[i].fPos)); in toString()
1136 return SkScalarNearlyEqual(SkFixedToScalar(val), SK_ScalarHalf); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()