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