NAME
CL_GRect
DESCRIPTION
/
CLASS MEMBERS
- CL_GRect()
- CL_GRect(
-
int x, int y, int w, int h)
- CL_GRect(
-
const CL_GPoint& upperLeft, const CL_GPoint& lowerRight)
- virtual ~CL_GRect()
- static CL_GRect invalid
- static CL_GRect empty
- bool isEmpty()
- bool isValid()
- bool contains(
-
const CL_GRect &r )
- bool contains(
-
const CL_GRect &r )
- virtual void translate(
-
int dx, int dy )
- virtual void warp(
-
const CL_GPoint &newUpperLeft)
- virtual void resize(
-
int w, int h)
- CL_GRect unite(
-
const CL_GRect &r )
- CL_GRect intersect(
-
const CL_GRect &r)
- CL_GPoint upperLeft()
- CL_GPoint lowerRight()
- int width()
- int height()
MEMBERS WITH DESCRIPTIONS
- CL_GRect()
-
Description:
/
- CL_GRect(
-
int x, int y, int w, int h)
Description:
/
- CL_GRect(
-
const CL_GPoint& upperLeft, const CL_GPoint& lowerRight)
Description:
/
- virtual ~CL_GRect()
-
Description:
/
- static CL_GRect invalid
-
Description:
/
- static CL_GRect empty
-
Description:
/
- bool isEmpty()
-
Description:
/
- bool isValid()
-
Description:
/
- bool contains(
-
const CL_GRect &r )
Description:
/ /move the rectangle by (dx, dy)
- bool contains(
-
const CL_GRect &r )
Description:
/ /move the rectangle by (dx, dy)
- virtual void translate(
-
int dx, int dy )
Description:
/move the rectangle, specifying new upperleft corner
- virtual void warp(
-
const CL_GPoint &newUpperLeft)
Description:
/this keeps the upper left corner and moves the lower right one
- virtual void resize(
-
int w, int h)
Description:
/
- CL_GRect unite(
-
const CL_GRect &r )
Description:
/
- CL_GRect intersect(
-
const CL_GRect &r)
Description:
/
- CL_GPoint upperLeft()
-
Description:
/
- CL_GPoint lowerRight()
-
Description:
/
- int width()
-
Description:
/
- int height()
-
Description:
/
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.
The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).
See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.