Searched refs:nsvg__minf (Results 1 – 1 of 1) sorted by relevance
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 233 static NSVG_INLINE float nsvg__minf(float a, float b) { return a < b ? a : b; } in nsvg__minf() function 578 bounds[0] = nsvg__minf(v0[0], v3[0]); in nsvg__curveBounds() 579 bounds[1] = nsvg__minf(v0[1], v3[1]); in nsvg__curveBounds() 613 bounds[0+i] = nsvg__minf(bounds[0+i], (float)v); in nsvg__curveBounds() 926 bounds[0] = nsvg__minf(bounds[0], curveBounds[0]); in nsvg__getLocalBounds() 927 bounds[1] = nsvg__minf(bounds[1], curveBounds[1]); in nsvg__getLocalBounds() 974 shape->bounds[0] = nsvg__minf(shape->bounds[0], path->bounds[0]); in nsvg__addShape() 975 shape->bounds[1] = nsvg__minf(shape->bounds[1], path->bounds[1]); in nsvg__addShape() 1066 path->bounds[0] = nsvg__minf(path->bounds[0], bounds[0]); in nsvg__addPath() 1067 path->bounds[1] = nsvg__minf(path->bounds[1], bounds[1]); in nsvg__addPath() [all …]
|