From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Wed, 29 Apr 2020 18:41:08 +0800 Message-ID: <877dxy1smz.fsf@yahoo.com> References: <875zdikdge.fsf.ref@yahoo.com> <875zdikdge.fsf@yahoo.com> <834kt21yyo.fsf@gnu.org> <87zhau1uog.fsf@yahoo.com> <83sggmzjp8.fsf@gnu.org> <87mu6u1tii.fsf@yahoo.com> <83o8raziis.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="13433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 12:41:58 2020 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 1jTkAA-0003PU-Rc for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 12:41:58 +0200 Original-Received: from localhost ([::1]:38780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTkA9-0000rm-Ul for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 06:41:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42216) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTk9U-0007nU-UP for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:41:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTk9T-0003HJ-HU for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:41:16 -0400 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:40602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTk9T-0003Gt-0Q for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:41:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1588156872; bh=pHnjadzlq9waan4F077iOWzJQhtv2Mi7Ayfd35l1ulk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=aWt5VNGylUD9jWca5ufTHEEfzquo+WfJ42Upavjt80KFGaGrvp+IUNIgY2pYn1+m+jqx7EKHkhW/tu6BHj6wWyNLM/p3wgXt5b2/MbZIKlubkzhEI0kJaJ+xYR3lYfCduBYdvwXoInIiz7nsxmG4uEPA2NkmjPHxIdk7T3rwe/Hj5Vf8i2Bb3jSwpb7pLd1VP0in5NA5jlv0YjGgKCd2wrbIB8D7R7lY6/DirAm4Y3kpck0e7XqjohOnX2u9R3Wk8LJifVTiQ26avYUh4GHiqaq+rabqy1w+D/OJhX+fWmGN/eHAIRgoZTcH5+/aI7MVWO4cZEMl93Wbl/nSiUZauw== X-YMail-OSG: CM82ki8VM1kMMP8pnyjcsDK8hgCmz97WgO7UVf9HAwW0M7XdJ_Ryn0fBwlfhNYE w902zjx2dR_BQunXHfA3Up9hRpeHEtr5z.9fBdBPFZ4eZCi88wWf1W0D5N_RKJ0Kt5kv.CCvCiQ6 64FskYuYeeHalLMeR_07gpBtDrSF8vTeGvG9t0dBUX4kKCVAN0UU2J8XcysdI_HKE3YF2VM.J6Mz R2cicvtVP3xQNNq7uegdY2UnmdhUeiFtbT5O2lNS70NzM4zbcbP3OMutRO17bYEMlW0KK5xbWuiy kthwt0hJSprLFkXv9R8pRNY8WeYCbW2UuE6t0qO5hjgad3_lMfPdYIZMoG5h28R9UtuYsYmbNo5d sgRFpa_NYwxwwz4S0tsZAQuHkDIC1HKUCi_GYdaR.XL1fZO4aHHPSKFvq0lW4fWB_lr0_0GXdfVv 5jJjV7VAG_zV2xymE22N4enM8j1_uyWyKJTqtdtkOCrvxCM4OrGXx19hUPdC6QXBKXGOGWzLv1hA ZYze.awxJwslbasNuE18tbr1sGZ1eJZCztvsl10rQ_s.3m_YEq9Bu5HJFVQRV67EBECZ3.b4PdbB 8efXXhvhSdaeWAi_8pU77irn4RKUngvbe8b6ARPhr3LD65hT_hKf8McTkAdiRKgeJYERUUOycWac PBc4kvKT5C1PxSgI.VwGshxo4GqCvDCQnbVneokNLUFWLZV8gdY8DL6lVDmHpP41_A8hOIfLXAtq 2jgmYopDTPi8mcnss1R15yJxxWMG55O8KAVbNL5ffa9uM4KMhm3TtwIwGqMk9wWP2C9k0Pea8oLV _hhxDpd5ltIqC0giPfEt45c59qodIePEqFv_wQHqQ9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 29 Apr 2020 10:41:12 +0000 Original-Received: by smtp410.mail.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c6a5673288ef919fd7760a77d3837ff2; Wed, 29 Apr 2020 10:41:10 +0000 (UTC) In-Reply-To: <83o8raziis.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Apr 2020 13:35:39 +0300") X-Mailer: WebService/1.1.15756 hermes Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) Received-SPF: pass client-ip=66.163.187.31; envelope-from=luangruo@yahoo.com; helo=sonic308-56.consmr.mail.ne1.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 06:41:12 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Received-From: 66.163.187.31 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:248112 Archived-At: Eli Zaretskii writes: > So this _is_ a way of putting images on the Emacs display, but in a > way that creates the image dynamically from Lisp, instead of reading > it from a file or producing the binary data for that image. Right? Yes. > Incidentally, how does this compare with functions in svg.el? While right now svg.el seems to have more features, it isn't particularly well suited to displaying things quickly. In fact, my own bad experiences with using svg.el to draw rapidly changing information inspired me to begin working on this. In the future, I hope that canvases also become more flexible than svg.el. A nice goal would be to have everything cairo has.