A library for working with phylogenetic and population genetic data.
v0.27.0
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, double offset_x, double offset_y)
 
 SvgUse (std::string const &id, 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

SvgPoint offset
 
std::string referenced_id
 
SvgTransform transform
 

Constructor & Destructor Documentation

◆ SvgUse() [1/4]

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

Definition at line 538 of file shapes.hpp.

◆ SvgUse() [2/4]

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

Definition at line 546 of file shapes.hpp.

◆ ~SvgUse()

~SvgUse ( )
default

◆ SvgUse() [3/4]

SvgUse ( SvgUse const &  )
default

◆ SvgUse() [4/4]

SvgUse ( SvgUse &&  )
default

Member Function Documentation

◆ bounding_box()

SvgBox bounding_box ( ) const

Definition at line 546 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 552 of file shapes.cpp.

Member Typedef Documentation

◆ self_type

using self_type = SvgUse

Definition at line 532 of file shapes.hpp.

Member Data Documentation

◆ offset

SvgPoint offset

Definition at line 580 of file shapes.hpp.

◆ referenced_id

std::string referenced_id

Definition at line 579 of file shapes.hpp.

◆ transform

SvgTransform transform

Definition at line 581 of file shapes.hpp.


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