Extended Functions
Primitives
Polygon
Transform
Surface
Drawing
Palette
Control
Misc
Defines
Extended

Arguments

Index
Credits

Return Name Arguments
voidSPG_FloodFill8SDL_Surface* dst, Sint16 x, Sint16 y, Uint32 color


void SPG_FloodFill8(SDL_Surface *dst, Sint16 x, Sint16 y, Uint32 color)
- Fills all 8-way (adjacent and diagonal) adjoining pixels of the same color as the pixel at (x, y) with the given color.  Useful for changing the color of primitives and borders.


SPriG v0.94 Documentation by Jonathan Dearborn 2008