From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Wed, 29 Apr 2020 23:48:31 +0300 Organization: LINKOV.NET Message-ID: <875zdi8988.fsf@mail.linkov.net> References: <875zdikdge.fsf.ref@yahoo.com> <875zdikdge.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63181"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Po Lu To: Po Lu via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 22:59:46 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 1jTto1-000GJl-JK for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 22:59:45 +0200 Original-Received: from localhost ([::1]:34770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTto0-0002EW-Lc for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 16:59:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56714) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTtnW-0001oL-SY for emacs-devel@gnu.org; Wed, 29 Apr 2020 16:59:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTtnW-0005oH-2t for emacs-devel@gnu.org; Wed, 29 Apr 2020 16:59:14 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:46165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTtnV-0005nw-Ba for emacs-devel@gnu.org; Wed, 29 Apr 2020 16:59:13 -0400 Original-Received: from mail.gandi.net (m91-129-106-11.cust.tele2.ee [91.129.106.11]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id A263024000A; Wed, 29 Apr 2020 20:59:09 +0000 (UTC) In-Reply-To: <875zdikdge.fsf@yahoo.com> (Po Lu via's message of "Wed, 29 Apr 2020 14:34:09 +0800") Received-SPF: pass client-ip=217.70.178.230; envelope-from=juri@linkov.net; helo=relay10.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 16:59:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 217.70.178.230 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:248191 Archived-At: > I'd appreciate some feedback on something I came up with during my spare > time: Emacs canvas support. Great, thanks! I'm going to try to use canvas-rounded-rectangle for rounded corners of tabs. Sometime ago I tried to draw them with Cairo, but the implementation was too ah-hoc. Whereas your solution is more generally usable. Would you put your code on a branch?