Andreas Beck wrote:

> For the font case I'd rather use
> 
> GCSetForeground(bgrcol), DrawBox();
> GCSetForeground(fgcol);
> loop_over_array()
>         if (isset()) ggiDrawPixel();

doesn't work, the glyphs are anti aliased, with up to 256 colors.

> Now for the "really right" solution:
> 
> It is - as always - writing an extension for bitmap-blitting.
> 
> The point about extensions is, that they have full access to LibGGI internal
> stuff and can separate out individual rendering modes into rendering libs.
> 
> This allows to define a function like
> 
> BitBlt(ggi_visual_t vias,bimap_t *src,int x,int y,int w,int h, ggi_pixel color)
> 
> and the function will be overloaded as appropriate when loading the
> renderlibs (i.e. when setting the mode).
> 
> Such a lib can be started pretty quickly by just having a single stub
> version of the function that will do the "dumb" DrawPixel version.
> And then you add "special" renderers to your liking ...

sounds good, though, as I said, the glyphs aren't rendered to bitmaps, but
8bpp pixmaps. (at least, they can, for aa rendered glyphs).

Regards,        Stefan

PS: a totally unrelated question: I have an almost complete ipc visual
    hanging around. What should I do to get that into cvs ? Didn't we talk
    about moving cvs over to sourceforge (and other services) ?
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...

Reply via email to