SVGPath Struct Reference

An SVG path element data structure. More...

#include <SVGLoader.hh>

Public Attributes

std::string id
 An id or name. More...
 
std::vector< std::vector< ignition::math::Vector2d > > polylines
 The polylines described by the commands. More...
 
std::string style
 The style (i.e. stroke style, color, thickness etc) More...
 
std::vector< std::vector< SVGCommand > > subpaths
 A list of subpaths (as lists of commands) More...
 
ignition::math::Matrix3d transform
 A 2D transform (or a list of transforms) More...
 

Detailed Description

An SVG path element data structure.

Member Data Documentation

§ id

std::string id

An id or name.

§ polylines

std::vector< std::vector<ignition::math::Vector2d> > polylines

The polylines described by the commands.

§ style

std::string style

The style (i.e. stroke style, color, thickness etc)

§ subpaths

std::vector< std::vector<SVGCommand> > subpaths

A list of subpaths (as lists of commands)

§ transform

ignition::math::Matrix3d transform

A 2D transform (or a list of transforms)


The documentation for this struct was generated from the following file: