DIRECTMANIPULATION_SNAPPOINT_COORDINATE enumeration (directmanipulation.h)
Defines the coordinate system for a collection of snap points.
Syntax
typedef enum DIRECTMANIPULATION_SNAPPOINT_COORDINATE {
DIRECTMANIPULATION_COORDINATE_BOUNDARY = 0,
DIRECTMANIPULATION_COORDINATE_ORIGIN = 0x1,
DIRECTMANIPULATION_COORDINATE_MIRRORED = 0x10
} ;
Constants
DIRECTMANIPULATION_COORDINATE_BOUNDARY Value: 0 Default. Snap points are specified relative to the top and left boundaries of the content unless DIRECTMANIPULATION_COORDINATE_MIRRORED is also specified, in which case they are relative to the bottom and right boundaries of the content. For zoom, the boundary is 1.0f. |
DIRECTMANIPULATION_COORDINATE_ORIGIN Value: 0x1 Snap points are specified relative to the origin of the viewport. |
DIRECTMANIPULATION_COORDINATE_MIRRORED Value: 0x10 Snap points are interpreted as specified in the negative direction of the origin. The origin is shifted to the bottom and right of the viewport or content. Cannot be set for zoom. |
Remarks
If DIRECTMANIPULATION_COORDINATE_ORIGIN and DIRECTMANIPULATION_COORDINATE_MIRRORED are both specified, the snap points are interpreted as specified from the bottom and right boundaries of the content (the size of the content - the size of the viewport). This is intended for RTL reading scenarios where content is normally specified and rendered from right-to-left or bottom-to-top.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | directmanipulation.h |