Toli Posted November 5, 2007 Share Posted November 5, 2007 I noticed that Paint.NET does not have an option to Mirror or Rotate a Selection, only the whole Image. You can Rotate a Selection by using the Right Mouse Button with or without Shift, but the operation is done with trigonometric functions and, implicitely, rounding, generating far from perfect results for 90, 180 and 270 degrees, the only values where it is actually possible to get perfect results. So I decided to implement these functions: - Horizontal Mirror (Vertical Flip) - Vertical Mirror (Horizontal Flip) - 90 Degrees Clockwise Rotate - 180 Degrees Rotate - 270 Degrees Clockwise Rotate (90 Degrees Counter Clockwise Rotate) While coding, I discovered two more interesting Mirrors and I added them too: - First Diagonal Mirror - Second Diagonal Mirror I updated the Plugin! 1. Now it remembers the last choice. 2. The OK and Cancel Buttons are gone. "None" is now Cancel and all the others are OK. The preview is automated on Button_MouseHover and Button_Enter. This way, you save a click! 3. Try to right-click! You'll see the UI change. Use the UI you like from three choices. The plugin will remember it too. 4. It supports Localization. You can get this and other plugins plus the source code from here Toli Cuturicu Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.