A library for working with phylogenetic and population genetic data.
v0.32.0
SvgUse Struct Reference

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

Detailed Description

Definition at line 534 of file shapes.hpp.

Public Member Functions

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

Public Types

using self_type = SvgUse
 

Public Attributes

std::string id
 
SvgObject const * object
 
SvgPoint offset
 
SvgTransform transform
 

Constructor & Destructor Documentation

◆ SvgUse() [1/5]

SvgUse ( SvgObject const &  other)
inline

Definition at line 548 of file shapes.hpp.

◆ SvgUse() [2/5]

SvgUse ( SvgObject const &  other,
SvgPoint const &  offset 
)
inline

Definition at line 554 of file shapes.hpp.

◆ SvgUse() [3/5]

SvgUse ( SvgObject const &  other,
double  offset_x,
double  offset_y 
)
inline

Definition at line 561 of file shapes.hpp.

◆ ~SvgUse()

~SvgUse ( )
default

◆ SvgUse() [4/5]

SvgUse ( SvgUse const &  )
default

◆ SvgUse() [5/5]

SvgUse ( SvgUse &&  )
default

Member Function Documentation

◆ bounding_box()

SvgBox bounding_box ( ) const

Definition at line 721 of file shapes.cpp.

◆ operator=() [1/2]

SvgUse& operator= ( SvgUse &&  )
default

◆ operator=() [2/2]

SvgUse& operator= ( SvgUse const &  )
default

◆ write()

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

Definition at line 736 of file shapes.cpp.

Member Typedef Documentation

◆ self_type

using self_type = SvgUse

Definition at line 542 of file shapes.hpp.

Member Data Documentation

◆ id

std::string id

Definition at line 600 of file shapes.hpp.

◆ object

SvgObject const* object

Definition at line 602 of file shapes.hpp.

◆ offset

SvgPoint offset

Definition at line 605 of file shapes.hpp.

◆ transform

SvgTransform transform

Definition at line 606 of file shapes.hpp.


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