Searched refs:SkFixedToScalar (Results 1 – 12 of 12) sorted by relevance
/external/skia/include/utils/ |
D | SkRandom.h | 104 SkScalar nextUScalar1() { return SkFixedToScalar(this->nextUFixed1()); } in nextUScalar1() 116 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 146 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 …]
|
D | SkFontHost_FreeType.cpp | 592 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()
|
D | SkFontMgr_android_parser.cpp | 195 coordinate.value = SkFixedToScalar(axisStyleValue); in __anonbbaf037e0102()
|
/external/skia/src/core/ |
D | SkBitmapProcState.h | 243 scalarPoint->set(pt.x() - SkFixedToScalar(biasX), 244 pt.y() - SkFixedToScalar(biasY));
|
D | SkScalerContext.cpp | 592 path.offset(SkFixedToScalar(dx), SkFixedToScalar(dy)); in internalGetPath()
|
D | SkFindAndPlaceGlyph.h | 363 #define kSubpixelRounding (SkFixedToScalar(SkGlyph::kSubpixelRound))
|
/external/skia/include/private/ |
D | SkFixed.h | 141 #define SkFixedToScalar(x) SkFixedToFloat(x) macro
|
/external/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 59 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1()
|
D | GrCircleBlurFragmentProcessor.cpp | 290 sigmaToCircleRRatio = SkFixedToScalar(sigmaToCircleRRatioFixed); in create_profile_texture()
|
/external/skia/src/utils/ |
D | SkInterpolator.cpp | 270 return SkFixedToScalar(eval_cubic(t, A, B, C) << 2); in SkUnitCubicInterp()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 787 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()
|