From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dov Grobgeld Newsgroups: gmane.emacs.devel Subject: Stylus drawing input? Date: Thu, 12 Jan 2023 08:39:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35505"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 12 07:40:31 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pFrGJ-00094d-3e for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Jan 2023 07:40:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFrFP-00048t-Au; Thu, 12 Jan 2023 01:39:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFrFK-00041M-R9 for emacs-devel@gnu.org; Thu, 12 Jan 2023 01:39:31 -0500 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFrFI-0001HM-Un for emacs-devel@gnu.org; Thu, 12 Jan 2023 01:39:30 -0500 Original-Received: by mail-lf1-x134.google.com with SMTP id bf43so27029388lfb.6 for ; Wed, 11 Jan 2023 22:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hBSBVT5IpEofRIywDlRh56rU/DOkoeCiPwkAbsG1xK4=; b=itL0v0nklwcbqS0GW57V2CPO4f4YRgvcOGfi0/f0UTN5nznO2UNEhNzbi6qoVFRDL5 hKdMI46iftMjNpHHQmJpEXgTtgG4UCcSp5bSvhCNVePzuQQxW2TaG8lmKob+UVVDAo6D V8mnIbHo0k/vDP2IhG2DPHCUt2db5yLeQQDCOtuZK0NsS6D0EAAtVoabUFs29q5QtY1h aZd7QkCYhLfO4+/uHkmF+6FBizX0mYrmHzo/1TL5DIYXlo8qDt2i7dNImvc0D7rwW1sG 1245qpBGnA8SX8hiP7i12Aadlk+W1+zklUGLhAJWNuVi/S9Po9/iKPQeTYkOkGv4BRZz kWfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hBSBVT5IpEofRIywDlRh56rU/DOkoeCiPwkAbsG1xK4=; b=bLbDs+xnZV+gQVYyRDJNDD+AW55yhVjIKxzFQVwE8jyPvgRzc1MGrMrkmt5/blm8MT psHGiwx6ihCQVeTt/uHl4JsqazdgIoNOztuLBsEeHbeTnEew0UCmlU9GMPuqD8QaAttm RX3QwerlxCEU93cT4Qymesv6roDCBGUysva7bmKT6H1lrEs8FFnjz1OMdUDqcYTeWPHh bn94yVUD4cw4WqOb5smRWCYfyJP4yTJ1HayuuUwn+plDHLdIF0H3TFARG5w08t9/B36+ qsu0dOw5ffOjIN5NBWXCYmQx0yg5hllyz9lsbOarZTCkmL1HXceQQ+Csd2J0CpXzhnai NrwA== X-Gm-Message-State: AFqh2kr8mHjgze213MuZfpB5p2sSUNqCsM+R4Exe7Fh4sFStTOoOsETT LQlbrqdzbiPNhdstkulw4fwmLPeke2Xx02m1IJEsG+CR X-Google-Smtp-Source: AMrXdXuzJW834e7niW4aUAPOQqWgbeBoBJvZ9NN10wN69+l04vV00kdJcna4hdznwoL/VvDvRf1czNaFyN1pM+ChAIg= X-Received: by 2002:ac2:4141:0:b0:4b5:886b:d4af with SMTP id c1-20020ac24141000000b004b5886bd4afmr7524555lfi.276.1673505564863; Wed, 11 Jan 2023 22:39:24 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=dov.grobgeld@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302365 Archived-At: Hello, I wonder if anyone has ever worked on stylus (or mouse actually) drawing input for emacs, which stores a "path" [*] of the stylus input events? Here are some possible use cases for such support: In PDF-Mode there is an annotation option that allows attaching text to various points in the document. It would be a nice addition to be able to scribble with a stylus on top of the document and leaving behind a "path" annotation as well. Another use for such a mode would be for the android port, where we may send the path to a path-to-text algorithm, for stylus text input. When giving a presentation, it is often quicker to scribble on top of the slides to illustrate a point, than it is to edit the source text of the presentation. Thanks! [1] A path is here defined as a sequence of moveto xy, lineto xy, (curveto(?), closepath) commands. Possibly with with additional vertex attributes like time, pressure, tilt, etc.