A toolkit for working with phylogenetic data.
v0.18.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 112 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 116 of file utils/formats/svg/helper.hpp.

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

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

Member Function Documentation

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

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

bool empty ( ) const
inline

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

double height ( ) const
inline

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

SvgSize size ( ) const
inline

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

double width ( ) const
inline

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

Member Data Documentation

SvgPoint bottom_right

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

SvgPoint top_left

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


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