Purpose
Save an image to memory (to avoid loading a file repeatedly).
Synopsis
procedure XADcanvassaveimage(id:integer, x:real, y:real, w:integer, h:integer, imgname: string)
procedure XADcanvassaveimage(id:integer, filename:string, imgname: string)
Arguments
|
id
|
Canvas identifier
|
|
x
|
x coordinate
|
|
y
|
y coordinate
|
|
w
|
Width
|
|
h
|
Height
|
|
filename
|
File containing an image (.bmp, .jpg, .gif, or .png)
|
|
imgname
|
Image name
|
Further information
Saves
what is currently drawn at
x,
y,
w,
h
or the image in
filename under the identifier
imgname.
imgname can then be drawn anywhere else using
XADcanvasdrawimage.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.