Drawrot » History » Version 12
Per Amundsen, 01/24/2020 01:48 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 11 | Per Amundsen | */drawrot [-hmnbfcp] <@window> [color] <angle> [x y w h]* |
| 4 | 1 | Per Amundsen | |
| 5 | Rotates an area of a bitmap by the specified angle. |
||
| 6 | |||
| 7 | *Switches* |
||
| 8 | |||
| 9 | 9 | Per Amundsen | -h - Highlights the window if it's minimized. |
| 10 | 5 | Per Amundsen | -m - Changes the stretch mode quality when the picture is resized. |
| 11 | -n - Prevents the display from being updated immediately. |
||
| 12 | 6 | Per Amundsen | -b - Indicates that you have specified the background color value. (The [color] is always in [[$rgb]] format) |
| 13 | 12 | Per Amundsen | -f - Fits the newly rotated bitmap into the original width/height. |
| 14 | 1 | Per Amundsen | -c - Centers the rotated image if -f is not specified. |
| 15 | 11 | Per Amundsen | -p - Clips the rotated image. |
| 16 | 1 | Per Amundsen | |
| 17 | *Parameters* |
||
| 18 | |||
| 19 | <@window> - Name of the window to rotate. |
||
| 20 | [color] - The background color to use if -b is defined. |
||
| 21 | <angle> - The angle of the rotation. |
||
| 22 | [x y w h] - The area to rotate. |