CAnimationPoint::operator=

将 ptSrc 分配给 CAnimationPoint。

void operator=(
   const CPoint& ptSrc
);

参数

  • ptSrc
    指 CPoint 或点。

备注

将 ptSrc 分配给 CAnimationPoint。 建议在动画开始之前这样做,因为此运算符会调用 SetDefaultValue,这样一来,如果 X 和 Y 坐标的基础 COM 对象已创建,就会将其重新创建。 如果您订阅了此事件(ValueChanged 或 IntegerValueChanged)的动画对象,则需要重新启用这些事件。

要求

标头: afxanimationcontroller.h

请参见

参考

CAnimationPoint 类