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

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

Detailed Description

Definition at line 251 of file shapes.hpp.

Public Member Functions

 SvgEllipse (double cx, double cy, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 SvgEllipse (SvgEllipse &&)=default
 
 SvgEllipse (SvgEllipse const &)=default
 
 SvgEllipse (SvgPoint const &center, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill())
 
 ~SvgEllipse ()=default
 
SvgBox bounding_box () const
 
SvgEllipseoperator= (SvgEllipse &&)=default
 
SvgEllipseoperator= (SvgEllipse const &)=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 244 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 257 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 270 of file shapes.cpp.

◆ operator=() [1/2]

SvgEllipse& operator= ( SvgEllipse &&  )
default

◆ operator=() [2/2]

SvgEllipse& operator= ( SvgEllipse const &  )
default

◆ write()

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

Definition at line 279 of file shapes.cpp.

Member Typedef Documentation

◆ self_type

Definition at line 259 of file shapes.hpp.

Member Data Documentation

◆ center

SvgPoint center

Definition at line 305 of file shapes.hpp.

◆ fill

SvgFill fill

Definition at line 310 of file shapes.hpp.

◆ id

std::string id

Definition at line 303 of file shapes.hpp.

◆ rx

double rx

Definition at line 306 of file shapes.hpp.

◆ ry

double ry

Definition at line 307 of file shapes.hpp.

◆ stroke

SvgStroke stroke

Definition at line 309 of file shapes.hpp.

◆ transform

SvgTransform transform

Definition at line 312 of file shapes.hpp.


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