Project

General

Profile

Drawrot » History » Version 13

Per Amundsen, 02/16/2023 12:21 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 13 Per Amundsen
table(ktable).
10
|*Switch*|*Description*|
11
| -h | Highlights the window if it's minimized. |
12
| -m | Changes the stretch mode quality when the picture is resized. |
13
| -n | Prevents the display from being updated immediately. |
14
| -b | Indicates that you have specified the background color value. (The [color] is always in [[$rgb]] format) |
15
| -f | Fits the newly rotated bitmap into the original width/height. |
16
| -c | Centers the rotated image if -f is not specified. |
17
| -p | Clips the rotated image. |
18 1 Per Amundsen
19 11 Per Amundsen
*Parameters*
20 1 Per Amundsen
21 13 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| <@window> | Name of the window to rotate. |
24
| [color] | The background color to use if -b is defined. |
25
| <angle> | The angle of the rotation. |
26
| [x y w h] | The area to rotate. |