Searched refs:roundf (Results 1 – 6 of 6) sorted by relevance
44 *outColor = SkColorSetARGB((U8CPU)roundf(a * 255.0f), (U8CPU)roundf(OECF_sRGB(r) * 255.0f), in evaluate()45 (U8CPU)roundf(OECF_sRGB(g) * 255.0f), in evaluate()46 (U8CPU)roundf(OECF_sRGB(b) * 255.0f)); in evaluate()
68 return vec2i(roundf(v.x()), roundf(v.y())); in Round()72 return vec2i(roundf(static_cast<float>(v.x()) * scale), in Scale()73 roundf(static_cast<float>(v.y()) * scale)); in Scale()
513 xAdvance = roundf(xAdvance); in LayoutPiece()522 glyphBounds.mLeft = roundf(HBFixedToFloat(extents.x_bearing)); in LayoutPiece()523 glyphBounds.mTop = roundf(HBFixedToFloat(-extents.y_bearing)); in LayoutPiece()524 glyphBounds.mRight = roundf(HBFixedToFloat(extents.x_bearing + extents.width)); in LayoutPiece()526 roundf(HBFixedToFloat(-extents.y_bearing - extents.height)); in LayoutPiece()
166 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect()167 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect()168 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect()169 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
146 EXPORT_F32_FN_F32(roundf) in EXPORT_F32_FN_F32() argument
350 /* Define to 1 if you have the `roundf' function. */