WMT_VIDEOIMAGE_TRANSITION_DIAGONAL

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The diagonal transition reveals the new image along a diagonal line originating in one corner of the frame.

Parameters

The following table describes the parameters used by this transition and lists the members of the WMT_VIDEOIMAGE_SAMPLE2 structure to which they are assigned.

Parameter Structure member Description
Width fEffectPara0 Width of the diagonal section in pixels.
Height fEffectPara1 Height of the diagonal section in pixels.
Direction fEffectPara2 Determines the corner from which the transition originates.Set to one of the following:
  • 0 - Upper right
  • 1 - Upper left
  • 2 - Lower right
  • 3 - Lower left
Composition fEffectPara3 Set to one of the following values:
  • 0 - Specifies normal composition, in which the previous image is the background, and the current image is the foreground.
  • 1 - Specifies reversed composition, in which the current image is the background image, and the previous image is the foreground.

Requirements

Requirement Value
Header
Wmsdkidl.h

See also

Video Image Transitions