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

/external/skia/include/private/
H A DSkFixed.h16 /** \file SkFixed.h
23 typedef int32_t SkFixed; typedef
42 static inline SkFixed SkFloatToFixed_Check(float x) {
44 SkFixed n32 = (SkFixed)n64;
53 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1))
55 /** Converts an integer to a SkFixed, asserting that the result does not overflow
59 inline SkFixed SkIntToFixed(int n)
68 // shifting. Then we force the cast to SkFixed to ensure that the answer is signed (like the
70 #define SkIntToFixed(n) (SkFixed)((unsigne
[all...]
/external/skqp/include/private/
H A DSkFixed.h16 /** \file SkFixed.h
23 typedef int32_t SkFixed; typedef
42 static inline SkFixed SkFloatToFixed_Check(float x) {
44 SkFixed n32 = (SkFixed)n64;
53 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1))
55 /** Converts an integer to a SkFixed, asserting that the result does not overflow
59 inline SkFixed SkIntToFixed(int n)
68 // shifting. Then we force the cast to SkFixed to ensure that the answer is signed (like the
70 #define SkIntToFixed(n) (SkFixed)((unsigne
[all...]

Completed in 4359 milliseconds