emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 97133fb3d0: Document the representation of DX and DY in pinch eve


From: Po Lu
Subject: master 97133fb3d0: Document the representation of DX and DY in pinch events
Date: Sun, 26 Dec 2021 06:01:46 -0500 (EST)

branch: master
commit 97133fb3d0ae59e391a94c6189719318cb44a232
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Document the representation of DX and DY in pinch events
    
    * doc/lispref/commands.texi (Misc Events): Document
    the precise meaning of DX and DY in pinch events.
---
 doc/lispref/commands.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index dd36bace18..bfb1f5a947 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2107,6 +2107,9 @@ the user placing two fingers on the touchpad, and ends 
with the user
 removing those fingers.  @var{dx}, @var{dy}, and @var{angle} will be
 @code{0.0} in the first event sent after a sequence begins.
 
+@var{dx} and @var{dy} are represented in imaginary units, in which
+@code{1.0} is the width and height of the touchpad respectively.
+
 @cindex @code{drag-n-drop} event
 @item (drag-n-drop @var{position} @var{files})
 This kind of event is generated when a group of files is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]