#include <AP_Tga.h>
Inherits AP::AP_File.
Public Member Functions | |
AP_Tga (const AP_String &namefile) | |
AP_Tga (void) | |
AP_Bool | Close (void) |
AP_Byte * | data (void) |
AP_TgaHeader * | header (void) |
Inline. | |
AP_Bool | Open (const AP_String &mode) |
Overloadable functions. | |
AP_Bool | Read (void) |
AP_Bool | Write (const AP_Pointer data, const AP_Uint32 width, const AP_Uint32 height, const AP_Uint32 bits) |
AP_Bool | Write (const AP_Pointer data) |
Private Attributes | |
AP_Byte * | _m_data |
AP_TgaHeader * | _m_header |
AP_Tga | ( | void | ) |
AP_Byte* data | ( | void | ) | [inline] |
AP_TgaHeader* header | ( | void | ) | [inline] |
Inline.
AP_Bool Write | ( | const AP_Pointer | data, | |
const AP_Uint32 | width, | |||
const AP_Uint32 | height, | |||
const AP_Uint32 | bits | |||
) |
AP_Bool Write | ( | const AP_Pointer | data | ) |
AP_TgaHeader* _m_header [private] |