Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the center point, and the pivot radius from the center point, for a rotation manipulation using a single input pointer.
Syntax
HRESULT SetPivotInteractionContext(
[in] HINTERACTIONCONTEXT interactionContext,
[in] float x,
[in] float y,
[in] float radius
);
Parameters
[in] interactionContext
Pointer to a handle for the Interaction Context.
[in] x
The x-coordinate for the screen location of the center point.
[in] y
The y-coordinate for the screen location of the center point.
[in] radius
The offset between the center point and the single input pointer, in HIMETRIC units.
Return value
If this function succeeds, it returns S_OK.
Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | interactioncontext.h |
| Library | Ninput.lib |
| DLL | Ninput.dll |