Main Page
Modules
Data Structures
Drawing images
bx_draw_image
bx_draw_image_fx
bx_effect
bx_load_image
void bx_draw_image
(
bx_window
win
,
bx_image
image
,
int
x
,
int
y
)
Draws an image on the canvas of a window.
Parameters:
win
the window owning the targeted canvas.
image
the image to draw on the canvas
x,y
the position of tha anchor of the image on the canvas, that is, its top left corner
Returns:
nothing.
Remarks:
images can be loaded from a file (gif, jpg, png, ...) with
bx_load_image()
or bx_load_image_f().
the direction of y-axis of the canvas is downward.
if the image has transparent pixels, the underlying pixels of the canvas will still be visible.
Generated on Fri Oct 10 00:01:00 2008 for bx-lib : the Basic X11 Library tuned for C beginners by
1.5.6