Go to the documentation of this file.
47 std::string
SVGAddLinePath(
float x1,
float y1,
float x2,
float y2);
49 std::string
SVGDrawText(
float x1,
float y1,
const char *txt,
rgbColor c,
double size,
const char *typeface = 0,
std::string SVGDrawLine(int x1, int y1, int x2, int y2, int width, rgbColor c, bool center=true)
A color; r/g/b are between 0...1.
std::string SVGDefineGradient(bool horizontal, bool vertical, rgbColor c1, rgbColor c2, const char *name)
std::string SVGDrawText(float x1, float y1, const char *txt, rgbColor c, double size, const char *typeface=0, SVG::svgAlignment align=SVG::kCenter, SVG::svgBaseline base=SVG::kMiddle)
std::string SVGDrawLineSegments(const std::vector< Graphics::point > &lines, float width, rgbColor c)
std::string SVGDrawStrokedText(float x1, float y1, const char *txt, rgbColor c, rgbColor strokeColor, double size)
std::string SVGEndLinePath()
std::string SVGDrawCircle(double x, double y, double radius, rgbColor c)
std::string SVGFrameCircle(double x, double y, double radius, double border, rgbColor c)
std::string MakeSVG(const Graphics::Display &disp, int width, int height, int viewport=0, const char *comment=0, bool crisp=true)
std::string SVGBeginLinePath(float width, rgbColor c)
std::string SVGFrameRect(float x, float y, float width, float height, float border, rgbColor c)
std::string SVGFrameNGon(double x, double y, double radius, int segments, float rotation, int border, rgbColor c)
std::string SVGAddLinePath(float x1, float y1)
std::string SVGDrawNGon(double x, double y, double radius, int segments, float rotation, rgbColor c)
std::string SVGDrawRect(float x, float y, float width, float height, rgbColor c)