nanogui: Thread: How to draw anti-aliased lines/circles and such?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: How to draw anti-aliased lines/circles and such?
From: Daniel ####@####.####
Date: 11 Sep 2008 12:22:21 -0000
Message-Id: <48C90D62.3050306@timeterminal.se>

Anyone know of a C library which works with nanox and provides tools for
drawing anti-aliased lines and cicles and such?

Maybe something like "Anti-Grain Geometry" but with simple C interface?
Subject: Re: [nanogui] How to draw anti-aliased lines/circles and such?
From: "Greg Haerr" ####@####.####
Date: 11 Sep 2008 16:49:06 -0000
Message-Id: <138a01c9142e$8e7b34a0$6501a8c0@winXP>

: 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
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
>   

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.