38#ifndef DRAIN_TRANSFORM_SVG
39#define DRAIN_TRANSFORM_SVG
42#include "drain/UniTuple.h"
60 return (*
this == 0.0);
64 void toStream(std::ostream & ostr)
const override {
94 typedef double coord_t;
100 return (rotate.empty() && scale.empty() && translate.empty() && matrix.empty()) ;
104 void setTranslate(
const coord_t & x,
const coord_t & y){
110 void setTranslateX(
const coord_t & x){
117 void setTranslateY(
const coord_t & y){
133 Translate(
double x=0.0,
double y=0.0) : x(++next()=x), y(++next()=y){
149 void toStream(std::ostream & ostr)
const;
virtual void toStreamFormatted(std::ostream &ostr, char separator=',') const
Definition TupleBase.h:331
Tuple of N elements of type T.
Definition UniTuple.h:65
Definition DataSelector.cpp:1277