Searched refs:NSVG_RGB (Results 1 – 1 of 1) sorted by relevance
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 203 #define NSVG_RGB(r, g, b) (((unsigned int)r) | ((unsigned int)g << 8) | ((unsigned int)b << 16)) macro 633 p->attr[0].fillColor = NSVG_RGB(0,0,0); in nsvg__createParser() 634 p->attr[0].strokeColor = NSVG_RGB(0,0,0); in nsvg__createParser() 1224 return NSVG_RGB(r,g,b); in nsvg__parseColorHex() 1233 return NSVG_RGB((r*255)/100,(g*255)/100,(b*255)/100); in nsvg__parseColorRGB() 1235 return NSVG_RGB(r,g,b); in nsvg__parseColorRGB() 1246 { "red", NSVG_RGB(255, 0, 0) }, 1247 { "green", NSVG_RGB( 0, 128, 0) }, 1248 { "blue", NSVG_RGB( 0, 0, 255) }, 1249 { "yellow", NSVG_RGB(255, 255, 0) }, [all …]
|