Modified wxGraphicsPath concatenation (with AddPath) for Direct2D renderer.

Because wxGraphicsPath comprises current ID2D1PathGeometry object and the collection of transformed (sub-)geometries (ID2D1TransformedGeometry objects) so to concatenate two paths we need to concatenate their current geometries as well as to combine the collections of transformed geometries.
This commit is contained in:
Artur Wieczorek
2016-05-26 17:54:45 +02:00
parent fa01392788
commit 2b13dc7473
2 changed files with 77 additions and 42 deletions

View File

@@ -98,6 +98,8 @@ public:
/**
Adds another path onto the current path. After this call the current
point will be at the added path's current point.
For Direct2D the path being appended shouldn't contain
a started non-empty subpath when this function is called.
*/
virtual void AddPath(const wxGraphicsPath& path);