Wt  3.7.1
Public Member Functions | List of all members
Wt::Touch Class Reference

A single finger touch of a touch event. More...

Public Member Functions

 Touch (long long identifier, int clientX, int clientY, int documentX, int documentY, int screenX, int screenY, int widgetX, int widgetY)
 Constructor.
 
Coordinates document () const
 Returns the touch position relative to the document.
 
Coordinates window () const
 Returns the touch position relative to the window. More...
 
Coordinates screen () const
 Returns the touch position relative to the screen.
 
Coordinates widget () const
 Returns the touch position relative to the widget.
 
long long identifier () const
 Returns the identifier for this touch.
 

Detailed Description

A single finger touch of a touch event.

See also
WTouchEvent

Member Function Documentation

◆ window()

Coordinates Wt::Touch::window ( ) const

Returns the touch position relative to the window.

This differs from document() only when scrolling through the document.


Generated on Tue Dec 15 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.13