description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Draws a line strip in screen space. Input is in the form of an array that defines points (of D3DXVECTOR2) on the line strip. |
10ad5af5-fb57-46ef-a89f-7a05dcf58826 |
ID3DXLine::Draw method (D3dx9core.h) |
reference |
05/31/2018 |
|
|
|
|
Draws a line strip in screen space. Input is in the form of an array that defines points (of D3DXVECTOR2) on the line strip.
HRESULT Draw(
[in] const D3DXVECTOR2 *pVertexList,
[in] DWORD dwVertexListCount,
[in] D3DCOLOR Color
);
-
pVertexList [in]
-
Type: const D3DXVECTOR2*
Array of vertices that make up the line. See D3DXVECTOR2.
-
dwVertexListCount [in]
-
Type: DWORD
Number of vertices in the vertex list.
-
Color [in]
-
Type: D3DCOLOR
Color of the line. See D3DCOLOR.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.
Requirement | Value |
---|---|
Header |
|
Library |
|