From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Drawing to cairo context from within emacs module? Date: Tue, 03 Dec 2019 21:28:07 +0100 Message-ID: <87eexlb1d4.fsf@randomsample> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="126030"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 03 22:27:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icFhR-000WfX-Hy for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 22:27:13 +0100 Original-Received: from localhost ([::1]:58764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icFhN-0003HD-E6 for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 16:27:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52569) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icEmp-0002xM-TB for emacs-devel@gnu.org; Tue, 03 Dec 2019 15:28:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icEmk-0003lh-Ma for emacs-devel@gnu.org; Tue, 03 Dec 2019 15:28:40 -0500 Original-Received: from randomsample.de ([5.45.97.173]:47411) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icEmi-0003Sh-Sh for emacs-devel@gnu.org; Tue, 03 Dec 2019 15:28:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=kmrsGgdt7ulaJnyfyNgSiEAmeC6ro+otr1C6zsVRW24=; b=EmhjO5N3qteA98baIv8flPvLImi3ls9n6Hh961f1b4iVKqXuRx84zY71Z4++BOq58gFAnEh8tWWTjFDkObW29zHXWshm9h8Rd5GJ+6L91V3CfqH0hLr3LDSV0I7wzOgy; Original-Received: from ip5f5abab0.dynamic.kabel-deutschland.de ([95.90.186.176] helo=void) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1icEmV-0008Ed-Ep for emacs-devel@gnu.org; Tue, 03 Dec 2019 21:28:23 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.97.173 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243093 Archived-At: There's probably a million things I'm missing here, but would it be possible to access the cairo context from within an emacs module, so that one could simply draw stuff using the Cairo API (on Cairo-enabled Emacsen only, of course)? I'm sure this won't play well at all with redisplay, but it'd be fun playing around with it... -David