Main Page | Modules | Class List | File List | Class Members | File Members

Test Attributes of an Image
[Image Package]


Functions

Gan_Bool gan_image_test_format (const Gan_Image *img, Gan_ImageFormat format)
 Macro: Test image format.
Gan_Bool gan_image_test_type (const Gan_Image *img, Gan_Type type)
 Macro: Test image type.
Gan_Bool gan_image_test_dims (const Gan_Image *img1, const Gan_Image *img2)
 Macro: Test image dimensions.

Function Documentation

Gan_Bool gan_image_test_dims const Gan_Image img1,
const 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 const 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 const 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 Fri Mar 17 12:45:00 2006 by  doxygen 1.3.9.1