Searched refs:nsvg__parseCoordinate (Results 1 – 1 of 1) sorted by relevance
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 1476 static float nsvg__parseCoordinate(NSVGparser* p, const char* str, float orig, float length) in nsvg__parseCoordinate() function 1702 strokeDashArray[count++] = fabsf(nsvg__parseCoordinate(p, item, 0.0f, nsvg__actualLength(p))); in nsvg__parseStrokeDashArray() 1753 attr->strokeWidth = nsvg__parseCoordinate(p, value, 0.0f, nsvg__actualLength(p)); in nsvg__parseAttr() 1757 attr->strokeDashOffset = nsvg__parseCoordinate(p, value, 0.0f, nsvg__actualLength(p)); in nsvg__parseAttr() 1769 attr->fontSize = nsvg__parseCoordinate(p, value, 0.0f, nsvg__actualLength(p)); in nsvg__parseAttr() 1778 attr->stopOffset = nsvg__parseCoordinate(p, value, 0.0f, 1.0f); in nsvg__parseAttr() 2327 …if (strcmp(attr[i], "x") == 0) x = nsvg__parseCoordinate(p, attr[i+1], nsvg__actualOrigX(p), nsvg_… in nsvg__parseRect() 2328 …if (strcmp(attr[i], "y") == 0) y = nsvg__parseCoordinate(p, attr[i+1], nsvg__actualOrigY(p), nsvg_… in nsvg__parseRect() 2329 …if (strcmp(attr[i], "width") == 0) w = nsvg__parseCoordinate(p, attr[i+1], 0.0f, nsvg__actualWidth… in nsvg__parseRect() 2330 …if (strcmp(attr[i], "height") == 0) h = nsvg__parseCoordinate(p, attr[i+1], 0.0f, nsvg__actualHeig… in nsvg__parseRect() [all …]
|