Drawpic » History » Version 3
  Per Amundsen, 07/19/2016 01:08 PM 
  
| 1 | 2 | Per Amundsen | _Added in 1.9.0_ | 
|---|---|---|---|
| 2 | |||
| 3 | 1 | Per Amundsen | */drawpic -ihmnotsclgN <@window> [color] <x y [w h]> [x y w h] [N] <filename>* | 
| 4 | |||
| 5 | *Switches* | ||
| 6 | |||
| 7 | -t - Indicates that you have specified the [color] RGB value as a transparent color in the specified bitmap. | ||
| 8 | -s - Indicates that you have specified the first [w h] parameters to squeeze/stretch the bitmap. | ||
| 9 | 3 | Per Amundsen | -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. | 
| 10 | 1 | Per Amundsen | -l - Tiles the picture. | 
| 11 | 3 | Per Amundsen | -m - Changes the stretch mode quality when the picture is resized. | 
| 12 | 1 | Per Amundsen | -o - Indicates that you have specified the [N] value before the filename, representing the index of the icon in the file. | 
| 13 | -gN - TODO | ||
| 14 | -i - TODO | ||
| 15 | -h - Highlights the windows icon if it is minimized. | ||
| 16 | -n - Prevents the display from being updated immediately. | ||
| 17 | |||
| 18 | *Parameters* | ||
| 19 | |||
| 20 | <@window> - The window name to draw. | ||
| 21 | [color] - If -t is used, the RGB color used for transparency. | ||
| 22 | <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. | ||
| 23 | [x y w h] - The area in the picture to be drawn. | ||
| 24 | [N] - If -o is used, the index number of the picture in the file. | ||
| 25 | <filename> - The filename for the picture. |