IMILBitmapEffectPrimitive::TransformRect method (mileffects.h)

Transforms the output of the given rectangle.

Syntax

HRESULT TransformRect(
  [in]      ULONG                         uiIndex,
  [in, out] MilRectD                      *p,
  [in]      VARIANT_BOOL                  fForwardTransform,
  [in]      IMILBitmapEffectRenderContext *pContext
);

Parameters

[in] uiIndex

Type: ULONG

A zero based index value indicating the output pin through which to transform the rectangle.

[in, out] p

Type: MIL_RECTD*

A pointer to the rectangle to transform.

[in] fForwardTransform

Type: VARIANT_BOOL

A value indicating whether the rectangle is being transformed from front to back in the effects graph.

[in] pContext

Type: IMILBitmapEffectRenderContext*

The render context to use for the transformation.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mileffects.h
Redistributable Microsoft .Net 3.0