?/TD>
Microsoft DirectX 9.0

ID3DXLine Interface


The ID3DXLine interface implements line drawing using textured triangles.

ID3DXLine Members

Begin

Prepares a device for drawing lines.

Draw

Draws a line strip in screen space. Input is in the form of an array that defines points (of D3DXVECTOR2) on the line strip.

DrawTransform

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

End

Restores the device state to how it was when ID3DXLine::Begin was called.

GetAntialias

Get the line antialiasing state.

GetDevice

Retrieves the Microsoft?Direct3D?device associated with the line object.

GetGLLines

Get the OpenGL-style line-drawing mode.

GetPattern

Get the line stipple pattern.

GetPatternScale

Get the stipple-pattern scale value.

GetWidth

Get the thickness of the line.

OnLostDevice

Releases all references to video memory resources and deletes all state blocks.

OnResetDevice

Should be called after the device has been reset.

SetAntialias

Toggles line antialiasing.

SetGLLines

Toggles the mode to draw OpenGL-style lines.

SetPattern

Applies a stipple pattern to the line.

SetPatternScale

Stretches the stipple pattern along the line direction.

SetWidth

Specifies the thickness of the line.

Interface Information

Inherits fromIUnknown
Headerd3dx9core.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.