[Y-devel] cairo integration

Dustin Norlander dustinn at gmail.com
Sat Oct 22 19:52:53 BST 2005


I have been working on integrating cairo drawing into Y.  I have cairo
drawing now, and I added it as a dependancy to the build script (cairo
version >= 1.0).

you guys can check it out by:

$ tla register-archive https://www.dustinnorlander.com/arch/
$ tla get dustinn at gmail.com--2005/Y--dustin

I haven't bothered changing all the drawing yet, so it looks pretty
childish, heh.. I want to start in on the theme engine, so I'll just
update the drawing routines as i go.

For now the cairo_t is a member of the Painter struct.  And I have
just made the PixelBuffer and the cairo image buffer share the same
memory..  I think I will end up doing away with the PixelBuffer stuff
in faver of using cairo Buffers (The Y Buffer arrangement will remain
the same just that the PixelBuffer implementation will go away).

https://www.dustinnorlander.com/Y/ywiki/index.php?title=Recent_Changes
-Dustin



More information about the Y-devel mailing list









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