Microsoft DirectX 9.0 SDK Update (October 2004)

Line.DrawTransform Method

Language:

Note: This documentation is preliminary and is subject to change.

Draws a line strip in screen space with a specified input transformation matrix.

Definition

Visual Basic .NET Public Sub DrawTransform( _
    ByVal vertexList() As Vector3, _
    ByVal transform As Matrix, _
    ByVal color As Color _
)
C# public void DrawTransform(
    Vector3[] vertexList,
    Matrix transform,
    Color color
);
Managed C++ public: void DrawTransform(
    Vector3 vertexList __gc[],
    Matrix transform,
    Color color
);
JScript .NET public function DrawTransform(
    vertexList : Vector3[],
    transform : Matrix,
    color : Color
);

Parameters

vertexList Microsoft.DirectX.Vector3[]. Array of vertices that make up the line. For more information, see Vector2.
transform Microsoft.DirectX.Matrix. Scale, rotate, and translate (SRT) matrix for transforming the points. For more information, see Matrix. If this matrix is a projection matrix, any stippled lines are drawn with a perspective-correct stippling pattern. Or, vertices can be transformed and Line.Draw used to draw the line with a stipple pattern and no perspective correction.
color System.Drawing.Color. A Color Leave Site object that specifies the color of the line.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
InvalidDataException The data is invalid.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center