56 SDL_Rect temp = draw_to->setup_rects ();
58 ret.x = temp.x > x ()? temp.x : x ();
59 ret.y = temp.y > y ()? temp.y : y ();
72 ret.w = txw < xpl ? txwmrx > 0 ? txwmrx : 0 : xplmrx > 0 ? xplmrx : 0;
73 ret.h = tyh < yph ? tyhmry > 0 ? tyhmry : 0 : yphmry > 0 ? yphmry : 0;
#define s_int32
32 bits long signed integer
drawing_area()
Default constructor.
#define u_int16
16 bits long unsigned integer
drawing_area & operator=(SDL_Rect &r)
Convert an SDL_Rect into a drawing_area.
SDL_Rect setup_rects() const
Gets the real parameters of this drawing_area.
Implements "drawing zones" for drawing operations.
#define s_int16
16 bits long signed integer
Declares the drawing_area class.