Home
last modified time | relevance | path

Searched refs:sk_float_round (Results 1 – 3 of 3) sorted by relevance

/external/skia/docs/examples/
DSkParsePath_ToSVGString.cpp8 path.moveTo(sk_float_round(C + R), sk_float_round(C)); in star()
11 path.lineTo(sk_float_round(C + R * cos(a)), sk_float_round(C + R * sin(a))); in star()
/external/skia/include/private/base/
DSkFloatingPoint.h63 #define sk_float_round(x) (float)sk_double_round((double)(x)) macro
136 #define sk_float_round2int(x) sk_float_saturate2int(sk_float_round(x))
140 #define sk_float_round2int_no_saturate(x) (int)sk_float_round(x)
/external/skia/include/core/
DSkScalar.h30 #define SkScalarRoundToScalar(x) sk_float_round(x)