Primitives
Polygon
Transform
Surface
Drawing
Dirty Rect
Palette
Control
Misc
Types
Defines
Extended
Arguments
Index
Credits
|
| Return |
Name |
Arguments |
| void |
SPG_ArcFn |
SDL_Surface* surface, Sint16
cx, Sint16
cy, float
radius, float
startAngle, float
endAngle, Uint32
color, void Callback(SDL_Surface *Surf, Sint16 X,
Sint16 Y, Uint32 Color) |
| void |
SPG_Arc |
SDL_Surface* surface, Sint16
x, Sint16
y, float
radius, float
angle1, float
angle2, Uint32
color |
| void |
SPG_ArcBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float
radius, float
angle1, float
angle2, Uint32
color, Uint8
alpha |
| void |
SPG_ArcFilled |
SDL_Surface* surface, Sint16
cx, Sint16
cy, float
radius, float
startAngle, float
endAngle, Uint32
color |
| void |
SPG_ArcFilledBlend |
SDL_Surface* surface, Sint16
cx, Sint16
cy, float
radius, float
startAngle, float
endAngle, Uint32
color, Uint8
alpha |
| void |
SPG_Autolock |
SPG_bool enable |
| void |
SPG_Bezier |
SDL_Surface* surface, Sint16 startX, Sint16 startY, Sint16
cx1, Sint16
cy1, Sint16
cx2, Sint16
cy2, Sint16
endX, Sint16
endY, Uint8
quality, Uint32
color |
| void |
SPG_BezierBlend |
SDL_Surface* surface, Sint16
startX, Sint16 startY, Sint16 cx1, Sint16 cy1, Sint16 cx2, Sint16 cy2, Sint16 endX, Sint16 endY, Uint8
quality, Uint32
color, Uint8
alpha |
| int |
SPG_Blit |
SDL_Surface* Src, SDL_Rect* srcRect,
SDL_Surface* Dest, SDL_Rect* destRect |
| void |
SPG_BlockRead8 |
SDL_Surface* Surface, Uint8* block, Sint16 y |
| void |
SPG_BlockRead16 |
SDL_Surface* Surface, .*
block, Sint16
y |
| void |
SPG_BlockRead32 |
SDL_Surface*
Surface, Uint32*
block, Sint16 y |
| void |
SPG_BlockWrite8 |
SDL_Surface* Surface, Uint8* block, Sint16 y |
| void |
SPG_BlockWrite16 |
SDL_Surface* Surface, Uint16*
block, Sint16
y |
| void |
SPG_BlockWrite32 |
SDL_Surface*
Surface, Uint32*
block, Sint16 y |
| void |
SPG_Circle |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color |
| void |
SPG_CircleBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color, Uint8
alpha |
| void |
SPG_CircleFilled |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color |
| void |
SPG_CircleFilledBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color, Uint8
alpha |
| void |
SPG_CircleFn |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color, void
Callback(SDL_Surface *Surf, Sint16 X,
Sint16 Y, Uint32 Color) |
| int |
SPG_Clamp |
int value, int
min, int
max |
| SDL_Color* |
SPG_ColorPalette |
none |
| Uint32 |
SPG_ConvertColor |
SDL_PixelFormat* srcfmt, Uint32
srccolor, SDL_PixelFormat*
destfmt |
| void |
SPG_CopyPoints |
Uint16
n, SPG_Point* points, SPG_Point* buffer |
| SDL_Surface* |
SPG_CopySurface |
SDL_Surface* src |
| SDL_Surface* |
SPG_CreateSurface
(SPG_CreateSurface32) |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateSurface8 |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateSurface16 |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateSurface16Alpha |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateSurface24 |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateSurfaceFrom |
void*
linearArray, Uint16
width, Uint16 height,
SDL_PixelFormat* format |
| void |
SPG_DirtyAdd |
SDL_Rect* rect |
| void |
SPG_DirtyAddTo |
SPG_DirtyTable* table, SDL_Rect* rect |
| void |
SPG_DirtyClear |
SPG_DirtyTable* table |
| void |
SPG_DirtyClip |
SDL_Surface* screen, SDL_Rect*
rect |
| SPG_bool |
SPG_DirtyEnabled |
none
|
| void |
SPG_DirtyFree |
SPG_DirtyTable* table |
| SPG_DirtyTable* |
SPG_DirtyGet |
none |
| void |
SPG_DirtyInit |
Uint16 maxsize |
| void |
SPG_DirtyLevel |
Uint16
optimizationLevel |
| SPG_DirtyTable* |
SPG_DirtyMake |
Uint16 maxsize |
| void |
SPG_DirtySwap |
none |
| SPG_DirtyTable* |
SPG_DirtyUpdate |
SDL_Surface* screen |
| SDL_Surface* |
SPG_DisplayFormat |
SDL_Surface* surf |
| SDL_Surface* |
SPG_DisplayFormatAlpha |
SDL_Surface* surf |
| void |
SPG_Draw |
SDL_Surface* source,
SDL_Surface* dest, Sint16 x, Sint16 y |
| void |
SPG_DrawBlit |
SDL_Surface* img, SDL_Surface* dest, Sint16 x, Sint16 y |
| void |
SPG_DrawCenter |
SDL_Surface* source,
SDL_Surface* dest, Sint16 x, Sint16 y |
| void |
SPG_Ellipse |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color |
| void |
SPG_EllipseArb |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, float
angle,
Uint32
color |
| void |
SPG_EllipseBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color, Uint8
alpha |
| void |
SPG_EllipseBlendArb |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, float
angle,
Uint32
color, Uint8
alpha |
| void |
SPG_EllipseFilled |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color |
| void |
SPG_EllipseFilledArb |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, float
angle,
Uint32
color |
| void |
SPG_EllipseFilledBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float rx, float ry, Uint32
color, Uint8
alpha |
| void |
SPG_EllipseFilledBlendArb |
SDL_Surface* surface, Sint16
x, Sint16
y, float rx, float ry, float
angle,
Uint32
color, Uint8
alpha |
| void |
SPG_EllipseFn |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color, void
Callback(SDL_Surface* Surf, Sint16 X,
Sint16 Y, Uint32 Color) |
| void |
SPG_EnableDirty |
SPG_bool enable |
| void |
SPG_EnableErrors |
SPG_bool enable |
| void |
SPG_Error |
const char* err |
| void |
SPG_FadedPalette32 |
SDL_PixelFormat*
format, Uint32
color1, Uint32
color2, Uint32*
colorArray, Uint16
startIndex, Uint16
stopIndex |
| void |
SPG_FadedPalette32Alpha |
SDL_PixelFormat*
format, Uint32
color1, Uint8
alpha1,
Uint32
color2, Uint8
alpha2, Uint32*
colorArray, Uint16
startIndex, Uint16
stopIndex |
| void |
SPG_Fill |
SDL_Surface* surface, Uint32 color |
| void |
SPG_FillAlpha |
SDL_Surface* surface, Uint32
color, Uint8
alpha |
| Uint32 |
SPG_FindPaletteColor |
SDL_Palette* palette, Uint8
r, Uint8
g, Uint8
b |
| void |
SPG_FloodFill |
SDL_Surface* dst, Sint16
x, Sint16
y, Uint32
color |
| void |
SPG_FloodFill8 |
SDL_Surface* dst, Sint16
x, Sint16
y, Uint32
color |
| void |
SPG_Free |
SDL_Surface* surface |
| SPG_bool |
SPG_GetAA |
none |
| Uint8 |
SPG_GetAlpha |
SDL_Surface* surface, Uint32 color |
| SPG_bool |
SPG_GetAutolock |
none |
| Uint8 |
SPG_GetBlend |
none |
| <Blit_Fn> |
SPG_GetBlit |
none |
| Uint8 |
SPG_GetBlue |
SDL_Surface* surface, Uint32 color |
| SDL_Rect rect |
SPG_GetClip |
SDL_Surface* surface |
| SDL_Color |
SPG_GetColor |
SDL_Surface* Surface, Uint32 Color |
| char* |
SPG_GetError |
none |
| Uint8 |
SPG_GetGreen |
SDL_Surface* surface, Uint32 color |
| Uint32 |
SPG_GetPixel |
SDL_Surface* surface, Sint16
x, Sint16
y |
| Uint8 |
SPG_GetRed |
SDL_Surface* surface, Uint32 color |
| SPG_bool |
SPG_GetSurfaceAlpha |
none |
| Uint16 |
SPG_GetThickness |
none |
| SDL_Color* |
SPG_GrayPalette |
none |
| void |
SPG_GrayPalette32 |
SDL_PixelFormat*
format, Uint32*
colorArray, Uint16
startIndex, Uint16
stopIndex |
| SDL_Surface* |
SPG_InitSDL |
Uint16 w, Uint16
h, Uint8
bitsperpixel, Uint32
systemFlags, Uint32
screenFlags |
| void |
SPG_Line |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
Color |
| void |
SPG_LineBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color, Uint8
alpha |
| void |
SPG_LineFade |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color1, Uint32
color2 |
| void |
SPG_LineFadeBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color1, Uint8
alpha1, Uint32
color2, Uint8
alpha2 |
| void |
SPG_LineFadeFn |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color1, Uint32
color2, void Callback(SDL_Surface *Surf, Sint16 X,
Sint16 Y,
Uint32 Color) |
| void |
SPG_LineFn |
SDL_Surface* surface, Sint16
X1, Sint16
Y1, Sint16
X2, Sint16
Y2, Uint32
Color,
void Callback(SDL_Surface *Surf, Sint16 X,
Sint16 Y, Uint32 Color) |
| void |
SPG_LineH |
SDL_Surface* surface, Sint16
x1, Sint16
x2, Sint16
y, Uint32
Color |
| void |
SPG_LineHBlend |
SDL_Surface* surface, Sint16
x1, Sint16
x2, Sint16
y, Uint32
color, Uint8
alpha |
| void |
SPG_LineHFade |
SDL_Surface* dest, Sint16
x1, Sint16
y, Sint16
x2, Uint32
color1, Uint32
color2 |
| void |
SPG_LineHTex |
SDL_Surface* dest, Sint16
x1, Sint16
x2, Sint16
y,
SDL_Surface* source, Sint16
sx1, Sint16
sy1, Sint16
sx2, Sint16
sy2 |
| void |
SPG_LineV |
SDL_Surface* surface, Sint16
x, Sint16
y1, Sint16
y2, Uint32
Color |
| void |
SPG_LineVBlend |
SDL_Surface* surface, Sint16
x, Sint16
y1, Sint16
y2, Uint32
color, Uint8
alpha |
| SDL_Color |
SPG_MakeColor |
Uint8
R, Uint8
G, Uint8
B |
| SDL_Color |
SPG_MakeColorAlpha |
Uint8
R, Uint8
G, Uint8
B, Uint8
A
|
| SPG_Point |
SPG_MakePoint |
Sint16 x, Sint16 y |
| SDL_Rect |
SPG_MakeRect |
Sint16 x, Sint16 y, Uint16 w, Uint16 h |
| SDL_Rect |
SPG_MakeRectRelative |
Sint16 x, Sint16 y, Sint16 x2, Sint16 y2 |
| Uint32 |
SPG_MixAlpha |
SDL_Surface* surface, Uint32
color, Uint8
alpha |
| Uint32 |
SPG_MixBlue |
SDL_Surface* surface, Uint32
color, Uint8
blue |
| Uint32 |
SPG_MixGreen |
SDL_Surface* surface, Uint32
color, Uint8
green |
| Uint32 |
SPG_MixRed |
SDL_Surface* surface, Uint32
color, Uint8
red |
| Uint16 |
SPG_NumErrors |
none |
| SDL_Surface* |
SPG_PalettizeSurface |
SDL_Surface* surface,
SDL_Palette* palette |
| void |
SPG_Pixel |
SDL_Surface* surface, Sint16
x, Sint16
y, Uint32
color |
| void |
SPG_PixelBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, Uint32
color, Uint8
alpha |
| void |
SPG_PixelPattern |
SDL_Surface* surface,
SDL_Rect
target,
SPG_bool*
pattern, Uint32*
colors |
| void |
SPG_PixelPatternBlend |
SDL_Surface* surface, SDL_Rect
target,
SPG_bool*
pattern, Uint32*
colors, Uint8* pixelAlpha |
| void |
SPG_Polygon |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32 color |
| void |
SPG_PolygonBlend |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32 color |
| void |
SPG_PolygonFade |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32* colors |
| void |
SPG_PolygonFadeBlend |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32*
colors, Uint8
alpha |
| void |
SPG_PolygonFilled |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32 color |
| void |
SPG_PolygonFilledBlend |
SDL_Surface* surface, Uint16
n, Sint16*
x, Sint16* y, Uint32
color, Uint8
alpha |
| SPG_bool |
SPG_PopAA |
none |
| Uint8 |
SPG_PopBlend |
none |
| SPG_bool |
SPG_PopSurfaceAlpha |
none |
| Uint16 |
SPG_PopThickness |
none |
| void |
SPG_PushAA |
SPG_bool enable |
| void |
SPG_PushBlend |
Uint8 state |
| void |
SPG_PushSurfaceAlpha |
SPG_bool enable |
| void |
SPG_PushThickness |
Uint16 state |
| void |
SPG_QuadTex |
SDL_Surface* dest, Sint16 destULx, Sint16
destULy, Sint16
destDLx, Sint16
destDLy, Sint16
destDRx, Sint16
destDRy, Sint16
destURx, Sint16
destURy,
SDL_Surface* source, Sint16 srcULx,
Sint16
srcULy, Sint16
srcDLx, Sint16
srcDLy, Sint16
srcDRx, Sint16
srcDRy, Sint16
srcURx, Sint16
srcURy |
| void |
SPG_QuadTexPoints |
SDL_Surface* dest, SPG_Point* dest_points,
SDL_Surface* source, SPG_Point* source_points |
| void |
SPG_RainbowPalette32 |
SDL_PixelFormat*
format, Uint32*
colorArray, Uint8
intensity, Uint16
startIndex, Uint16
stopIndex |
| void |
SPG_Rect |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color |
| SPG_bool |
SPG_RectAND |
const SDL_Rect A, const SDL_Rect
B, SDL_Rect* intersection |
| void |
SPG_RectBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color, Uint8
alpha |
| void |
SPG_RectFilled |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color |
| void |
SPG_RectFilledBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color, Uint8
alpha |
| void |
SPG_RectOR |
const SDL_Rect
rect1, const SDL_Rect
rect2, SDL_Rect*
dst_rect |
| void |
SPG_RectRound |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, float
r, Uint32
color |
| void |
SPG_RectRoundBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, float
r, Uint32
color, Uint8
alpha |
| void |
SPG_RectRoundFilled |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, float r, Uint32 color |
| void |
SPG_RectRoundFilledBlend |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, float
r, Uint32
color, Uint8
alpha |
| SDL_Surface* |
SPG_ReplaceColor |
SDL_Surface* src, SDL_Rect* srcrect, SDL_Surface* dest, SDL_Rect* destrect, Uint32 color |
| void |
SPG_RestoreClip |
SDL_Surface* surface |
| SDL_Surface* |
SPG_Rotate |
SDL_Surface* src, float angle, Uint32
bgColor = 0 |
| SDL_Surface* |
SPG_RotateAA |
SDL_Surface* src, float angle, Uint32
bgColor = 0 |
| void |
SPG_RotatePoints |
Uint16
n, SPG_Point* points, float angle |
| void |
SPG_RotatePointsXY |
Uint16
n, SPG_Point* points, float
cx, float
cy, float
angle |
| SDL_Surface* |
SPG_Scale |
SDL_Surface* src, float
xscale, float
yscale, Uint32
bgColor = 0 |
| SDL_Surface* |
SPG_ScaleAA |
SDL_Surface* src, float xscale, float yscale, Uint32
bgColor = 0 |
| void |
SPG_ScalePoints |
Uint16
n, SPG_Point* points, float
xscale, float
yscale |
| void |
SPG_ScalePointsXY |
Uint16
n, SPG_Point* points, float
cx, float
cy, float
xscale, float
yscale |
| void |
SPG_SetBlit |
void (*blitfn)(SDL_Surface*,
SDL_Rect*, SDL_Surface*, SDL_Rect*) |
| void |
SPG_SetClip |
SDL_Surface* surface,
SDL_Rect& rect |
| void |
SPG_SetColorkey |
SDL_Surface* img, Uint32 color |
| void |
SPG_SetSurfaceAlpha |
SDL_Surface* surface, Uint8 alpha |
| void |
SPG_SkewPoints |
Uint16
n, SPG_Point* points, float
xskew, float
yskew |
| void |
SPG_SkewPointsXY |
Uint16
n, SPG_Point* points, float
cx, float
cy, float
xskew, float
yskew |
| SDL_Surface* |
SPG_Transform |
SDL_Surface* src,
Uint32
bgColor, float
angle, float
xscale, float
yscale, Uint8
flags |
| SDL_Rect |
SPG_TransformX |
SDL_Surface* src, SDL_Surface* dst, float
angle, float
xscale, float
yscale, Uint16
destx, Uint16
desty, Uint16
pivotx, Uint16
pivoty, Uint8
flags |
| void |
SPG_TranslatePoints |
Uint16
n, SPG_Point* points, float
x1, float
y1 |
| void |
SPG_Trigon |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color |
| void |
SPG_TrigonBlend |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32
color, Uint8
alpha |
| void |
SPG_TrigonFade |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3,
Uint32 color1,
Uint32 color2, Uint32
color3 |
| void |
SPG_TrigonFilled |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color |
| void |
SPG_TrigonFilledBlend |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32
color, Uint8
alpha |
| void |
SPG_TrigonTex |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16
y3,
SDL_Surface* source, Sint16 sx1, Sint16 sy1, Sint16 sx2, Sint16
sy2, Sint16
sx3, Sint16
sy3 |
| void |
SPG_TrigonTexPoints |
SDL_Surface* dest, SPG_Point* dest_points,
SDL_Surface* source, SPG_Point* source_points |
|