Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | kopier() |
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Examples | ![]() Bild img = lad_s_Bild("eames.jpg");
zeig_s_Bild(img, 0, 0);
kopier(15, 25, 10, 10, 35, 25, 50, 50);
kei_Fuellfarb();
// Rectangle shows area being copied
Viereck(15, 25, 10, 10); |
||||||||||||||||||
| Description | Copies a region of pixels from the display window to another area of the display window and copies a region
of pixels from an image used as the srcImg parameter into the display window. If the source and destination regions aren't the same size, it will automatically resize the source pixels to fit the specified target region. No alpha information is used in the process, however if the source image has an alpha channel set, it will be copied as well. Bildmodus(CORNERS) will change the Feischterbreiti and Feischterhoechi parameters to define the x and y values of the opposite corner of the image. |
||||||||||||||||||
| Syntax | kopier(x, y, Feischterbreiti, Feischterhoechi, dx, dy, dFeischterbreiti, dFeischterhoechi) kopier(srcImg, x, y, Feischterbreiti, Feischterhoechi, dx, dy, dFeischterbreiti, dFeischterhoechi) |
||||||||||||||||||
| Parameters |
|
||||||||||||||||||
| Usage | Web & Application | ||||||||||||||||||
| Related | Bildmodus() misch() farb_vom_Pixel() |


