[Y-devel] Cairo 2D drawing library.

JP Dinger jpd at dsb.tudelft.nl
Wed Feb 25 21:45:38 GMT 2004


On Wed, Feb 25, 2004 at 02:27:32PM -0500, Brent Gulanowski wrote:
> [...] How far 
> do you plan to extend the use of vector drawing? I think it would be a 
> crazy waste of CPU on the window server to draw widgets with vectors, 

IMO drawing it with vectors allows for ``expanding'' the widget into
a bitmap that much ``closer to the hardware'', thus preventing a lot
of BITBLT here and there. Some video cards even will allow you to give
them a bunch of arrows and they'll figure out how to draw the resulting
bitmap themselves. In that sense, it is a good thing, actually.


> [...] -- if the images in the dock 
> were vector based, your computer would screech to a halt trying to 
> resize them dynamically.

Nothing that can't be solved with a bit of prudent buffering and caching.
Again IMO of course.


-- 
  j p d (at) d s b (dot) t u d e l f t (dot) n l .



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved