IMILBitmapEffectPrimitive::TransformRect method

Transforms the output of the given rectangle.

Syntax

HRESULT TransformRect(
  ULONG                         uiIndex,
  MilRectD                      *p,
  VARIANT_BOOL                  fForwardTransform,
  IMILBitmapEffectRenderContext *pContext
);

Parameters

uiIndex

Type: ULONG

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

p

Type: MIL_RECTD*

A pointer to the rectangle to transform.

fForwardTransform

Type: VARIANT_BOOL

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

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

   
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