A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SvgPath Struct Reference

#include <genesis/utils/formats/svg/shapes.hpp>

Detailed Description

Definition at line 456 of file shapes.hpp.

Public Member Functions

 SvgPath (SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 SvgPath (std::vector< std::string > const &elements, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 SvgPath (SvgPath const &)=default
 
 SvgPath (SvgPath &&)=default
 
 ~SvgPath ()=default
 
self_typeadd (std::string elem)
 
SvgBox bounding_box () const
 
self_typeoperator<< (std::string elem)
 
SvgPathoperator= (SvgPath const &)=default
 
SvgPathoperator= (SvgPath &&)=default
 
void write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const
 

Public Types

using self_type = SvgPath
 

Public Attributes

std::vector< std::string > elements
 
SvgFill fill
 
std::string id
 
SvgStroke stroke
 
SvgTransform transform
 

Constructor & Destructor Documentation

SvgPath ( SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 477 of file shapes.cpp.

SvgPath ( std::vector< std::string > const &  elements,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 485 of file shapes.cpp.

~SvgPath ( )
default
SvgPath ( SvgPath const &  )
default
SvgPath ( SvgPath &&  )
default

Member Function Documentation

SvgPath & add ( std::string  elem)

Definition at line 499 of file shapes.cpp.

SvgBox bounding_box ( ) const

Definition at line 510 of file shapes.cpp.

SvgPath & operator<< ( std::string  elem)

Definition at line 505 of file shapes.cpp.

SvgPath& operator= ( SvgPath const &  )
default
SvgPath& operator= ( SvgPath &&  )
default
void write ( std::ostream &  out,
size_t  indent = 0,
SvgDrawingOptions const &  options = SvgDrawingOptions() 
) const

Definition at line 516 of file shapes.cpp.

Member Typedef Documentation

using self_type = SvgPath

Definition at line 464 of file shapes.hpp.

Member Data Documentation

std::vector< std::string > elements

Definition at line 511 of file shapes.hpp.

SvgFill fill

Definition at line 514 of file shapes.hpp.

std::string id

Definition at line 509 of file shapes.hpp.

SvgStroke stroke

Definition at line 513 of file shapes.hpp.

SvgTransform transform

Definition at line 516 of file shapes.hpp.


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