TouchPoint Struct

struct Qul :: PlatformInterface ::TouchPoint

Represents single touch point. 更多...

Header: #include <platforminterface/platforminterface.h>
Since: Qt Quick Ultralite (Platform) 1.5

This struct was introduced in Qt Quick Ultralite (Platform) 1.5.

公共类型

enum State { Pressed, Moved, Stationary, Released }

公共变量

详细描述

成员类型文档编制

enum TouchPoint:: State

This enum type indicates the state of a single touch point

常量 描述
Qul::PlatformInterface::TouchPoint::Pressed 0x01 The touch point is pressed.
Qul::PlatformInterface::TouchPoint::Moved 0x02 The touch point has moved.
Qul::PlatformInterface::TouchPoint::Stationary 0x04 The touch point was stationary.
Qul::PlatformInterface::TouchPoint::Released 0x08 The touch point was released.

This enum was introduced or modified in Qt Quick Ultralite (Platform) 1.5.

成员变量文档编制

float TouchPoint:: areaX

Dimensions of the elliptical contact patch, unrotated, and centered at position in screen coordinates

This is the horizontal diameter.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

float TouchPoint:: areaY

Dimensions of the elliptical contact patch, unrotated, and centered at position in screen coordinates

This is the vertical diameter.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

int TouchPoint:: id

Id of this touch point.

This is currently unused and reserved to later use.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

int TouchPoint:: positionX

Position of this touch point on the X-axis.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

int TouchPoint:: positionY

Position of this touch point on the Y-axis.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

float TouchPoint:: pressure

Pressure applied to the touch point

Values range from 0 to 1.

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.

float TouchPoint:: rotation

Rotation applied to the elliptical contact patch

This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.