Project

General

Profile

Drawrot » History » Version 4

Per Amundsen, 12/20/2018 11:23 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/drawrot -hmnbfc <@window> [color] <angle> [x y w h]*
4
5
Rotates an area of a bitmap by the specified angle.
6
7
*Switches*
8
9 3 Per Amundsen
-b - Indicates that you have specified the background color value. (The [colors] is always in [[$rgb]] format)
10 1 Per Amundsen
-f - TODO
11 4 Per Amundsen
-c - Centers the rotated image if -f is not specified.
12 2 Per Amundsen
-m - Changes the stretch mode quality when the picture is resized.
13 1 Per Amundsen
14
*Parameters*
15
16
<@window> - Name of the window to rotate.
17
[color] - The background color to use if -b is defined.
18
<angle> - The angle of the rotation.
19
[x y w h] - The area to rotate.