A toolkit for working with phylogenetic data.
v0.24.0
SvgTransform::Translate Struct Reference

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

Detailed Description

Definition at line 252 of file attributes.hpp.

Public Member Functions

 Translate ()=default
 
 Translate (double tx, double ty)
 
 Translate (SvgPoint offset)
 
 Translate (Translate const &)=default
 
 Translate (Translate &&)=default
 
 ~Translate ()=default
 
Translateoperator= (Translate const &)=default
 
Translateoperator= (Translate &&)=default
 
void write (std::ostream &out) const
 

Public Attributes

double tx = 0.0
 
double ty = 0.0
 

Constructor & Destructor Documentation

◆ Translate() [1/5]

Translate ( )
default

◆ Translate() [2/5]

Translate ( double  tx,
double  ty 
)
inline

Definition at line 262 of file attributes.hpp.

◆ Translate() [3/5]

Translate ( SvgPoint  offset)
inline

Definition at line 267 of file attributes.hpp.

◆ ~Translate()

~Translate ( )
default

◆ Translate() [4/5]

Translate ( Translate const &  )
default

◆ Translate() [5/5]

Translate ( Translate &&  )
default

Member Function Documentation

◆ operator=() [1/2]

Translate& operator= ( Translate const &  )
default

◆ operator=() [2/2]

Translate& operator= ( Translate &&  )
default

◆ write()

void write ( std::ostream &  out) const

Definition at line 224 of file attributes.cpp.

Member Data Documentation

◆ tx

double tx = 0.0

Definition at line 289 of file attributes.hpp.

◆ ty

double ty = 0.0

Definition at line 290 of file attributes.hpp.


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