Function BlamRendering::DirectX::Drawing::DrawLine

Function Documentation

HRESULT BlamRendering::DirectX::Drawing::DrawLine(D2D1_COLOR_F color, D2D1_POINT_2F start_point, D2D1_POINT_2F end_point, float thickness)

Draws a line.

Return

S_OK if the item was drawn successfully, otherwise returns an error code.

Parameters
  • color: - The color for the line.

  • start_point: - The starting point of the line.

  • end_point: - The ending point of the line.

  • thickness: - The thickness of the line.