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

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

Detailed Description

Definition at line 116 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 120 of file utils/formats/svg/helper.hpp.

◆ SvgBox() [3/3]

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

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

Member Function Documentation

◆ combine()

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

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

◆ empty()

bool empty ( ) const
inline

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

◆ height()

double height ( ) const
inline

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

◆ size()

SvgSize size ( ) const
inline

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

◆ width()

double width ( ) const
inline

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

Member Data Documentation

◆ bottom_right

SvgPoint bottom_right

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

◆ top_left

SvgPoint top_left

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


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