Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

image::tga Namespace Reference

Targa Image Loading/Saving Methods. More...


Compounds

struct  image::tga::header_t

Typedefs

typedef unsigned char byte

Functions

image_tload (const std::string &filename)
 Loads the TGA from the file filename. More...

image_tload (std::istream &stream)
 Loads the TGA from the stream filename. More...

bool can_load (const std::string &filename)
 Determines if filename is a loadable TGA. More...

bool can_load (std::istream &stream)
 Determines if filename is a loadable TGA. More...


Detailed Description

Targa Image Loading/Saving Methods.

Function Documentation

bool image::tga::can_load std::istream &    stream
 

Determines if filename is a loadable TGA.

Note:
The streams internal pointer will leave this function unchanged.
Returns:
true if filename can be loaded as a TGA.

Definition at line 124 of file tga_image.cpp.

bool image::tga::can_load const std::string &    filename
 

Determines if filename is a loadable TGA.

Returns:
true if filename can be loaded as a TGA.

Definition at line 103 of file tga_image.cpp.

image::image_t * image::tga::load std::istream &    stream
 

Loads the TGA from the stream filename.

Returns:
image_t* to the new image.

Definition at line 31 of file tga_image.cpp.

image::image_t * image::tga::load const std::string &    filename
 

Loads the TGA from the file filename.

Returns:
image_t* to the new image.

Definition at line 10 of file tga_image.cpp.


Generated on Tue Feb 11 18:49:49 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002