PixaPencil
PixaPencil copied to clipboard
[F] More Rotation
If you can add stretch and skew as seen in MSPaint, you can add in more versatile rotation than simple 90° steps. I have two versions for you to try: Θ is Angle in radians, ±178° max. Paint only accepts integers.
First one by user IronMortality (2,3 can be done together in Paint)
- Horizontal skew by Angle
- Vertical stretch by 1/cos(θ)² (write decimal as %)
- Vertical skew by negative Angle
- Horiz+Vert stretch by cos(θ)
Second by Murrogh (1,2 together). 0. Note ±>45° may be distorted more. Rotate 90/180/270 first.
- Horizontal skew by Angle/2
- Vertical skew by negative atan(sin(θ)) in degrees (not radians)
- Horizontal skew by Angle/2
Enjoy!
Do you mean the rotation of the bitmap itself or the rotation of the canvas? I am thinking of adding custom bitmap rotation using RotSprite, but for canvas rotation I don't see a point in having custom rotation.
The features i am referring to are in older paint (98-XP, maybe newer but not the present 3D version). I do not know the difference between those terms, i will guess "canvas", so i will describe thus for 45° (Murrogh):
- Draw square/rect on the canvas
- On the menu bar, go: Image > Stretch/Skew… or: press Ctrl+W
- The next two steps will work together: A)Enter 23 for skew Horizontal; B) Enter -35 for skew Vertical; C) Ok
- Repeat step 2 and 3A; Ok
Besides all white space around it, your drawing will be rotated (with some inaccuracy due to integer limit, requires 22.5 and -35.26…).