From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Stylus drawing input? Date: Tue, 24 Jan 2023 19:00:44 +0200 Message-ID: <83lelrhnpf.fsf@gnu.org> References: <87pmbhpjkc.fsf@web.de> <87cz7eq5uh.fsf@web.de> <0C19A13B-EEFF-486B-BED3-36A4AEF629D8@yahoo.com> <83zga8glsn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Luangruo@yahoo.com, emacs-devel@gnu.org, tomas@tuxteam.de To: Dov Grobgeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 24 18:02:06 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 1pKMgQ-0004Av-7h for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Jan 2023 18:02:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKMfG-0005CP-Pb; Tue, 24 Jan 2023 12:00:54 -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 1pKMex-00055k-Kq for emacs-devel@gnu.org; Tue, 24 Jan 2023 12:00:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKMew-00034G-NQ; Tue, 24 Jan 2023 12:00:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OLsYyaxuATy7KcOLAJL4gxJTi3z/uG+IG/0o8UNbaag=; b=Umh4dLMLGcHC szs2SZpM4BCEj8Pz8LTjrtVho2Qrli7plNhOk5B10c2x80nKR2rz1xC4Q9kphumKaUw/5U76uc0dy 1vKnFh/c2ITigCUOShNo4eUfbtC8qMp1vCG6znT97dd8tSzHF54sJ4lbsrL7Jm8H+qmysg8d+N496 +HlRcYEZ/qNgviBDzyzjpqsxZNV+DqAfVy+io5PQnx/cmuxZf77m4XOM7pdzAfsoxrSdRwQJwdJuG ryZZc6f4CIBD9qdySbF6x21T8myRMvhID5H93BMiTPn+EEz57g2nNHfuH1LWUkc+INYvptGzi8eDy Nf9MlIGnfajS+4I/fbr3iQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKMeu-0002v5-BP; Tue, 24 Jan 2023 12:00:34 -0500 In-Reply-To: (message from Dov Grobgeld on Tue, 24 Jan 2023 17:55:15 +0200) 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:302643 Archived-At: > From: Dov Grobgeld > Date: Tue, 24 Jan 2023 17:55:15 +0200 > Cc: Luangruo@yahoo.com, emacs-devel@gnu.org, tomas@tuxteam.de > > But I still don't understand how emacs can display such an image as an > "overlay" on top of other buffer contents. It cannot. Emacs treats images as large characters, so all we are capable of doing is display images in-line. > (Having the notion of layers would also be nice for doing > presentations in emacs, as you can then have some static graphics as a > background image.) That would need a complete redesign of the current display engine, AFAIU. Patches welcome.