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