A toolkit for working with phylogenetic data.
v0.24.0
SvgCircle Struct Reference

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

Detailed Description

Definition at line 181 of file shapes.hpp.

Public Member Functions

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

Public Types

using self_type = SvgCircle
 

Public Attributes

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

Constructor & Destructor Documentation

◆ SvgCircle() [1/4]

SvgCircle ( SvgPoint const &  center,
double  radius,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 165 of file shapes.cpp.

◆ SvgCircle() [2/4]

SvgCircle ( double  cx,
double  cy,
double  radius,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 177 of file shapes.cpp.

◆ ~SvgCircle()

~SvgCircle ( )
default

◆ SvgCircle() [3/4]

SvgCircle ( SvgCircle const &  )
default

◆ SvgCircle() [4/4]

SvgCircle ( SvgCircle &&  )
default

Member Function Documentation

◆ bounding_box()

SvgBox bounding_box ( ) const

Definition at line 190 of file shapes.cpp.

◆ operator=() [1/2]

SvgCircle& operator= ( SvgCircle const &  )
default

◆ operator=() [2/2]

SvgCircle& operator= ( SvgCircle &&  )
default

◆ write()

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

Definition at line 198 of file shapes.cpp.

Member Typedef Documentation

◆ self_type

Definition at line 189 of file shapes.hpp.

Member Data Documentation

◆ center

SvgPoint center

Definition at line 235 of file shapes.hpp.

◆ fill

SvgFill fill

Definition at line 239 of file shapes.hpp.

◆ id

std::string id

Definition at line 233 of file shapes.hpp.

◆ radius

double radius

Definition at line 236 of file shapes.hpp.

◆ stroke

SvgStroke stroke

Definition at line 238 of file shapes.hpp.

◆ transform

SvgTransform transform

Definition at line 241 of file shapes.hpp.


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