Rect

Publicly inherited by Line, MouseZone, Renderer.

Public Methods

Rect( );
Rect( int x, int y, int w, int h );
boolcontains( int x, int y );
intheight( );
Rectintersect( const Rect& r );
boolintersects( const Rect& r );
voidmoveBy( int dx, int dy );
voidmoveTopLeft( int x, int y );
voidsetRect( int x, int y, int w, int h );
voidsetSize( int w, int h );
intwidth( );
intx( );
inty( );

Private Data Members

int_x1;
int_x2;
int_y1;
int_y2;

Return to Index.
Automatically generated on Aug 11 23:32