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

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

Detailed Description

Definition at line 127 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() [1/3]

SvgBox ( )
default

◆ SvgBox() [2/3]

SvgBox ( SvgPoint  top_left,
SvgPoint  bottom_right 
)
inline

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

◆ SvgBox() [3/3]

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

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

Member Function Documentation

◆ combine()

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

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

◆ empty()

bool empty ( ) const
inline

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

◆ height()

double height ( ) const
inline

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

◆ size()

SvgSize size ( ) const
inline

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

◆ width()

double width ( ) const
inline

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

Member Data Documentation

◆ bottom_right

SvgPoint bottom_right

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

◆ top_left

SvgPoint top_left

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


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