Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions  Download package

PRectangle Class Reference

#include <Platform.h>

List of all members.


Detailed Description

A geometric rectangle class. PRectangle is exactly the same as the Win32 RECT so can be used interchangeably. PRectangles contain their top and left sides, but not their right and bottom sides.

Definition at line 84 of file Platform.h.


Public Member Functions

bool Contains (PRectangle rc)
bool Contains (Point pt)
int Height ()
bool Intersects (PRectangle other)
void Move (int xDelta, int yDelta)
bool operator== (PRectangle &rc)
 PRectangle (int left_=0, int top_=0, int right_=0, int bottom_=0)
int Width ()

Public Attributes

int bottom
int left
int right
int top

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

Generated by  Doxygen 1.6.0   Back to index