- Timestamp:
- 04/19/08 19:22:03 (7 months ago)
- Files:
-
- 1 modified
-
trunk/src/cairo_renderer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cairo_renderer.cpp
r693 r695 483 483 << map.getCurrentExtent() << "\n"; 484 484 #endif 485 #ifdef CAIRO_CLIP 486 Envelope<double> bounds = t_.forward(t_.extent()); 487 context_->rectangle(bounds.minx(), bounds.miny(), bounds.maxx(), bounds.maxy()); 488 context_->clip(); 489 #endif 485 486 if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 6, 0)) 487 { 488 Envelope<double> bounds = t_.forward(t_.extent()); 489 context_->rectangle(bounds.minx(), bounds.miny(), bounds.maxx(), bounds.maxy()); 490 context_->clip(); 491 } 490 492 491 493 boost::optional<Color> bg = m_.background();
