unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eivind Fonn <evfonn@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Drawing to cairo context from within emacs module?
Date: Thu, 5 Dec 2019 14:42:58 +0100	[thread overview]
Message-ID: <CAKNFwoTE1UPyUiH_jc-JdmooSCMLB26d1cJYa-RvZ59HR0GJvw@mail.gmail.com> (raw)
In-Reply-To: <87eexlb1d4.fsf@randomsample>

A related but different question. Would it be possible to get access to
the raw buffer data from dynamic modules? (That is, pointer to the start,
length and gap information.) I'm only interested in read-only access,
and I'd be happy to patch it in myself if it's deemed generally acceptable.

Eivind

On Tue, Dec 3, 2019 at 10:27 PM David Engster <deng@randomsample.de> wrote:
>
> 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
>



  parent reply	other threads:[~2019-12-05 13:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 20:28 Drawing to cairo context from within emacs module? David Engster
2019-12-05  4:42 ` Richard Stallman
2019-12-05  5:35   ` Eli Zaretskii
2019-12-05  9:02     ` Pankaj Jangid
2019-12-06  4:12     ` Richard Stallman
2019-12-05 13:42 ` Eivind Fonn [this message]
2019-12-05 14:11   ` Stefan Monnier
2019-12-06  1:01     ` access to raw buffer text from module Stephen Leake
2019-12-05 15:08   ` Drawing to cairo context from within emacs module? Eli Zaretskii
     [not found]     ` <CAKNFwoQLZpykNFnG9C4WZ12BR45pn-40kykar09UezHFm2U2jw@mail.gmail.com>
2019-12-06 14:55       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKNFwoTE1UPyUiH_jc-JdmooSCMLB26d1cJYa-RvZ59HR0GJvw@mail.gmail.com \
    --to=evfonn@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).