synfig-core  1.0.3
Macros
svg_parser.cpp File Reference

Implementation of the Svg parser. More...

#include <iostream>
#include <cstring>
#include "svg_parser.h"

Macros

#define SVG_SEP_TRANSFORMS   1
#define SVG_RESOLVE_BLINE   1
#define COLOR_NAME(color, r, g, b)

Detailed Description

Implementation of the Svg parser.

Based on SVG XML specification 1.1 See: http://www.w3.org/TR/xml11/ for deatils

$Id:$

Macro Definition Documentation

#define SVG_SEP_TRANSFORMS   1
#define SVG_RESOLVE_BLINE   1
#define COLOR_NAME (   color,
  r,
  g,
 
)
Value:
else if(name.compare(0,strlen(color),color)==0) \
{switch(position) \
{case 1: return r; case 2: return g; case 3: return b;} }