A toolkit for working with phylogenetic data.
v0.24.0
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() [1/4]

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() [2/4]

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()

~SvgEllipse ( )
default

◆ SvgEllipse() [3/4]

SvgEllipse ( SvgEllipse const &  )
default

◆ SvgEllipse() [4/4]

SvgEllipse ( SvgEllipse &&  )
default

Member Function Documentation

◆ bounding_box()

SvgBox bounding_box ( ) const

Definition at line 251 of file shapes.cpp.

◆ operator=() [1/2]

SvgEllipse& operator= ( SvgEllipse const &  )
default

◆ operator=() [2/2]

SvgEllipse& operator= ( SvgEllipse &&  )
default

◆ write()

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

◆ self_type

Definition at line 257 of file shapes.hpp.

Member Data Documentation

◆ center

SvgPoint center

Definition at line 303 of file shapes.hpp.

◆ fill

SvgFill fill

Definition at line 308 of file shapes.hpp.

◆ id

std::string id

Definition at line 301 of file shapes.hpp.

◆ rx

double rx

Definition at line 304 of file shapes.hpp.

◆ ry

double ry

Definition at line 305 of file shapes.hpp.

◆ stroke

SvgStroke stroke

Definition at line 307 of file shapes.hpp.

◆ transform

SvgTransform transform

Definition at line 310 of file shapes.hpp.


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