Page 1 of 1

Anti-aliased drawing functions

Posted: Sat Oct 05, 2013 1:04 pm
by chris
Is it possible to update graphics.library so all the drawing functions are anti-aliased? (even if it can't be the default for compatibility reasons)
Cairo looks great, but is very limited in terms of what BitMaps it supports, and you can't draw to RastPorts either, so it isn't great for native software (and it's huge, comparatively). Having better drawing functions in graphics.library would be a great help, and would improve all the ReAction gadgets too (rounded gadget corners, tabs, radio buttons could all do with anti-aliasing).

Re: Anti-aliased drawing functions

Posted: Sat Oct 05, 2013 8:04 pm
by Hans-Joerg Frieden
Not likely to happen any time soon I'm afraid. There is a considerable overhead required for that, and things like Cairo or AGG work very different from how graphics library drawing works (path rasterization vs. traditional hardware line drawing).

A possibility would be to update cairo to support a wider range of drawing targets, including RastPorts. Cairo could definitely use some love, once Gallium3D is finished, I'll have a look at converting the cairo-drm state tracker to AmigaOS for hardware acceleration.

Re: Anti-aliased drawing functions

Posted: Sun Oct 06, 2013 11:18 am
by chris
Hans-Joerg Frieden wrote:Not likely to happen any time soon I'm afraid. There is a considerable overhead required for that, and things like Cairo or AGG work very different from how graphics library drawing works (path rasterization vs. traditional hardware line drawing).

A possibility would be to update cairo to support a wider range of drawing targets, including RastPorts. Cairo could definitely use some love, once Gallium3D is finished, I'll have a look at converting the cairo-drm state tracker to AmigaOS for hardware acceleration.
OK, cool, thanks.

Re: Anti-aliased drawing functions

Posted: Fri Feb 21, 2014 9:54 am
by AmiHyperion
Other libraries are welcomes, but having updated native graphic.library would be really cool.