Project

General

Profile

Drawcopy » History » Version 7

Per Amundsen, 02/16/2023 12:17 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/drawcopy -himnrt <@window> [color] <x y w h> <@window> <x y [w h]>*
4
5
Copies part of a picture to a different position in the same window or to another window. If the second [w h] parameters are specified, the picture is stretched/squeezed to fit.
6
7
*Switches*
8
9 7 Per Amundsen
table(ktable).
10
|*Switch*|*Description*|
11
| -h | Highlights the windows icon if it is minimized. |
12
| -i | Draws in inverse mode. |
13
| -m | Changes the stretch mode quality when the picture is resized. |
14
| -n | Prevents the display from being updated immediately. |
15
| -r | Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value. |
16
| -t | Indicates that you have specified the [color] RGB value as a transparent color in the source bitmap. |
17 2 Per Amundsen
18 1 Per Amundsen
*Parameters*
19
20 7 Per Amundsen
table(ktable).
21
|*Parameter*|*Description*|
22
| <@window> | The picture window to copy from. |
23
| [color] | If -t is used, the RGB color used for transparency. |
24
| <x y w h> | Portion to of the source @window to copy. |
25
| <@window> | The picture window to copy to. |
26
| <x y [w h]> | The coordinate where to draw, if [w h] are specified, the picture is squeed/stretched to fit, they can be negative value to get a mirror effect. |