While getting familiar with agg and its various layers, I'm trying to create a
simple procedure for drawing an anti-aliased rectangle.
The rectangle proc has the following input parameters:
X, Y, Width, Height
OutlineWidth
OutlineColor
FillColor
JoinType - Miter/Bevel/Round
I'm hoping somebody can show me which classes to use by example in code.
I've seen the Rounded Rectangle example in agg but that example doesn't do quite
enough.
I would like to use pixel formatter pixfmt_gray8 with 1 byte per pixel (0-255)
agg looks great! However I'm feeling a little overwhelmed by the many classes.
Thanks for the help!
P.S. Is there a way of applying transformations to the coordinate space similar
to "scale" or "rotate" or "transform" in postscript? Such that I could apply
the scaling factor in the X or Y direction so that all drawing was automatically
scaled until the scaling was removed or reset? I'm trying to keep the drawing
code simple by applying these before drawing the rectangle.
Mike
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to:
http://p.sf.net/sfu/opensolaris-get_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general