nanogui: How to draw anti-aliased lines/circles and such?
Subject:
Re: [nanogui] How to draw anti-aliased lines/circles and such?
From:
Daniel ####@####.####
Date:
11 Sep 2008 23:43:40 -0000
Message-Id: <48C9AD22.9040703@timeterminal.se>
Cairo does indeed look very nice! Pretty much as I requested, actually.
Just need it to work with nanox then... :)
Greg Haerr wrote:
> : Anyone know of a C library which works with nanox and provides tools for
> : drawing anti-aliased lines and cicles and such?
>
> AGG and Cairo come to mind as libraries for sub-pixel optimization and
> anti-aliasing. Of course, AGG is C++.
>
>
> :
> : Maybe something like "Anti-Grain Geometry" but with simple C interface?
>
> I am very interested in wrapping AGG and including it in Microwindows.
> I've been thinking of how neat including all of AGG, along with SVG
> drawing primitives (which map neatly into AGG), would be in a
> composite drawing system on top of Microwindows. This, along with
> Freetype and some postscript-style drawing primitives would allow
> a library to be built allowing applications to behave like they do
> on the iPhone with the ability to have the user arbitrarily expand
> and contract screen output...
>
> That's probably overkill for what you're looking for, but a C wrapper
> around AGG would be a start for both of us.
>
> Regards,
>
> Greg
>