1Image.copyResized(3kaya) Kaya module reference Image.copyResized(3kaya)
2
3
4
6 Image::copyResized - Copy and resize a portion of an image.
7
9 Void copyResized( Image dest, Image src, Int dstx, Int dsty, Int srcx,
10 Int srcy, Int destw, Int desth, Int srcw, Int srch )
11
13 dest Destination image
14
15 src Source image
16
17 dstx Destination left edge
18
19 dsty Destination top edge
20
21 srcx Source left edge
22
23 srcy Source top edge
24
25 destw Width of area to copy in to
26
27 desth Height of area to copy in to
28
29 srcw Width of area to copy out of
30
31 srch Height of area to copy out of
32
34 Copy a portion of an image from one image to another, resizing the
35 copied area to fit within a particular destination rectangle.
36
38 Kaya standard library by Edwin Brady, Chris Morris and others
39 (kaya@kayalang.org). For further information see http://kayalang.org/
40
42 The Kaya standard library is free software; you can redistribute it
43 and/or modify it under the terms of the GNU Lesser General Public
44 License (version 2.1 or any later version) as published by the Free
45 Software Foundation.
46
48 Image.copy (3kaya)
49
50
51
52Kaya December 2010 Image.copyResized(3kaya)