Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Rectangle Functions

The following functions are used with rectangles.

FunctionDescription
CopyRect Copies the coordinates of one rectangle to another.
EqualRect Determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners.
InflateRect Increases or decreases the width and height of the specified rectangle.
IntersectRect Calculates the intersection of two source rectangles and places the coordinates of the intersection rectangle into the destination rectangle.
IsRectEmpty Determines whether the specified rectangle is empty.
OffsetRect Moves the specified rectangle by the specified offsets.
PtInRect Determines whether the specified point lies within the specified rectangle.
SetRect Sets the coordinates of the specified rectangle.
SetRectEmpty Creates an empty rectangle in which all coordinates are set to zero.
SubtractRect Determines the coordinates of a rectangle formed by subtracting one rectangle from another.
UnionRect Creates the union of two rectangles.

 

 

 

Build date: 6/12/2013

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.