Searched defs:SkScalarRoundToInt (Results 1 - 1 of 1) sorted by relevance

/external/skia/include/core/
H A DSkScalar.h44 #define SkScalarRoundToInt(x) sk_float_round2int(x) macro
87 #define SkScalarRoundToInt(x) (int)floor((x) + 0.5) macro
152 * Variant of SkScalarRoundToInt, that performs the rounding step (adding 0.5) explicitly using
155 * This routine will likely be slower than SkScalarRoundToInt(), and should only be used when the
160 * int ix = SkScalarRoundToInt(x);

Completed in 35 milliseconds