|
From: Daniel J S. <dan...@ie...> - 2006-06-19 19:46:16
|
Ethan Merritt wrote: > On Monday 19 June 2006 11:11 am, you wrote: > >>As a part of the answer to "what special the ConTeXt terminal can do" >>(not necessary to "what one would want to have there"), here's an >>example that I wanted to show some time ago, but the support for such >>trickery in ConTeXt was first introduced last week: >> >> http://pub.mojca.org/gnuplot/sample/cow/gnuplot-cow.pdf > > > [shrug] That kind of plot is possible in many of the terminals now, > so long as you have a cow glyph to use in the first place. See the > stringvars demo. > > Even fancier variants of positioning glyphs/icons/pictures are possible > using the "with image" plot mode, but no one has put together a demo > for this [mis]use yet. It will become more powerful if/when we add > support for an alpha channel. (cc'ed to Dan Sebald; maybe this will > inspire him). Nothing like cow plots to motivate someone from the dairy state. (Actually, it just keeps slipping my mind.) Well, to get started, I'm going to add IC_RGBA to the list, i.e., typedef enum t_imagecolor { IC_PALETTE, IC_RGB, IC_RGBA } t_imagecolor; and adjust things accordingly to all the terminal drivers. The advantage of this, as opposed to simply changing IC_RGB to IC_RGBA is data reduction across the pipe in the case of X11 and generally just data reduction whenever. (I'm always for data reduction when 2D types of elements, e.g. surfaces, images, etc. are in play.) Dan -- Dan Sebald phone: 608 256 7718 email: daniel DOT sebald AT ieee DOT org URL: http://webpages DOT charter DOT net/dsebald/ |