DAStatics Functions Relevant to DADrawingSurface Objects

ImportDirectDrawSurface Imports a DADrawingSurface object and passes it into the Microsoft® DirectAnimation® engine.
NewDrawingSurface Creates an empty DADrawingSurface object.

ImportDirectDrawSurface

DAStatics Class

Imports a DADrawingSurface object and passes it into the DirectAnimation engine. The DADrawingSurface is translated into a DAImage object, and can then use any of the relevant function calls. The import occurs upon a triggering event.

Syntax

lib.ImportDirectDrawSurface( dds, updateEvent )

Parameters

dds
DADrawingSurface object to import.
updateEvent
DAEvent object that triggers the import.

Return Value

Returns the DAImage object.

Remarks

For information about using this function in COM/C++, see IDAStatics:ImportDirectDrawSurface.

NewDrawingSurface

DAStatics Class

Creates an empty DADrawingSurface object.

Syntax

lib.NewDrawingSurface( )


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.