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

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

Detailed Description

Definition at line 47 of file image.hpp.

Public Member Functions

 SvgImage (std::string const &href)
 
 SvgImage (std::string const &href, SvgPoint const &position)
 
 SvgImage (std::string const &href, SvgPoint const &position, SvgSize const &size)
 
 SvgImage (std::string const &href, double x, double y, double w, double h)
 
 SvgImage (SvgImage const &)=default
 
 SvgImage (SvgImage &&)=default
 
 ~SvgImage ()=default
 
SvgBox bounding_box () const
 
SvgImageoperator= (SvgImage const &)=default
 
SvgImageoperator= (SvgImage &&)=default
 
void write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const
 

Public Types

using self_type = SvgImage
 

Public Attributes

std::string href
 
std::string id
 
SvgPoint position
 
SvgSize size
 
SvgTransform transform
 

Constructor & Destructor Documentation

SvgImage ( std::string const &  href)

Definition at line 49 of file image.cpp.

SvgImage ( std::string const &  href,
SvgPoint const &  position 
)

Definition at line 55 of file image.cpp.

SvgImage ( std::string const &  href,
SvgPoint const &  position,
SvgSize const &  size 
)

Definition at line 63 of file image.cpp.

SvgImage ( std::string const &  href,
double  x,
double  y,
double  w,
double  h 
)

Definition at line 73 of file image.cpp.

~SvgImage ( )
default
SvgImage ( SvgImage const &  )
default
SvgImage ( SvgImage &&  )
default

Member Function Documentation

SvgBox bounding_box ( ) const

Definition at line 87 of file image.cpp.

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

Definition at line 92 of file image.cpp.

Member Typedef Documentation

Definition at line 55 of file image.hpp.

Member Data Documentation

std::string href

Definition at line 108 of file image.hpp.

std::string id

Definition at line 106 of file image.hpp.

SvgPoint position

Definition at line 110 of file image.hpp.

SvgSize size

Definition at line 111 of file image.hpp.

SvgTransform transform

Definition at line 113 of file image.hpp.


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