svg.cc File Reference

#include "hexsvg.h"
#include <cassert>
#include <fstream>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  hex
namespace  hex::svg

Functions

std::string hex::svg::strip (const std::string &s)
 Helper function - strip whitespace from the start & end of a string.
std::string hex::svg::style_str (const Style &st)
 Render a style dictionary to SVG.
Style hex::svg::style_dict (const std::string &s) throw (hex::invalid_argument)
 Construct a style dictionary from an SVG string.
std::string hex::svg::path_append (char &cmd, Point &p, char cmd1, const Point &p1)
 Helper function - append a new relative point to a path.
template<class InputIterator>
std::ostream & hex::svg::output_path_data (const Document &doc, std::ostream &os, InputIterator first, InputIterator last)
 Helper function.


Generated on Thu Feb 21 00:00:54 2008 for libhex by  doxygen 1.5.1