[EMAIL PROTECTED] (Christoph Egger) writes:
> On 9 Jun 2000, Marcus Sundberg wrote:
> > No, it makes no sense at all. Ofcourse you should draw everywhere on
> > the visual.
>
> Can you explain it as detailed as you can, please? Only drawing the spans,
> which are really visible on the monitor _can_ (but doesn't have to, if
> vis->visible.y == vis->virt.y) be much faster.
I didn't think it needed explanation. Ofcourse it's faster to draw
less, and the fastest way is obviously to not draw anything at all,
but that's not a very useful approach...
The whole point of having a virtual area is so you can draw onto it!
Haven't you ever used a virtual window manager under X?
And besides you have no idea about what parts of the virtual area will
be visible.
If you want to optimize drawing, use the clipping area.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 452062
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]