Main Page   Modules   Compound List   File List   Compound Members   File Members  

Test Attributes of an Image
[Image Package]


Functions

Gan_Bool gan_image_test_format (Gan_Image *img, Gan_ImageFormat format)
 Macro: Test image format.

Gan_Bool gan_image_test_type (Gan_Image *img, Gan_Type type)
 Macro: Test image type.

Gan_Bool gan_image_test_dims (Gan_Image *img1, Gan_Image *img2)
 Macro: Test image dimensions.


Function Documentation

Gan_Bool gan_image_test_dims Gan_Image   img1,
Gan_Image   img2
 

Macro: Test image dimensions.

Returns GAN_TRUE if the dimensions (width & height) of the given image img1 are the same as those of img2, GAN_FALSE otherwise.

Gan_Bool gan_image_test_format Gan_Image   img,
Gan_ImageFormat    format
 

Macro: Test image format.

Returns GAN_TRUE if the format of the given img is format, GAN_FALSE otherwise.

Gan_Bool gan_image_test_type Gan_Image   img,
Gan_Type    type
 

Macro: Test image type.

Returns GAN_TRUE if the type of the given img is type, GAN_FALSE otherwise.


Generated on Mon Oct 13 16:14:50 2003 by doxygen1.3-rc1