Searched refs:nsvg__maxf (Results 1 – 1 of 1) sorted by relevance
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 234 static NSVG_INLINE float nsvg__maxf(float a, float b) { return a > b ? a : b; } in nsvg__maxf() function 580 bounds[2] = nsvg__maxf(v0[0], v3[0]); in nsvg__curveBounds() 581 bounds[3] = nsvg__maxf(v0[1], v3[1]); in nsvg__curveBounds() 614 bounds[2+i] = nsvg__maxf(bounds[2+i], (float)v); in nsvg__curveBounds() 928 bounds[2] = nsvg__maxf(bounds[2], curveBounds[2]); in nsvg__getLocalBounds() 929 bounds[3] = nsvg__maxf(bounds[3], curveBounds[3]); in nsvg__getLocalBounds() 976 shape->bounds[2] = nsvg__maxf(shape->bounds[2], path->bounds[2]); in nsvg__addShape() 977 shape->bounds[3] = nsvg__maxf(shape->bounds[3], path->bounds[3]); in nsvg__addShape() 1068 path->bounds[2] = nsvg__maxf(path->bounds[2], bounds[2]); in nsvg__addPath() 1069 path->bounds[3] = nsvg__maxf(path->bounds[3], bounds[3]); in nsvg__addPath() [all …]
|