The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Comparison & Limiting ConfinePointToRect | |||||||||
See also: ConfineValue | |||||||||
ConfinePointToRect |
|||||||||
The function ConfinePointToRect checks whether the two-dimensional position Point is outside the rectangle specified by the parameter BoundRect. If Point falls outside the rectangle the function adjusts the point coordinates to the closest edge(s) of the rectangle. In this case a TRUE value is returned.
|