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

(Created page with "The '''/drawpic commmand''' draws a picture at the specified coordinates. The picture can be a graphics file, or an ico/exe/dll file. == Synopsis == /drawpic -ihmnotsclgN <@...")
(No difference)

Revision as of 20:49, 2 December 2013

The /drawpic commmand draws a picture at the specified coordinates. The picture can be a graphics file, or an ico/exe/dll file.

Synopsis

/drawpic -ihmnotsclgN <@win> [color] <x y [w h]> [x y w h] [N] <filename>

Switches

  • -t - indicates that you have specified the [color] RGB value as a transparent color in the specified bitmap
  • -s - indicates that you have specified the first [w h] parameters to squeeze/stretch the bitmap
  • -c - indicates that the bitmap should be cached. This greatly speeds up subsequent references to this bitmap. If you specify -c and the bitmap is already in the cache, it is loaded and used from the cache, otherwise it is reloaded from the file. You can clear the entire cache with /drawpic -c
  • -l - tiles the picture
  • -m - changes the stretch mode quality when the picture is resized
  • -o - indicates that you have specified the [N] value before the filename, representing the index of the icon in the file.
  • -gN - attempts to load the large icon in an icon file, if none exists, it loads the small icon. If N is specified, N = 0 loads the small icon, N = 1 loads the large icon, and N = 2 loads the actual icon
  • -i - draws in inverse mode
  • -h - highlights the windows icon if it is minimized
  • -n - prevents the display from being updated immediately

Parameters

  • <@win> - the window's name
  • [color] - if -t is used, the RGB color used for transparency
  • <x y [w h]> - the x y coordinates where you want to draw, if -s is used, [w h] is the width/height that will be used to squeeze/stretch the bitmap
  • [x y w h] - the area in the picture to be drawn
  • [N] - if -o is used, the index number of the picture in the file
  • <filename> - the filename for the picture

Example

None

Compatibility

Added: 5.3

Added On: 13/12/97


Note: Individual switches were not taken into consideration.

See also