wxGUI/mapswipe: fix saving display to file#3185
Conversation
There was a problem hiding this comment.
Looks like there are 2 instances of DrawRotatedText, could you please incorporate the second one as well? (Unless I missed it and it's in another PR)
https://github.com/search?q=repo%3AOSGeo%2Fgrass%20DrawRotatedText&type=code
And there may be some places with DrawText that are not yet updated as well.
param arg int type
Suggestion incorporated.
Yes, it is possible, we should detect them by testing. |
* wxGUI/psmap: fix wx.adv.PseudoDC() class DrawRotatedText() method x, y param arg int type
* wxGUI/psmap: fix wx.adv.PseudoDC() class DrawRotatedText() method x, y param arg int type
* wxGUI/psmap: fix wx.adv.PseudoDC() class DrawRotatedText() method x, y param arg int type
* wxGUI/psmap: fix wx.adv.PseudoDC() class DrawRotatedText() method x, y param arg int type
* wxGUI/psmap: fix wx.adv.PseudoDC() class DrawRotatedText() method x, y param arg int type
Describe the bug
Map Swipe tool Save display to file tool doesn't work an prints an error message.
To Reproduce
Steps to reproduce the behavior:
g.gui.mapswipeExpected behavior
Map Swipe tool Save display to file tool should work.
System description: