VG3_image_create()
Create an empty image.SYNTAX
struct vg3_image *
VG3_image_create(struct vg3_window *wstruct,
int width,
int height)
FUNCTION PARAMETERS
wstruct | Window-struct |
width | Width of image in pixels |
height | Height of image in pixels |
RETURN VALUE
Returns a pointer to the created image or NULL on failure.
ERRORS
On error VG3_errmsg() returns:
EINVAL - error in argument
ENOSYS - cannot create image
ENOMEM - cannot get memory
DESCRIPTION
Create a new emtpy image and return pointer to it.
SEE ALSO