Microsoft DirectX 9.0 SDK Update (October 2004)

Surface.DrawFast Method

Language:

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

Warning: This method is deprecated. Deprecated components of Microsoft® DirectX® 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of Microsoft® DirectX® 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Performs a source copy blit or transparent blit by using a source color key or destination color key. Deprecated.

Definition

Visual Basic .NET Public Sub DrawFast( _
    ByVal xcoord As Integer, _
    ByVal ycoord As Integer, _
    ByVal sourceSurface As Surface, _
    ByVal srcRectangle As Rectangle, _
    ByVal flags As DrawFastFlags _
)
C# public void DrawFast(
    int xcoord,
    int ycoord,
    Surface sourceSurface,
    Rectangle srcRectangle,
    DrawFastFlags flags
);
Managed C++ public: void DrawFast(
    int xcoord,
    int ycoord,
    Surface *sourceSurface,
    Rectangle srcRectangle,
    DrawFastFlags flags
);
JScript .NET public function DrawFast(
    xcoord : int,
    ycoord : int,
    sourceSurface : Surface,
    srcRectangle : Rectangle,
    flags : DrawFastFlags
);

Parameters

xcoord System.Int32.
ycoord System.Int32.
sourceSurface Microsoft.DirectX.DirectDraw.Surface.
srcRectangle System.Drawing.Rectangle.
flags Microsoft.DirectX.DirectDraw.DrawFastFlags.

© 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