Function BlamRendering::DirectX::Drawing::DrawRoundedRect¶
Defined in File drawing.h
Function Documentation¶
-
HRESULT
BlamRendering::DirectX::Drawing
::
DrawRoundedRect
(D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_ROUNDED_RECT rounded_rect, float thickness, StackItemDrawMode mode)¶ Draws a rounded 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.rounded_rect
: - The area of the rounded rectangle.thickness
: - The thickness of the rectangle’s border.mode
: - The drawing mode to use.