Describes the rectangle. More...
#include <DeviceContext.h>
Public Member Functions | |
constexpr | Rect (Int32 _left, Int32 _top, Int32 _right, Int32 _bottom) noexcept |
Initializes the structure. | |
Public Attributes | |
Int32 | left = 0 |
X coordinate of the left boundary of the viewport. | |
Int32 | top = 0 |
Y coordinate of the top boundary of the viewport. | |
Int32 | right = 0 |
X coordinate of the right boundary of the viewport. | |
Int32 | bottom = 0 |
Y coordinate of the bottom boundary of the viewport. | |
Describes the rectangle.
This structure is used by IDeviceContext::SetScissorRects().