From WikiChip
Difference between revisions of "mirc/commands/drawrot"
< mirc‎ | commands

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 -rhmnbfc <@win> [color] <angle> [x y w h]
+
  /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
* '''-r''' - indicates that the color is in RGB format.
 
 
* '''-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
 
Added On: 13/12/97
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== See also ==
 
== See also ==
Line 34: Line 31:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|drawrot command - mIRC]]

Latest revision as of 11:02, 5 February 2020

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]

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy