Add wxGraphicsContext::GetClipBox() function

This method returns bounding box of the current clipping region.
Added declaration, documentation and implemented for GDI+, Direct2D, Cairo renderers.
This commit is contained in:
Artur Wieczorek
2016-08-21 20:57:39 +02:00
parent 1927a2f8a0
commit 480a003c00
7 changed files with 159 additions and 0 deletions

View File

@@ -172,6 +172,8 @@
(cairo_t *cr, cairo_surface_t *surface, double x, double y), (cr, surface, x, y) ) \
m( cairo_matrix_init_identity, \
(cairo_matrix_t *matrix), (matrix) ) \
m( cairo_clip_extents, \
(cairo_t *cr, double *x1, double *y1, double *x2, double *y2), (cr, x1, y1, x2, y2) ) \
#ifdef __WXMAC__
#define wxCAIRO_PLATFORM_METHODS(m) \