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

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

Detailed Description

Definition at line 524 of file shapes.hpp.

Public Member Functions

 SvgUse (std::string const &id, SvgPoint const &offset)
 SvgUse (std::string const &id, double offset_x, double offset_y)
 SvgUse (SvgUse const &)=default
 SvgUse (SvgUse &&)=default
 ~SvgUse ()=default
SvgBox bounding_box () const
SvgUseoperator= (SvgUse const &)=default
SvgUseoperator= (SvgUse &&)=default
void write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const

Public Types

using self_type = SvgUse

Public Attributes

SvgPoint offset
std::string referenced_id
SvgTransform transform

Constructor & Destructor Documentation

SvgUse ( std::string const &  id,
SvgPoint const &  offset 

Definition at line 538 of file shapes.hpp.

SvgUse ( std::string const &  id,
double  offset_x,
double  offset_y 

Definition at line 546 of file shapes.hpp.

~SvgUse ( )
SvgUse ( SvgUse const &  )
SvgUse ( SvgUse &&  )

Member Function Documentation

SvgBox bounding_box ( ) const

Definition at line 546 of file shapes.cpp.

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

Definition at line 552 of file shapes.cpp.

Member Typedef Documentation

using self_type = SvgUse

Definition at line 532 of file shapes.hpp.

Member Data Documentation

SvgPoint offset

Definition at line 580 of file shapes.hpp.

std::string referenced_id

Definition at line 579 of file shapes.hpp.

SvgTransform transform

Definition at line 581 of file shapes.hpp.

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