A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( SvgPoint const &  center,
double  radius,
SvgStroke const &  stroke = SvgStroke(),
SvgFill const &  fill = SvgFill() 
)

Definition at line 165 of file shapes.cpp.

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

Definition at line 177 of file shapes.cpp.

~SvgCircle ( )
default
SvgCircle ( SvgCircle const &  )
default
SvgCircle ( SvgCircle &&  )
default

Member Function Documentation

SvgBox bounding_box ( ) const

Definition at line 190 of file shapes.cpp.

SvgCircle& operator= ( SvgCircle const &  )
default
SvgCircle& operator= ( SvgCircle &&  )
default
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

Definition at line 189 of file shapes.hpp.

Member Data Documentation

SvgPoint center

Definition at line 235 of file shapes.hpp.

SvgFill fill

Definition at line 239 of file shapes.hpp.

std::string id

Definition at line 233 of file shapes.hpp.

double radius

Definition at line 236 of file shapes.hpp.

SvgStroke stroke

Definition at line 238 of file shapes.hpp.

SvgTransform transform

Definition at line 241 of file shapes.hpp.


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