Function BlamRendering::DirectX::Drawing::DrawRect(D2D1_COLOR_F, D2D1_RECT_F, float)¶
Defined in File drawing.h
Function Documentation¶
-
HRESULT
BlamRendering::DirectX::Drawing
::
DrawRect
(D2D1_COLOR_F color, D2D1_RECT_F rect, float thickness) Draws a rectangle.
- Return
S_OK
if the item was drawn successfully, otherwise returns an error code.- Parameters
color
: - The color for the rectangle’s border and interior.rect
: - The area of the rectangle.thickness
: - The thickness of the rectangle’s border.