Home
last modified time | relevance | path

Searched refs:SkScalarToDouble (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/svg/parser/
DSkSVGCircle.cpp36 sprintf(scratch, "%g", SkScalarToDouble(left)); in DEFINE_SVG_INFO()
38 sprintf(scratch, "%g", SkScalarToDouble(top)); in DEFINE_SVG_INFO()
40 sprintf(scratch, "%g", SkScalarToDouble(right)); in DEFINE_SVG_INFO()
42 sprintf(scratch, "%g", SkScalarToDouble(bottom)); in DEFINE_SVG_INFO()
DSkSVGEllipse.cpp38 sprintf(scratch, "%g", SkScalarToDouble(left)); in DEFINE_SVG_INFO()
40 sprintf(scratch, "%g", SkScalarToDouble(top)); in DEFINE_SVG_INFO()
42 sprintf(scratch, "%g", SkScalarToDouble(right)); in DEFINE_SVG_INFO()
44 sprintf(scratch, "%g", SkScalarToDouble(bottom)); in DEFINE_SVG_INFO()
/external/skia/samplecode/
DSamplePath.cpp73 SkScalarToDouble(r.fLeft), SkScalarToDouble(r.fTop), in test_cubic2()
74 SkScalarToDouble(r.fRight), SkScalarToDouble(r.fBottom), in test_cubic2()
/external/skia/src/core/
DSkFDot6.h32 tmp.fDouble = SkScalarToDouble(x) + magic;
DSkPath.cpp1210 SkScalarToDouble(rx), SkScalarToDouble(ry) ); in addRoundRect()
2326 double dLastVecX = SkScalarToDouble(fLastPt.fX) - SkScalarToDouble(fPriorPt.fX); in directionChange()
2327 double dLastVecY = SkScalarToDouble(fLastPt.fY) - SkScalarToDouble(fPriorPt.fY); in directionChange()
2328 double dCurrVecX = SkScalarToDouble(fCurrPt.fX) - SkScalarToDouble(fLastPt.fX); in directionChange()
2329 double dCurrVecY = SkScalarToDouble(fCurrPt.fY) - SkScalarToDouble(fLastPt.fY); in directionChange()
2331 if (!approximately_zero_when_compared_to(dCross, SkScalarToDouble(largest))) { in directionChange()
2553 double p0x = SkScalarToDouble(p0.fX); in cross_prod()
2554 double p0y = SkScalarToDouble(p0.fY); in cross_prod()
2556 double p1x = SkScalarToDouble(p1.fX); in cross_prod()
2557 double p1y = SkScalarToDouble(p1.fY); in cross_prod()
[all …]
/external/skia/gm/
DSkAnimTimer.h99 value = ::fmod(value, SkScalarToDouble(period));
/external/skia/include/utils/
DSkLua.h27 #define SkScalarToLua(x) SkScalarToDouble(x)
/external/skia/include/core/
DSkScalar.h115 #define SkScalarToDouble(x) static_cast<double>(x) macro
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1784 SkScalarToDouble(axisSpecified.fStyleValue), in computeAxisValues()
1785 SkScalarToDouble(axisValue))); in computeAxisValues()
DSkFontHost_mac.cpp274 return (CGFloat) SkScalarToDouble(scalar); in ScalarToCG()
2466 value = SkTPin(SkScalarToDouble(paramAxes[j].fStyleValue),minDouble,maxDouble); in get_axes()