Home
last modified time | relevance | path

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

/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h1470 static NSVGcoordinate nsvg__coord(float v, int units) in nsvg__coord() function
2560 grad->linear.x1 = nsvg__coord(0.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2561 grad->linear.y1 = nsvg__coord(0.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2562 grad->linear.x2 = nsvg__coord(100.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2563 grad->linear.y2 = nsvg__coord(0.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2565 grad->radial.cx = nsvg__coord(50.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2566 grad->radial.cy = nsvg__coord(50.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2567 grad->radial.r = nsvg__coord(50.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2822 us = 1.0f / nsvg__convertToPixels(p, nsvg__coord(1.0f, nsvg__parseUnits(units)), 0.0f, 1.0f); in nsvg__scaleToViewbox()