Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 4.17 KB

nf-dcomp-idcompositionrotatetransform-setcentery(idcompositionanimation).md

File metadata and controls

83 lines (62 loc) · 4.17 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dcomp.IDCompositionRotateTransform.SetCenterY(IDCompositionAnimation)
IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation) (dcomp.h)
Animates the value of the CenterY property of a 2D rotation transform.
IDCompositionRotateTransform interface [DirectComposition]
SetCenterY method
IDCompositionRotateTransform.SetCenterY
IDCompositionRotateTransform.SetCenterY(IDCompositionAnimation)
IDCompositionRotateTransform::SetCenterY
IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation)
IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation*)
SetCenterY
SetCenterY method [DirectComposition]
SetCenterY method [DirectComposition]
IDCompositionRotateTransform interface
dcomp/IDCompositionRotateTransform::SetCenterY
directcomp.idcompositionrotatetransform_setcentery_idcompositionanimation
directcomp\idcompositionrotatetransform_setcentery_idcompositionanimation.htm
directcomp
AD53EEF7-4DCE-4B6D-9A72-010033958155
12/05/2018
IDCompositionRotateTransform interface [DirectComposition],SetCenterY method, IDCompositionRotateTransform.SetCenterY, IDCompositionRotateTransform.SetCenterY(IDCompositionAnimation), IDCompositionRotateTransform::SetCenterY, IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation), IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation*), SetCenterY, SetCenterY method [DirectComposition], SetCenterY method [DirectComposition],IDCompositionRotateTransform interface, dcomp/IDCompositionRotateTransform::SetCenterY, directcomp.idcompositionrotatetransform_setcentery_idcompositionanimation
dcomp.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Dcomp.lib
Dcomp.dll
Windows
19H1
IDCompositionRotateTransform::SetCenterY
dcomp/IDCompositionRotateTransform::SetCenterY
c++
APIRef
kbSyntax
COM
Dcomp.dll
IDCompositionRotateTransform.SetCenterY

IDCompositionRotateTransform::SetCenterY(IDCompositionAnimation)

-description

Animates the value of the CenterY property of a 2D rotation transform. The CenterY property specifies the y-coordinate of the point about which the rotation is performed.

-parameters

-param animation [in]

Type: IDCompositionAnimation*

An animation object that determines how the value of the CenterY property changes over time. This parameter must not be NULL.

-returns

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

-remarks

This method makes a copy of the specified animation. If the object referenced by the animation parameter is changed after calling this method, the change does not affect the CenterY property unless this method is called again. If the CenterY property was previously animated, calling this method replaces the previous animation with the new animation.

This method fails if animation is an invalid pointer or if it was not created by the same IDCompositionDevice interface as the affected visual. The interface cannot be a custom implementation; only interfaces created by Microsoft DirectComposition can be used with this method.

-see-also

IDCompositionRotateTransform

IDCompositionRotateTransform::SetCenterX