IMILBitmapEffectPrimitive::TransformPoint method

Transforms the given point.

Syntax

HRESULT TransformPoint(
  ULONG                         uiIndex,
  MilPoint2D                    *p,
  VARIANT_BOOL                  fForwardTransform,
  IMILBitmapEffectRenderContext *pContext,
  VARIANT_BOOL                  *pfPointTransformed
);

Parameters

uiIndex

Type: ULONG

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

p

Type: MIL_2DPOINTD*

A pointer to the point to transform.

fForwardTransform

Type: VARIANT_BOOL

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

pContext

Type: IMILBitmapEffectRenderContext*

The render context to use for the transformation.

pfPointTransformed

Type: VARIANT_BOOL*

When this method returns, contains a value indicating whether the point transformed to a known location.

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