IMILBitmapEffectPrimitive::TransformPoint method (mileffects.h)
Transforms the given point.
Syntax
HRESULT TransformPoint(
[in] ULONG uiIndex,
[in, out] MilPoint2D *p,
[in] VARIANT_BOOL fForwardTransform,
[in] IMILBitmapEffectRenderContext *pContext,
[out] VARIANT_BOOL *pfPointTransformed
);
Parameters
[in] uiIndex
Type: ULONG
A zero based index value indicating the output pin through which to transform the point.
[in, out] p
Type: MIL_2DPOINTD*
A pointer to the point to transform.
[in] fForwardTransform
Type: VARIANT_BOOL
A value indicating whether the point is being transformed from front to back in the effects graph.
[in] pContext
Type: IMILBitmapEffectRenderContext*
The render context to use for the transformation.
[out] 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
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 |