From WikiChip
Difference between revisions of "mirc/commands/drawrot"
m (Bot: Adding a template) |
|||
(10 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 9: | 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 | ||
Line 24: | Line 25: | ||
== Compatibility == | == Compatibility == | ||
Added: 5.3 | Added: 5.3 | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
Line 34: | Line 31: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|drawrot command - mIRC]] |
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