From WikiChip
Difference between revisions of "mirc/commands/drawrot"
(→Parameters) |
|||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | /drawrot - | + | /drawrot -hmnpbfc <@win> [color] <angle> [x y w h] |
== Switches == | == Switches == | ||
Line 12: | Line 12: | ||
* '''-h''' - highlights the windows icon if it is minimized | * '''-h''' - highlights the windows icon if it is minimized | ||
* '''-n''' - prevents the display from being updated immediately | * '''-n''' - prevents the display from being updated immediately | ||
+ | * '''-p''' - When centering, clip the rotated bitmap: only pixels inside the original bitmap are affected | ||
== Parameters == | == Parameters == |
Latest revision as of 11:02, 5 February 2020
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /drawrot command rotates an area of a bitmap by the specified angle.
Synopsis[edit]
/drawrot -hmnpbfc <@win> [color] <angle> [x y w h]
Switches[edit]
- -b - indicates that you have specified the background color value
- -f - fits the newly rotated bitmap into the original width/height
- -c - centers the rotated image if -f is not specified
- -m - changes the stretch mode quality when the picture is resized
- -h - highlights the windows icon if it is minimized
- -n - prevents the display from being updated immediately
- -p - When centering, clip the rotated bitmap: only pixels inside the original bitmap are affected
Parameters[edit]
- <@win> - the window's name
- [color] - the background color if -b is used, WATCH OUT, there's no -r switch on /drawrot, the color has to be RGB format.
- <angle> - the angle of the rotation
- [x y w h] - the area to rotate
Example[edit]
None
Compatibility[edit]
Added: 5.3
See also[edit]
mIRC commands list