Home
last modified time | relevance | path

Searched refs:NSVG_PI (Results 1 – 1 of 1) sorted by relevance

/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h192 #define NSVG_PI (3.14159265358979323846264338327f) macro
1552 nsvg__xformSetSkewX(t, args[0]/180.0f*NSVG_PI); in nsvg__parseSkewX()
1563 nsvg__xformSetSkewY(t, args[0]/180.0f*NSVG_PI); in nsvg__parseSkewY()
1584 nsvg__xformSetRotation(t, args[0]/180.0f*NSVG_PI); in nsvg__parseRotate()
2082 rotx = args[2] / 180.0f * NSVG_PI; // x rotation angle in nsvg__pathArcTo()
2148 da -= 2 * NSVG_PI; in nsvg__pathArcTo()
2150 da += 2 * NSVG_PI; in nsvg__pathArcTo()
2159 ndivs = (int)(fabsf(da) / (NSVG_PI*0.5f) + 1.0f); in nsvg__pathArcTo()