Changeset 796 for trunk/src/cairo_renderer.cpp
- Timestamp:
- 01/14/09 07:10:24 (19 months ago)
- Files:
-
- 1 modified
-
trunk/src/cairo_renderer.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cairo_renderer.cpp
r752 r796 205 205 } 206 206 207 void set_color( Color const &color, double opacity = 1.0)207 void set_color(color const &color, double opacity = 1.0) 208 208 { 209 209 set_color(color.red(), color.green(), color.blue(), opacity); … … 500 500 #endif 501 501 502 boost::optional< Color> bg = m_.background();502 boost::optional<color> bg = m_.background(); 503 503 if (bg) 504 504 { … … 583 583 cairo_context context(context_); 584 584 585 Color const& fill = sym.get_fill();585 color const& fill = sym.get_fill(); 586 586 double height = 0.7071 * sym.height(); // height in meters 587 587
