SGE Macros


Important!

sge_clip
Returns clipping boundaries for the surface.



void sge_RectUnion(SDL_Rect dst_rect, SDL_Rect rect1, SDL_Rect rect2)
Put the smallest bounding rectangle that encloses both rect1 and rect2 in dst_rect. Note that dst_rect can't be the same structure as rect1 or rect2!





Copyright © 1999-2003 Anders Lindström
Last updated 030808