1 #ifndef GENESIS_UTILS_FORMATS_SVG_ATTRIBUTES_H_ 2 #define GENESIS_UTILS_FORMATS_SVG_ATTRIBUTES_H_ 103 void write( std::ostream& out )
const;
176 void write( std::ostream& out )
const;
209 explicit SvgFont(
double size = 10, std::string
const& family =
"Verdana" );
223 void write( std::ostream& out )
const;
283 void write( std::ostream& out )
const;
311 Rotate(
double angle,
double cx,
double cy )
318 :
Rotate( angle, offset.x, offset.y )
333 void write( std::ostream& out )
const;
380 void write( std::ostream& out )
const;
426 void write( std::ostream& out )
const;
450 Matrix(
double a,
double b,
double c,
double d,
double e,
double f )
471 void write( std::ostream& out )
const;
507 template<
typename T >
513 : pimpl_( other.pimpl_->clone() )
533 pimpl_->write_( out );
544 virtual ~Concept() {}
550 virtual std::unique_ptr< Concept > clone()
const = 0;
553 template<
typename T >
554 struct Model : Concept
556 Model( T
const& value )
563 object_.write( out );
566 std::unique_ptr< Concept > clone()
const override 568 return make_unique< Model<T> >( object_ );
574 std::unique_ptr< Concept > pimpl_;
598 void write( std::ostream& out )
const;
602 transformations.clear();
616 #endif // include guard void offset(Histogram &h, double value)
void swap(SequenceSet &lhs, SequenceSet &rhs)
void write(std::ostream &out) const
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
Provides some valuable additions to STD.
std::unique_ptr< T > make_unique(Args &&... args)
Returns a std::unique_ptr for a given type.
std::vector< double > dash_array
SvgStroke & operator=(SvgStroke const &)=default
SvgStroke(Type type=Type::kColor)