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

Public Member Functions | List of all members
CPrimitives Struct Referenceabstract

#include <renderer.h>

Inheritance diagram for CPrimitives:
CRenderer< BPP, MASK >

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

◆ DrawCircle()

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

◆ DrawLine()

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

◆ DrawPixel()

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

◆ DrawRectangle()

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

◆ DrawTransCircle()

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

◆ DrawTransLine()

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

◆ DrawTransPixel()

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

◆ DrawTransRectangle()

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

◆ FillCircle()

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

◆ FillTransCircle()

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

◆ FillTransRectangle()

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

The documentation for this struct was generated from the following file:
(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.