Re: Vector graphics

Zajcev Evgeny <[email protected]>
Newsgroups gmane.emacs.xemacs.design
Message-ID <[email protected]>
Charlie Reiman <[email protected]> writes:

> I have a slightly crazy feature request for some future edition. Put
> it in your pipe, smoke it, and let it roll around. I won't be insulted
> if you think I'm crazy.
>
> What I'd like to be able to do in XEmacs is simple line drawing:
> Vector graphics on a fairly limited scale. At minimum, I'd like to be
> able to draw boxes around words, lines, and paragraphs. On the high
> end, I'd like to be able to draw free vertical and horizontal lines,
> anchored to characters, with callbacks when those lines are broken by
> character movement.
>
> I know that sounds crazy but my eventual goals would be to support
> some rudimentary XML drawings and some much improved Python
> editing. Imagine basic blocks being highlighted by outlines instead of
> hopping cursors.
>
> Well, it's just a crazy dream.
>
> Charlie
>

I was able to draw graphics over XEmacs frame using xlib for emacs,
xlib is part of xwem.

But it surely need to run emacs lisp inside redisplay engine because
XEmacs will erase drawed stuff, maybe creating drawing contex(which
will hold all info about things already drawed) and installing
post-redisplay-hook to function which will redraw things in draw
context will partly solve problem.

-- 
lg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.