Project

General

Profile

Drawpic » History » Version 11

Per Amundsen, 12/14/2019 09:58 AM

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 8 Per Amundsen
-t - Indicates that you have specified the [color] [[$rgb]] value as a transparent color in the specified bitmap.
8 1 Per Amundsen
-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 11 Per Amundsen
-l - *TODO*
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 11 Per Amundsen
-gN - *TODO*
14 9 Per Amundsen
-i - Draws in inverse mode.
15 1 Per Amundsen
-h - Highlights the windows icon if it is minimized.
16
-n - Prevents the display from being updated immediately.
17 7 Per Amundsen
-o - Indicates that you have specified the [N] value before the filename represents the index of the icon in the file.
18 11 Per Amundsen
-f - *TODO*
19 1 Per Amundsen
20
*Parameters*
21
22
<@window> - The window name to draw.
23
[color] - If -t is used, the RGB color used for transparency.
24
<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.
25
[x y w h] - The area in the picture to be drawn.
26
[N] - If -o is used, the index number of the picture in the file.
27 11 Per Amundsen
[M] - *TODO*
28 1 Per Amundsen
<filename> - The filename for the picture.