GnomeCanvasImage places
an image on the canvas; you pass it a GdkImlibImage, loaded using one of
the Imlib routines. If the image has transparent areas,
they will be properly handled (they won't be considered
part of the item, and will not receive events). To use
GnomeCanvasImage with a
GDK canvas, you must push the Imlib visual and colormap
before creating the canvas; see the section called
Preparing the GnomeCanvas
Widget.
Table 4.
GnomeCanvasImage Arguments
Name
|
Type
|
Read/Write
|
Description
|
image
|
GdkImlibImage*
|
Both
|
GdkImlibImage to
display
|
x
|
double
|
Both
|
X coordinate of the anchor point
|
y
|
double
|
Both
|
Y coordinate of the anchor point
|
anchor
|
GtkAnchorType
|
Both
|
Location of anchor point
|
width
|
double
|
Both
|
Width in canvas units (image will be scaled)
|
height
|
double
|
Both
|
Height in canvas units (image will be scaled)
|