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

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

Detailed Description

Definition at line 114 of file utils/formats/svg/helper.hpp.

Public Member Functions

 SvgBox ()=default
 
 SvgBox (SvgPoint top_left, SvgPoint bottom_right)
 
 SvgBox (SvgPoint top_left_v, double width, double height)
 
bool empty () const
 
double height () const
 
SvgSize size () const
 
double width () const
 

Static Public Member Functions

static SvgBox combine (SvgBox const &lhs, SvgBox const &rhs)
 

Public Attributes

SvgPoint bottom_right
 
SvgPoint top_left
 

Constructor & Destructor Documentation

SvgBox ( )
default
SvgBox ( SvgPoint  top_left,
SvgPoint  bottom_right 
)
inline

Definition at line 118 of file utils/formats/svg/helper.hpp.

SvgBox ( SvgPoint  top_left_v,
double  width,
double  height 
)
inline

Definition at line 131 of file utils/formats/svg/helper.hpp.

Member Function Documentation

static SvgBox combine ( SvgBox const &  lhs,
SvgBox const &  rhs 
)
inlinestatic

Definition at line 168 of file utils/formats/svg/helper.hpp.

bool empty ( ) const
inline

Definition at line 159 of file utils/formats/svg/helper.hpp.

double height ( ) const
inline

Definition at line 149 of file utils/formats/svg/helper.hpp.

SvgSize size ( ) const
inline

Definition at line 154 of file utils/formats/svg/helper.hpp.

double width ( ) const
inline

Definition at line 144 of file utils/formats/svg/helper.hpp.

Member Data Documentation

SvgPoint bottom_right

Definition at line 192 of file utils/formats/svg/helper.hpp.

SvgPoint top_left

Definition at line 191 of file utils/formats/svg/helper.hpp.


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