Purpose
Draw an image from file.
Synopsis
procedure XADcanvasdrawimage(id:integer, x:real, y:real,
file: string)
procedure XADcanvasdrawimage(id:integer, x:real, y:real,
w:integer, h:integer, file: string)
Arguments
|
id
|
Canvas identifier
|
|
x
|
x coordinate
|
|
y
|
y coordinate
|
|
w
|
Width
|
|
h
|
Height
|
|
file
|
File name
|
Further information
Draws
the image from the given
file at coordinates (
x,
y).
The file can be of type
.bmp,
.jpg,
.gif, or
.png. If height and width are given, then the image is rescaled
to fit in a rectangle of width
w and height
h.
If the string is
"xadimg:imgname", a previously saved
imgname (see above) will be drawn.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.