On Sun, 15 Apr 2001, Brian S. Julin wrote:

> 
> On Sun, 15 Apr 2001, Christoph Egger wrote:
> > > ...if for some reason you are emulating a stretch operation
> > > across a bus, you will want to cache the GetPixel results so you
> > > do not generate uneccessary bus traffic.
> > 
> > This works only with solid filled BOBs. But a BOB has usually a
> > image in it. So we have to use something like a "texture"-renderer.
> 
> ?? There's no point to "stretching" a solid fill bob.  What I'm
> suggesting is doing a ggiGetHLine into a buffer, and then filling
> another buffer with an x-stretched line and using ggiPutHline to
> move the data to the destination as many times as the line must
> occur.

Ah... I see! Sorry, my mistake: I mixed up ggiDrawHLine() and
ggiPutHLine(). Yes, that's a good idea.


CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to