Project

General

Profile

Drawrot » History » Revision 12

Revision 11 (Per Amundsen, 01/24/2020 01:24 PM) → Revision 12/13 (Per Amundsen, 01/24/2020 01:48 PM)

_Added in 1.9.0_ 

 */drawrot [-hmnbfcp] <@window> [color] <angle> [x y w h]* 

 Rotates an area of a bitmap by the specified angle. 

 *Switches* 

 -h - Highlights the window if it's minimized. 
 -m - Changes the stretch mode quality when the picture is resized. 
 -n - Prevents the display from being updated immediately. 
 -b - Indicates that you have specified the background color value. (The [color] is always in [[$rgb]] format) 
 -f - Fits the newly rotated bitmap into the original width/height. *TODO* 
 -c - Centers the rotated image if -f is not specified. 
 -p - Clips the rotated image. 

 *Parameters* 

 <@window> - Name of the window to rotate. 
 [color] - The background color to use if -b is defined. 
 <angle> - The angle of the rotation. 
 [x y w h] - The area to rotate.