将主要内容封装在视区内。 主要内容是在创建视区期间指定的内容。
继承
IDirectManipulationPrimaryContent 接口继承自 IUnknown 接口。 IDirectManipulationPrimaryContent 还具有以下类型的成员:
方法
IDirectManipulationPrimaryContent 接口包含以下方法。
IDirectManipulationPrimaryContent::GetCenterPoint 检索内容坐标中操作的中心点。 |
IDirectManipulationPrimaryContent::GetInertiaEndTransform 获取主要内容的最终转换,包括惯性。 |
IDirectManipulationPrimaryContent::SetHorizontalAlignment 设置主要内容相对于视区的水平对齐方式。 |
IDirectManipulationPrimaryContent::SetSnapCoordinate 指定对齐点或对齐间隔的坐标系。 |
IDirectManipulationPrimaryContent::SetSnapInterval 以统一间隔指定惯性结束位置的吸附点。 |
IDirectManipulationPrimaryContent::SetSnapPoints 指定惯性休息位置的吸附点。 |
IDirectManipulationPrimaryContent::SetSnapType 指定吸附点的类型。 |
IDirectManipulationPrimaryContent::SetVerticalAlignment 指定视区中主要内容的垂直对齐方式。 |
IDirectManipulationPrimaryContent::SetZoomBoundaries 指定缩放的最小和最大边界。 |
要求
最低受支持的客户端 | Windows 8 [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2012 [仅限桌面应用] |
目标平台 | Windows |
标头 | directmanipulation.h |