_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Functions
DRAW Namespace Reference

Functions

template<const int BPP>
static Uint32 GetPixel (const void *const pixels, unsigned int index)
 
template<const int BPP>
static void PutPixel (void *const pixels, unsigned int index, Uint32 color)
 
template<const int BPP>
static void PutPixelDouble (void *pixels, const unsigned int index, Uint32 color)
 
template<const int BPP>
static void PutPixelQuatro (void *pixels, unsigned int index, Uint32 color)
 
template<const int BPP>
static void DrawHLine (void *pixels, unsigned int index, int width, Uint32 color)
 

Function Documentation

◆ DrawHLine()

template<const int BPP>
static void DRAW::DrawHLine ( void pixels,
unsigned int  index,
int  width,
Uint32  color 
)
inlinestatic

◆ GetPixel()

template<const int BPP>
static Uint32 DRAW::GetPixel ( const void *const  pixels,
unsigned int  index 
)
inlinestatic

◆ PutPixel()

template<const int BPP>
static void DRAW::PutPixel ( void *const  pixels,
unsigned int  index,
Uint32  color 
)
inlinestatic

◆ PutPixelDouble()

template<const int BPP>
static void DRAW::PutPixelDouble ( void pixels,
const unsigned int  index,
Uint32  color 
)
inlinestatic

◆ PutPixelQuatro()

template<const int BPP>
static void DRAW::PutPixelQuatro ( void pixels,
unsigned int  index,
Uint32  color 
)
inlinestatic
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.