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

@@ -544,6 +544,9 @@ public:
// resets the clipping to original extent
virtual void ResetClip() = 0;
// returns bounding box of the clipping region
virtual void GetClipBox(wxDouble* x, wxDouble* y, wxDouble* w, wxDouble* h) = 0;
// returns the native context
virtual void * GetNativeContext() = 0;