Fix applying affine transformation matrix in wxGCDC
In wxGCDCImpl::ComputeScaleAndOrigin() current affine transformation matrix (applied with SetTransformMatrix, ResetTransformMatrix) has to be concatenated with current basic transformations (applied with SetDeviceOrigin, SetLogicalScale, etc.). Closes #17674.
This commit is contained in:
@@ -219,6 +219,9 @@ protected:
|
||||
bool m_logicalFunctionSupported;
|
||||
wxGraphicsMatrix m_matrixOriginal;
|
||||
wxGraphicsMatrix m_matrixCurrent;
|
||||
#if wxUSE_DC_TRANSFORM_MATRIX
|
||||
wxAffineMatrix2D m_matrixExtTransform;
|
||||
#endif // wxUSE_DC_TRANSFORM_MATRIX
|
||||
|
||||
double m_formerScaleX, m_formerScaleY;
|
||||
|
||||
|
Reference in New Issue
Block a user