ID2D1OffsetTransform::SetOffset method (d2d1effectauthor.h)

Sets the offset in the current offset transform.

Syntax

void SetOffset(
  D2D1_POINT_2L offset
);

Parameters

offset

Type: D2D1_POINT_2L

The new offset to apply to the offset transform.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1effectauthor.h
Library D2D1.lib

See also

ID2D1EffectContext::CreateResourceTexture

ID2D1OffsetTransform