|
| enum class | SVG::ElementKind {
Custom
, Defs
, LinearGradient
, RadialGradient
,
Stop
, Symbol
, Use
, SVG
,
Style
, Path
, Text
, Title
,
Group
, Line
, Rect
, Circle
,
Polygon
} |
| enum class | SVG::RelativeAlignment : unsigned { Left = 1u << 0
, Top = 1u << 1
, Right = 1u << 2
, Bottom = 1u << 3
} |
| enum class | SVG::Anchor : unsigned { Start = 1u << 4
, Center = 1u << 5
, End = 1u << 6
} |
| enum class | SVG::Axis { X
, Y
} |
| enum | Orientation { COLINEAR
, CLOCKWISE
, COUNTERCLOCKWISE
} |
|
| std::string | SVG::tag_name (ElementKind kind) |
|
Alignment | SVG::operator| (RelativeAlignment relative, Anchor anchor) |
|
Alignment | SVG::operator| (Anchor anchor, RelativeAlignment relative) |
|
template<typename T, typename... Args> |
| std::unique_ptr< T > | SVG::detail::make_unique (Args &&... args) |
| std::string | SVG::to_string (const double &value) |
| std::string | SVG::to_string (const Point &point) |
| std::string | SVG::to_string (const Color &color) |
| std::string | SVG::to_string (const std::map< std::string, AttributeMap > &css, const size_t indent_level=0) |
| std::string | SVG::escape_xml (const std::string &text) |
|
std::vector< Point > | SVG::bounding_polygon (const std::vector< Shape * > &shapes) |
| SVG | SVG::frame_animate (std::vector< SVG > &frames, const double fps) |
| SVG | SVG::merge (SVG &left, SVG &right, const Margins &margins=DEFAULT_MARGINS) |
| SVG | SVG::merge (std::vector< SVG > &frames, const double width, const int max_frame_width) |
| std::vector< Point > | SVG::util::polar_points (int n, int a, int b, double radius) |
| template<typename T> |
| T | SVG::util::min_or_not_nan (T first, T second) |
| template<typename T> |
| T | SVG::util::max_or_not_nan (T first, T second) |
|
Orientation | SVG::util::orientation (Point &p1, Point &p2, Point &p3) |
| std::vector< Point > | SVG::util::convex_hull (std::vector< Point > &points) |
|
void | SVG::detail::append_escaped_xml (std::string &out, const std::string &text) |
|
void | SVG::detail::append_open_tag (std::string &out, size_t level, const std::string &tag, const SVGAttrib &attrs) |
| std::string | SVG::detail::text_content_element_to_string (const Element &element, const std::string &tag, const std::string &content, const size_t indent_level) |
|
unsigned | SVG::detail::alignment_count_bits (Alignment value) |
|
bool | SVG::detail::bbox_is_measured (const Element::BoundingBox &bbox) |
|
double | SVG::detail::visible_stroke_width (const Element &element) |
|
bool | SVG::detail::renders_in_place (const Element *element) |
|
double | SVG::detail::bbox_center_x (const Element::BoundingBox &bbox) |
|
double | SVG::detail::bbox_center_y (const Element::BoundingBox &bbox) |
|
double | SVG::detail::bbox_anchor_x (const Element::BoundingBox &bbox, Anchor anchor) |
|
double | SVG::detail::bbox_anchor_y (const Element::BoundingBox &bbox, Anchor anchor) |
|
std::vector< Point > | SVG::bounding_polygon (std::vector< Shape * > &shapes) |