Primitives
Polygon
Transform
Surface
Drawing
Palette
Control
Misc
Defines
Extended
Arguments
Index
Credits
|
| Return |
Name |
Arguments |
| SDL_Surface* |
SPG_Transform |
SDL_Surface* src,
Uint32
bgColor, float
angle, float
xscale, float
yscale, Uint8
flags |
| SDL_Rect |
SPG_TransformSurface |
SDL_Surface* src, SDL_Surface* dst, float
angle, float
xscale, float
yscale, Uint16
px, Uint16
py, Uint16
qx, Uint16
qy, Uint8
flags |
| SDL_Surface* |
SPG_Rotate |
SDL_Surface* src, float angle, Uint32
bgColor = 0 |
| SDL_Surface* |
SPG_RotateAA |
SDL_Surface* src, float angle, Uint32
bgColor = 0 |
| 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 |
| SDL_Surface* |
SPG_CreateAlphaSurface |
Uint32 flags, Uint16 width, Uint16 height |
| SDL_Surface* |
SPG_CreateAlphaSurfaceFrom |
void*
linearArray, Uint16 width, Uint16 height, SDL_PixelFormat* format |
| SDL_Surface* |
SPG_CopySurface |
SDL_Surface* src |
| SDL_Surface* |
SPG_DisplayFormat |
SDL_Surface* surf |
| SDL_Surface* |
SPG_DisplayFormatAlpha |
SDL_Surface* surf |
| void |
SPG_SetSurfaceAlpha |
SDL_Surface* surface, Uint8 alpha |
| void |
SPG_SetColorkey |
SDL_Surface* img, Uint32 color |
| void |
SPG_SetClip |
SDL_Surface* surface,
SDL_Rect& rect |
| void |
SPG_RestoreClip |
SDL_Surface* surface |
| 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_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_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 |
| 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_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_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_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_LineTex |
SDL_Surface* dest, Sint16
x1, Sint16
x2, Sint16
y,
SDL_Surface* source, Sint16
sx1, Sint16
sy1, Sint16
sx2, Sint16
sy2 |
| void |
SPG_Rect |
SDL_Surface* surface, Sint16
x1, Sint16
y1, Sint16
x2, Sint16
y2, Uint32
color |
| 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_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 |
| 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_CircleFn |
SDL_Surface* surface, Sint16
x, Sint16
y, float
r, Uint32
color, void
Callback(SDL_Surface *Surf, Sint16 X,
Sint16 Y, Uint32 Color) |
| 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_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_Ellipse |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color |
| void |
SPG_EllipseBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color, Uint8
alpha |
| void |
SPG_EllipseFilled |
SDL_Surface* surface, Sint16
x, Sint16
y, float
rx, float
ry, Uint32
color |
| void |
SPG_EllipseFilledBlend |
SDL_Surface* surface, Sint16
x, Sint16
y, float rx, float ry, Uint32
color, Uint8
alpha |
| 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 |
| 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_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_TrigonFade |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3,
Uint32 color1,
Uint32 color2, Uint32
color3 |
| 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_QuadTex |
SDL_Surface* surface, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16
y3, Sint16
x4, Sint16
y4,
SDL_Surface* source, Sint16 sx1, Sint16 sy1, Sint16
sx2, Sint16
sy2, Sint16
sx3, Sint16
sy3, Sint16
sx4, Sint16
sy4 |
| 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_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 |
| 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 |
| SDL_Color |
SPG_ToColor |
Uint8
R, Uint8
G, Uint8
B |
| SDL_Color |
SPG_ToColor |
Uint8
R, Uint8
G, Uint8
B, Uint8
A |
| SDL_Color |
SPG_GetColor |
SDL_Surface* Surface, Uint32 Color |
| void |
SPG_Fader |
SDL_Surface* surface, Uint8
sR, Uint8
sG, Uint8
sB,
Uint8 dR, Uint8
dG, Uint8
dB, Uint32*
ctab, int
start, int
stop |
| void |
SPG_AlphaFader |
SDL_Surface* surface, Uint8
sR, Uint8
sG, Uint8
sB, Uint8
sA,
Uint8 dR, Uint8
dG, Uint8
dB, Uint8
dA, Uint32*
ctab, int
start, int
stop |
| void |
SPG_SetupRainbowPalette |
SDL_Surface* surface, Uint32*
ctab, int
intensity, int
start, int
stop |
| void |
SPG_SetupBWPalette |
SDL_Surface* surface, Uint32*
ctab, int
start, int
stop |
| Uint32 |
SPG_MixAlpha |
SDL_Surface* surface, Uint32
color, Uint8
alpha |
| int |
SPG_Clamp |
int value, int
min, int
max |
| float |
SPG_sqrt |
float x |
| SDL_Rect |
SPG_MakeRect |
Sint16 x, Sint16 y, Uint16 w, Uint16 h |
| SDL_Rect |
SPG_MakeRectRelative |
Sint16 x, Sint16 y, Sint16 x2, Sint16 y2 |
| SPG_Point |
SPG_MakePoint |
Sint16 x, Sint16 y |
| SPG_bool |
SPG_RectAND |
const SDL_Rect& A, const SDL_Rect&
B, SDL_Rect* intersection |
| void |
SPG_RectOR |
const SDL_Rect&
rect1, const SDL_Rect&
rect2, SDL_Rect&
dst_rect |
| void |
SPG_FloodFill8 |
SDL_Surface* dst, Sint16
x, Sint16
y, Uint32
color |
| Uint32 |
SPG_GetPixel |
SDL_Surface* surface, Sint16
x, Sint16
y |
| int |
SPG_Blit |
SDL_Surface* Src, SDL_Rect* srcRect,
SDL_Surface* Dest, SDL_Rect* destRect |
| void |
SPG_SetBlit |
void (*blitfn)(SDL_Surface*,
SDL_Rect*, SDL_Surface*, SDL_Rect*) |
| <Blit_Fn> |
SPG_GetBlit |
none |
| 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_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_Fill |
SDL_Surface* surface, Uint32 color |
| void |
SPG_FillAlpha |
SDL_Surface* surface, Uint32
color, Uint8
alpha |
| void |
SPG_FloodFill |
SDL_Surface* dst, Sint16
x, Sint16
y, Uint32
color |
| void |
SPG_BlockRead8 |
SDL_Surface* Surface, Uint8* block, Sint16 y |
| void |
SPG_BlockRead16 |
SDL_Surface* Surface, Uint16*
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_Lock |
SPG_bool enable |
| SPG_bool |
SPG_GetLock |
none |
| void |
SPG_PushBlend |
Uint8 state |
| Uint8 |
SPG_PopBlend |
none |
| Uint8 |
SPG_GetBlend |
none |
| void |
SPG_PushAA |
SPG_bool enable |
| SPG_bool |
SPG_PopAA |
none |
| SPG_bool |
SPG_GetAA |
none |
| void |
SPG_PushSurfaceAlpha |
SPG_bool enable |
| SPG_bool |
SPG_PopSurfaceAlpha |
none |
| SPG_bool |
SPG_GetSurfaceAlpha |
none |
| void |
SPG_EnableErrors |
SPG_bool enable |
| void |
SPG_Error |
const char* err |
| char* |
SPG_GetError |
none |
| Uint16 |
SPG_NumErrors |
none |
|