[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Take a screenshot from within Emacs

From: joakim
Subject: Re: Take a screenshot from within Emacs
Date: Fri, 08 Jul 2016 10:29:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden
>> Date: Thu, 07 Jul 2016 21:57:41 +0200
>> Cc: Emacs developers <address@hidden>
>> I don't think Emacs has the capability to access its internal rendering
>> data out of the box.
> Actually, it does, sort of.  Take a look at the dump-glyph-matrix
> function and the subroutines it calls.  There are also
> dump-frame-glyph-matrix (for TTY frames) and dump-tool-bar-row.  They
> describe the data structures Emacs uses to draw its windows and
> frames.  We could use them to provide some initial testing capability
> for the display engine.  The disadvantages of using these functions
> are that (a) they currently need Emacs build with GLYPH_DEBUG defined,
> and (b) they don't test the terminal-specific parts of the display
> engine (in xterm.c, w32term.c, nsterm.m, etc.) that actually write to
> the glass.

Yes you are right of course. I even used those routines while working
on the xwidget branch, but forgot.

Joakim Verona

reply via email to

[Prev in Thread] Current Thread [Next in Thread]