Simple Image Loading LibrarY  0.1.0
Public Member Functions | Protected Member Functions | Friends | List of all members
TGAImageContext Class Reference

Image Context for Targa image. More...

#include <SILLYTGAImageContext.h>

Inheritance diagram for TGAImageContext:
Inheritance graph
[legend]
Collaboration diagram for TGAImageContext:
Collaboration graph
[legend]

Public Member Functions

bool flipVertically ()
 Flip pixel ordering. More...
 
size_t getHeight () const
 
PixelFormat getPixelFormat () const
 
size_t getWidth () const
 
void setDestination (byte *pixels, size_t length, PixelFormat format)
 Set the destination of the loading.
 
void setNextPixel (byte red, byte green, byte bleu, byte alpha)
 Set the next pixel of the image.
 
 TGAImageContext (size_t width, size_t height)
 

Protected Member Functions

void setHeight (size_t height)
 
void setWidth (size_t width)
 

Friends

class TGAImageLoader
 

Detailed Description

Image Context for Targa image.

Definition at line 42 of file SILLYTGAImageContext.h.

Member Function Documentation

◆ flipVertically()

bool flipVertically ( )
inherited

Flip pixel ordering.

Returns
true on success false otherwise

Definition at line 45 of file SILLYImageContext.cpp.


The documentation for this class was generated from the following file: