[Y-devel] shapes?

Claude Mench c.mench at adilinstruments.com
Wed Feb 25 13:33:39 GMT 2004


> 
> Let's not repeat the same mistakes the X did and implement real 
> bezier curves instead of only lines, rectangles and axis oriented 
> ellipse. A nice API would have only a line sequence method and a 
> polygon method and both take bezier curves as parameters. Something 
> like how OpenGL draws lines and polygons, but with bezier curves 
> instead of lines between vertexes. Perhaps an option to select 
> border style with a brush.
> ...

    Why not consider Cairo as an option. Y relies already on SDL,
iconv,freetype, another library would not mind. Cairo as an openGl
backend also.

    But it seems clear that it would be better to choose the drawing
API before everybody starts writing widgets...

 
    As I already use opengl in my win32 port I really would like the
drawing api use hardware acelleration. OpenGL is  the more portable
way to have this hardware acceleration. Cairo seems really a good 
library above OpenGL for 2d vector based drawing. 


    Just my 2cts.





More information about the Y-devel mailing list









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