Rect::Rect(constPoint&,constSize&) method (gdiplustypes.h)
Creates a Rect object by using a Point object to initialize the X and Y data members and a Size object to initialize the Width and Height data members.
Syntax
void Rect(
[in, ref] const Point & location,
[in, ref] const Size & size
);
Parameters
[in, ref] location
Type: const Point
Reference to a Point object that specifies the upper-left corner of this rectangle.
[in, ref] size
Type: const Size
Reference to a Size object that specifies the width and height of this rectangle.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplustypes.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for