SILLY_TGAImageContext(3)

TGAImageContext(3) Simple Image Loading LibrarY TGAImageContext(3)

NAME

TGAImageContext - Image Context for Targa image.

SYNOPSIS

#include <SILLYTGAImageContext.h>

Inherits ImageContext.

Public Member Functions


bool flipVertically ()
Flip pixel ordering. 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

bool flipVertically () [inherited]

Flip pixel ordering.

Returns:

true on success false otherwise

Definition at line 45 of file SILLYImageContext.cpp.

Author

Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code.

Sat Mar 2 2019 Version 0.1.0