From WikiChip
Difference between revisions of "mirc/commands/drawrot"
m (PatrolBot moved page /drawrot command - mIRC to mirc/commands/drawrot: per new naming convention) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{mirc title|/drawrot Command}} |
The '''/drawrot command''' rotates an area of a bitmap by the specified angle. | The '''/drawrot command''' rotates an area of a bitmap by the specified angle. | ||
== Synopsis == | == Synopsis == | ||
− | /drawrot - | + | /drawrot -hmnpbfc <@win> [color] <angle> [x y w h] |
== Switches == | == Switches == | ||
Line 10: | Line 10: | ||
* '''-c''' - centers the rotated image if -f is not specified | * '''-c''' - centers the rotated image if -f is not specified | ||
* '''-m''' - changes the stretch mode quality when the picture is resized | * '''-m''' - changes the stretch mode quality when the picture is resized | ||
− | |||
* '''-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 == | ||
* '''<@win>''' - the window's name | * '''<@win>''' - the window's name | ||
− | * '''[color]''' - the background color if -b is used | + | * '''[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 | * '''<angle>''' - the angle of the rotation | ||
* '''[x y w h]''' - the area to rotate | * '''[x y w h]''' - the area to rotate |
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