Project

General

Profile

Drawcopy » History » Revision 5

Revision 4 (Per Amundsen, 07/12/2016 12:27 AM) → Revision 5/7 (Per Amundsen, 07/12/2016 04:27 AM)

_Added in 1.9.0_ 

 */drawcopy -himnrt <@window> [color] <x y w h> <@window> <x y [w h]>* 

 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. 

 *Switches* 

 -h - Highlights the windows icon if it is minimized. 
 -i - TODO 
 -m - Changes the stretch mode quality when the picture is resized. TODO 
 -n - Prevents the display from being updated immediately. 
 -r - Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value. 
 -t - Indicates that you have specified the [color] RGB value as a transparent color in the source bitmap. 

 *Parameters* 

 <@window> - The picture window to copy from. 
 [color] - If -t is used, the RGB color used for transparency. 
 <x y w h> - Portion to of the source @window to copy. 
 <@window> - The picture window to copy to. 
 <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.