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

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

Detailed Description

Definition at line 249 of file shapes.hpp.

Public Member Functions

 SvgEllipse (SvgPoint const &center, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 SvgEllipse (double cx, double cy, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 SvgEllipse (SvgEllipse const &)=default
 
 SvgEllipse (SvgEllipse &&)=default
 
 ~SvgEllipse ()=default
 
SvgBox bounding_box () const
 
SvgEllipseoperator= (SvgEllipse const &)=default
 
SvgEllipseoperator= (SvgEllipse &&)=default
 
void write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const
 

Public Types

using self_type = SvgEllipse
 

Public Attributes

SvgPoint center
 
SvgFill fill
 
std::string id
 
double rx
 
double ry
 
SvgStroke stroke
 
SvgTransform transform
 

Constructor & Destructor Documentation

SvgEllipse ( SvgPoint const &  center,
double  rx,
double  ry,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 225 of file shapes.cpp.

SvgEllipse ( double  cx,
double  cy,
double  rx,
double  ry,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 238 of file shapes.cpp.

~SvgEllipse ( )
default
SvgEllipse ( SvgEllipse const &  )
default
SvgEllipse ( SvgEllipse &&  )
default

Member Function Documentation

SvgBox bounding_box ( ) const

Definition at line 251 of file shapes.cpp.

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

Definition at line 259 of file shapes.cpp.

Member Typedef Documentation

Definition at line 257 of file shapes.hpp.

Member Data Documentation

SvgPoint center

Definition at line 303 of file shapes.hpp.

SvgFill fill

Definition at line 308 of file shapes.hpp.

std::string id

Definition at line 301 of file shapes.hpp.

double rx

Definition at line 304 of file shapes.hpp.

double ry

Definition at line 305 of file shapes.hpp.

SvgStroke stroke

Definition at line 307 of file shapes.hpp.

SvgTransform transform

Definition at line 310 of file shapes.hpp.


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