VgaGames4 - image man-pages

[.. upper level ..]

vg4->image->getsize()

Get size of an image.

SYNTAX
void vg4->image->getsize(const struct VG_Image *imgp, const struct VG_ImagecopyAttrImage *iattr_image, int *width, int *height)

FUNCTION PARAMETERS
imgp Image
iattr_image Image-modifying part of image-copy attributes, or NULL
width For returning width, if not NULL
height For returning height, if not NULL

DESCRIPTION
Get size of an image. The returned size will be calculated according to the values in iattr_image.

SEE ALSO
vg4->image->getname()