guit  0.1
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | List of all members
guit::GClip Class Reference

Intersection of two rectangles. More...

Public Member Functions

 GClip ()
 empty clip
 
 GClip (GRect const &rect1, GRect const &rect2)
 the clip is the intersection of the two rectangles.
 
void intersection (GRect const &)
 the clip is the intersection of the current rectangle with the rectangle given as an argument.
 
bool contain (GPoint const &) const
 returns true is the clip contains this point.
 

Detailed Description

Intersection of two rectangles.


The documentation for this class was generated from the following files: