From WikiChip
Editing mirc/commands/drawtext
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{mirc title|/drawtext Command}} | + | {{mirc title|/drawtext Command}}{{mIRC menu}} |
The '''/drawtext command''' draws text at the specified co-ordinates. If you use a negative number for the font size, it will match the size of fonts in the font dialog. The /drawtext command will use some default options for anti-aliasing that you cannot change (yet), meaning that a text drawn in black may not be drawn only using the expected color, this can be a real concern when using {{mIRC|/drawfill}} to fill an area with text inside it. | The '''/drawtext command''' draws text at the specified co-ordinates. If you use a negative number for the font size, it will match the size of fonts in the font dialog. The /drawtext command will use some default options for anti-aliasing that you cannot change (yet), meaning that a text drawn in black may not be drawn only using the expected color, this can be a real concern when using {{mIRC|/drawfill}} to fill an area with text inside it. | ||
== Synopsis == | == Synopsis == | ||
− | /drawtext - | + | /drawtext -hnrpboc <@win> <color> [color] [fontname fontsize] <x y [w h]> <text> |
== Switches == | == Switches == | ||
* '''-p''' - processes and interprets control codes in the text | * '''-p''' - processes and interprets control codes in the text | ||
* '''-b''' - indicates that you have specified the second color parameter as the background color for the text | * '''-b''' - indicates that you have specified the second color parameter as the background color for the text | ||
+ | * '''-o''' - means the specified font should be in bold | ||
* '''-c''' - means that you have specified the [w h] values as the rectangle in which text should be printed. Text will be clipped if it extends beyond this rectangle | * '''-c''' - means that you have specified the [w h] values as the rectangle in which text should be printed. Text will be clipped if it extends beyond this rectangle | ||
* '''-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 | ||
* '''-r''' - indicates that the colors are in RGB format | * '''-r''' - indicates that the colors are in RGB format | ||
− | |||
− | |||
− | |||
− | |||
== Parameters == | == Parameters == |