Searched refs:cgFloat (Results 1 – 2 of 2) sorted by relevance
28 static inline SkScalar SkScalarFromCGFloat(CGFloat cgFloat) { in SkScalarFromCGFloat() argument29 return CGFLOAT_IS_DOUBLE ? SkDoubleToScalar(cgFloat) : SkFloatToScalar(cgFloat); in SkScalarFromCGFloat()32 static inline float SkFloatFromCGFloat(CGFloat cgFloat) { in SkFloatFromCGFloat() argument33 return CGFLOAT_IS_DOUBLE ? static_cast<float>(cgFloat) : cgFloat; in SkFloatFromCGFloat()
168 static SkScalar CGToScalar(CGFloat cgFloat) { in CGToScalar() argument170 return SkFloatToScalar(cgFloat); in CGToScalar()173 return SkDoubleToScalar(cgFloat); in CGToScalar()177 static float CGToFloat(CGFloat cgFloat) { in CGToFloat() argument179 return cgFloat; in CGToFloat()182 return static_cast<float>(cgFloat); in CGToFloat()