nanogui: Clipping code...


Previous by date: 24 Jan 2000 22:57:10 -0000 Clipping code..., Morten Rolland
Next by date: 24 Jan 2000 22:57:10 -0000 Help - Multilingual fonts ?, Martin Jolicoeur
Previous in thread: 24 Jan 2000 22:57:10 -0000 Clipping code..., Morten Rolland
Next in thread:

Subject: RE: Clipping code...
From: Greg Haerr ####@####.####
Date: 24 Jan 2000 22:57:10 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFB041896@SYS.CenSoft.COM>

: I remember something about a rewrite of the clipping code -
: is this done, or something to come?  If it is not yet
: done, will it be so different from todays version that
: it may not be worth implementing rectangle updating similar
: to GdBlit for GdArea?


The new region code is in devrgn.c.  This code is only used if REGIONS
is defined.  The corresponding clipper is devclip2.c.

The current code is devclip.c.  However, the way to grab the
rectangles is almost entirely similar, and shouldn't concern
you too much.  The effective difference is that the old method
has a static rect array, the new has a dynamic array.  Look at
the GdBlit code, it is #defined for both clippers, and it works
with both.

So it's definitely worth implementing your GdArea update,
since once you get the rectangle, the code will remain the same.

Regards,

Greg


Previous by date: 24 Jan 2000 22:57:10 -0000 Clipping code..., Morten Rolland
Next by date: 24 Jan 2000 22:57:10 -0000 Help - Multilingual fonts ?, Martin Jolicoeur
Previous in thread: 24 Jan 2000 22:57:10 -0000 Clipping code..., Morten Rolland
Next in thread:


Powered by ezmlm-browse 0.20.