Rect::Contains(Rect&) method (gdiplustypes.h)

This topic lists the Contains methods of the Rect class. For a complete list of methods for the Rect class, see Rect Methods.

Overload list

Method Description
Contains(Rect&) The Rect::Contains method determines whether another rectangle is inside this rectangle.
Contains(Point&) The Rect::Contains method determines whether a point is inside this rectangle.
Contains(INT,INT) The Rect::Containsxy) is inside this rectangle.

Syntax

BOOL Contains(
  Rect & rect
);

Parameters

rect

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header gdiplustypes.h