Added wxGraphicsContext::CreateMatrix(wxAffineMatrix2D) overload.
Make it easy to convert generic wxAffineMatrix2D to native wxGraphicsMatrix. Closes #13188. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -512,6 +512,14 @@ public:
|
||||
wxDouble tx = 0.0,
|
||||
wxDouble ty = 0.0) const;
|
||||
|
||||
/**
|
||||
Creates a native affine transformation matrix from the passed
|
||||
generic one.
|
||||
|
||||
@since 2.9.4
|
||||
*/
|
||||
wxGraphicsMatrix CreateMatrix(const wxAffineMatrix2DBase& mat) const;
|
||||
|
||||
/**
|
||||
Creates a native graphics path which is initially empty.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user