Re: Vector graphics

"Stephen J. Turnbull" <[email protected]>
Newsgroups gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Charlie" == Charlie Reiman <[email protected]> writes:

    Charlie> I have a slightly crazy feature request for some future
    Charlie> edition. Put it in your pipe, smoke it, and let it roll
    Charlie> around. I won't be insulted if you think I'm crazy.

http://mail.gnu.org/archive/html/gnu-arch-users/2003-09/msg00025.html
http://mail.gnu.org/archive/html/gnu-arch-users/2003-09/msg00000.html

(Note, both threads start in the middle, but that's where they started
to get interesting anyway.)

    Charlie> What I'd like to be able to do in XEmacs is simple line
    Charlie> drawing: Vector graphics on a fairly limited scale. At
    Charlie> minimum, I'd like to be able to draw boxes around words,
    Charlie> lines, and paragraphs.

Look at the old Custom code, which built up pixmaps to look like
beveled buttons and then printed words over them.  If you made the
outlines solid colors instead of dark/light shade you should get what
you want.  Combine with rectangle code to handle basic blocks.

    Charlie> On the high end, I'd like to be able to draw free
    Charlie> vertical and horizontal lines, anchored to characters,
    Charlie> with callbacks when those lines are broken by character
    Charlie> movement.

What do you mean by "anchored" and "broken"?


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.
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.