Swiftray  1.0
svgpp-color-factory.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <svgpp/factory/integer_color.hpp>
4 
5 namespace Parser {
6 
7 typedef boost::tuple<unsigned char, unsigned char, unsigned char> color_t;
8 
11 
12  static color_type create(unsigned char r, unsigned char g, unsigned char b) {
13  return color_t(r, g, b);
14  }
15 };
16 
17 typedef svgpp::factory::color::percentage_adapter<ColorFactoryBase> ColorFactory;
18 
19 }
Definition: base-context.h:8
svgpp::factory::color::percentage_adapter< ColorFactoryBase > ColorFactory
Definition: svgpp-color-factory.h:17
boost::tuple< unsigned char, unsigned char, unsigned char > color_t
Definition: svgpp-color-factory.h:7
Definition: svgpp-color-factory.h:9
static color_type create(unsigned char r, unsigned char g, unsigned char b)
Definition: svgpp-color-factory.h:12
color_t color_type
Definition: svgpp-color-factory.h:10