CRect Members
Construction/Destruction
Operations
Operators
Construction
Constructs a CRect object. |
Operations
Returns the bottom-right point of CRect. |
|
Returns the centerpoint of CRect. |
|
Copies the dimensions of a source rectangle to CRect. |
|
Decreases the width and height of CRect. |
|
Determines whether CRect is equal to the given rectangle. |
|
Calculates the height of CRect. |
|
Increases the width and height of CRect. |
|
Sets CRect equal to the intersection of two rectangles. |
|
Determines whether CRect is empty. CRect is empty if the width and/or height are 0. |
|
Determines whether the top, bottom, left, and right member variables are all equal to 0. |
|
Moves CRect to the specified x-coordinate. |
|
Moves CRect to the specified x- and y-coordinates. |
|
Moves CRect to the specified y-coordinate. |
|
Standardizes the height and width of CRect. |
|
Moves CRect by the specified offsets. |
|
Determines whether the specified point lies within CRect. |
|
Sets the dimensions of CRect. |
|
Sets CRect to an empty rectangle (all coordinates equal to 0). |
|
Calculates the size of CRect. |
|
Subtracts one rectangle from another. |
|
Returns the top-left point of CRect. |
|
Sets CRect equal to the union of two rectangles. |
|
Calculates the width of CRect. |
Operators
Determines whether CRect is not equal to a rectangle. |
|
Creates the intersection of CRect and a rectangle and returns the resulting CRect. |
|
Sets CRect equal to the intersection of CRect and a rectangle. |
|
Subtracts the given offsets from CRect or deflates CRect and returns the resulting CRect. |
|
Creates the union of CRect and a rectangle and returns the resulting CRect. |
|
Sets CRect equal to the union of CRect and a rectangle. |
|
Adds the given offsets to CRect or inflates CRect and returns the resulting CRect. |
|
Adds the specified offsets to CRect or inflates CRect. |
|
Copies the dimensions of a rectangle to CRect. |
|
Subtracts the specified offsets from CRect or deflates CRect. |
|
Determines whether CRect is equal to a rectangle. |
|
Converts a CRect to an LPCRECT. |
|
Converts a CRect to an LPRECT. |