rect_output_attributes(const int x, const int y, const unsigned width, const unsigned height, color const& fill_color)
     : x_(x),
       y_(y),
       width_(width),
       height_(height),
       fill_color_(fill_color.to_hex_string())
 {}
Exemplo n.º 2
0
 void path_output_attributes::set_stroke_color(color const& stroke_color)
 {
     stroke_color_ = stroke_color.to_hex_string();
 }
Exemplo n.º 3
0
 void path_output_attributes::set_fill_color(color const& fill_color)
 {
     fill_color_ = fill_color.to_hex_string();
 }