DR Developer's Guide
DR Interfaces | DR Methods | DR Types and Misc API

IMoaDrMovieStage


Interface ID: IID_IMoaDrMovieStage
Pointer type: PIMoaDrMovieStage
Inheritance: IMoaUnknown
Header file: driservc.h

Description

The IMoaDrMovieStage interface provides access to new stage-related functions associated with a movie. IMoaDrMovieStage is an additional interface on the same movie class that supports IMoaDrMovie and IMoaDrMovie2. You acquire a movie interface by calling the IMoaDrPlayer methods GetActiveMovie() or GetNthMovie(). This returns to you an IMoaDrMovie interface. You can call the QueryInterface method off this interface to retrieve an IMoaDrMovieStage interface.

This interface was added with Director 7.

Note: syntax provided in C++ format.

Methods

TransformStagePointScaledToUnscaled()
TransformStagePointUnscaledToScaled()

TransformStagePointScaledToUnscaled()

Syntax

TransformStagePointScaledToUnscaled(PMoaPoint pStagePoint)

Parameters

pStagePoint
PMoaPoint  IN: The scaled point, OUT: The unscaled point

Returns

MoaError

Description

Transforms a given point from scaled to unscaled stage coordinates.
Scaled is the coordinate space of the movie scaled to its
current drawRect. Unscaled is the coordinate space of the original,
un-zoomed movie.

TransformStagePointUnscaledToScaled()

Syntax

TransformStagePointUnscaledToScaled(PMoaPoint pStagePoint)

Parameters

pStagePoint
PMoaPoint  IN: The unscaled point, OUT: The scaled point

Returns

MoaError

Description

Transforms a given point from unscaled to scaled stage coordinates. Unscaled is the coordinate space of the original, un-zoomed movie. Scaled is the coordinate space of the movie scaled to its current drawRect.

Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.