Searched refs:NSVG_UNITS_PERCENT (Results 1 – 1 of 1) sorted by relevance
381 NSVG_UNITS_PERCENT, enumerator802 case NSVG_UNITS_PERCENT: return orig + c.value / 100.0f * length; in nsvg__convertToPixels()1453 return NSVG_UNITS_PERCENT; in nsvg__parseUnits()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()