NSVGparser
static void nsvg__addPath(NSVGparser* p, char closed)
static float nsvg__parseCoordinate(NSVGparser* p, const char* str, float orig, float length)
static int nsvg__parseStrokeDashArray(NSVGparser* p, const char* str, float* strokeDashArray)
static void nsvg__parseStyle(NSVGparser* p, const char* str);
static int nsvg__parseAttr(NSVGparser* p, const char* name, const char* value)
static int nsvg__parseNameValue(NSVGparser* p, const char* start, const char* end)
static void nsvg__parseStyle(NSVGparser* p, const char* str)
static void nsvg__parseAttribs(NSVGparser* p, const char** attr)
static void nsvg__pathMoveTo(NSVGparser* p, float* cpx, float* cpy, float* args, int rel)
static void nsvg__pathLineTo(NSVGparser* p, float* cpx, float* cpy, float* args, int rel)
static void nsvg__pathHLineTo(NSVGparser* p, float* cpx, float* cpy, float* args, int rel)
static void nsvg__pathVLineTo(NSVGparser* p, float* cpx, float* cpy, float* args, int rel)
static void nsvg__pathCubicBezTo(NSVGparser* p, float* cpx, float* cpy,
static void nsvg__pathCubicBezShortTo(NSVGparser* p, float* cpx, float* cpy,
static void nsvg__pathQuadBezTo(NSVGparser* p, float* cpx, float* cpy,
static void nsvg__pathQuadBezShortTo(NSVGparser* p, float* cpx, float* cpy,
static void nsvg__pathArcTo(NSVGparser* p, float* cpx, float* cpy, float* args, int rel)
static void nsvg__parsePath(NSVGparser* p, const char** attr)
static void nsvg__parseRect(NSVGparser* p, const char** attr)
static void nsvg__parseCircle(NSVGparser* p, const char** attr)
static void nsvg__parseEllipse(NSVGparser* p, const char** attr)
static void nsvg__parseLine(NSVGparser* p, const char** attr)
static void nsvg__parsePoly(NSVGparser* p, const char** attr, int closeFlag)
static void nsvg__parseSVG(NSVGparser* p, const char** attr)
static void nsvg__parseGradient(NSVGparser* p, const char** attr, char type)
static void nsvg__parseGradientStop(NSVGparser* p, const char** attr)
NSVGparser* p = (NSVGparser*)ud;
NSVGparser* p = (NSVGparser*)ud;
static void nsvg__imageBounds(NSVGparser* p, float* bounds)
static void nsvg__scaleToViewbox(NSVGparser* p, const char* units)
NSVGparser* p;
static NSVGparser* nsvg__createParser()
NSVGparser* p;
p = (NSVGparser*)malloc(sizeof(NSVGparser));
memset(p, 0, sizeof(NSVGparser));
static void nsvg__deleteParser(NSVGparser* p)
static void nsvg__resetPath(NSVGparser* p)
static void nsvg__addPoint(NSVGparser* p, float x, float y)
static void nsvg__moveTo(NSVGparser* p, float x, float y)
static void nsvg__lineTo(NSVGparser* p, float x, float y)
static void nsvg__cubicBezTo(NSVGparser* p, float cpx1, float cpy1, float cpx2, float cpy2, float x, float y)
static NSVGattrib* nsvg__getAttr(NSVGparser* p)
static void nsvg__pushAttr(NSVGparser* p)
static void nsvg__popAttr(NSVGparser* p)
static float nsvg__actualOrigX(NSVGparser* p)
static float nsvg__actualOrigY(NSVGparser* p)
static float nsvg__actualWidth(NSVGparser* p)
static float nsvg__actualHeight(NSVGparser* p)
static float nsvg__actualLength(NSVGparser* p)
static float nsvg__convertToPixels(NSVGparser* p, NSVGcoordinate c, float orig, float length)
static NSVGgradientData* nsvg__findGradientData(NSVGparser* p, const char* id)
static NSVGgradient* nsvg__createGradient(NSVGparser* p, const char* id, const float* localBounds, char* paintType)
static void nsvg__addShape(NSVGparser* p)