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

CPrimitives Struct Reference

#include <renderer.h>

Inheritance diagram for CPrimitives:

CRenderer< BPP, MASK >

List of all members.


Public Member Functions

virtual void DrawPixel (Uint32 color, int x, int y)=0
virtual void DrawTransPixel (Uint32 color, int x, int y, unsigned char alpha)=0
virtual void DrawLine (Uint32 color, int sx, int sy, int dx, int dy)=0
virtual void DrawTransLine (Uint32 color, int sx, int sy, int dx, int dy, unsigned char alpha)=0
virtual void DrawRectangle (Uint32 color, int x, int y, int w, int h)=0
virtual void DrawTransRectangle (Uint32 color, int x, int y, int w, int h, unsigned char alpha)=0
virtual void FillTransRectangle (Uint32 color, int x, int y, int w, int h, unsigned char alpha)=0
virtual void DrawCircle (Uint32 color, int x, int y, int r)=0
virtual void DrawTransCircle (Uint32 color, int x, int y, int r, unsigned char alpha)=0
virtual void FillCircle (Uint32 color, int x, int y, int r)=0
virtual void FillTransCircle (Uint32 color, int x, int y, int r, unsigned char alpha)=0

Member Function Documentation

virtual void CPrimitives::DrawPixel ( Uint32  color,
int  x,
int  y 
) [pure virtual]

virtual void CPrimitives::DrawTransPixel ( Uint32  color,
int  x,
int  y,
unsigned char  alpha 
) [pure virtual]

virtual void CPrimitives::DrawLine ( Uint32  color,
int  sx,
int  sy,
int  dx,
int  dy 
) [pure virtual]

virtual void CPrimitives::DrawTransLine ( Uint32  color,
int  sx,
int  sy,
int  dx,
int  dy,
unsigned char  alpha 
) [pure virtual]

virtual void CPrimitives::DrawRectangle ( Uint32  color,
int  x,
int  y,
int  w,
int  h 
) [pure virtual]

virtual void CPrimitives::DrawTransRectangle ( Uint32  color,
int  x,
int  y,
int  w,
int  h,
unsigned char  alpha 
) [pure virtual]

virtual void CPrimitives::FillTransRectangle ( Uint32  color,
int  x,
int  y,
int  w,
int  h,
unsigned char  alpha 
) [pure virtual]

virtual void CPrimitives::DrawCircle ( Uint32  color,
int  x,
int  y,
int  r 
) [pure virtual]

virtual void CPrimitives::DrawTransCircle ( Uint32  color,
int  x,
int  y,
int  r,
unsigned char  alpha 
) [pure virtual]

virtual void CPrimitives::FillCircle ( Uint32  color,
int  x,
int  y,
int  r 
) [pure virtual]

virtual void CPrimitives::FillTransCircle ( Uint32  color,
int  x,
int  y,
int  r,
unsigned char  alpha 
) [pure virtual]


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.