VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_image_getsize()

Return width and height of the image (or window).
SYNTAX
void VG3_image_getsize(struct vg3_window *wstruct, struct vg3_image *imgptr, struct vg3_image_attributes *imgattr, int *rwidth, int *rheight)

FUNCTION PARAMETERS
wstruct Window-struct
imgptr Image, or NULL = window
imgattr Image-attributes for the image (not window), or NULL if no modification is wanted
rwidth For returning the width of the image (or window)
rheight For returning the height of the image (or window)

DESCRIPTION
Return width and height of the image (or window). The image-attributes modifiy the image (only internally, not really), before calculating the size.