Let the developers know what you think of the software and what can be done to either improve the CFDG language or the Context Free program.
Moderators: MtnViewJohn, chris, mtnviewmark
-
bobular
- Posts: 7
- Joined: Mon Oct 12, 2009 4:09 am
Post
by bobular »
Hi,
I have been looking at the source code and antigrain docs for a way to disable the anti-aliasing and can't find an obvious solution.
Is it possible? It would be a really nice commandline option if it was.
I'm not sure how many people would use it though! I have quite obscure reasons to want to.
Alternatively I could output SVG, and use imagemagick to render an ugly aliased image with
Code: Select all
convert +antialias temp.svg temp.png
cheers,
Bob.
-
bobular
- Posts: 7
- Joined: Mon Oct 12, 2009 4:09 am
Post
by bobular »
imagemagick SVG conversion (probably delegated to some other program) was buggy so I looked harder and found what I needed to change:
aggCanvas.cpp line 170
change
Code: Select all
typedef agg::renderer_scanline_aa_solid<renderer_base> renderer_solid;
to
Code: Select all
typedef agg::renderer_scanline_bin_solid<renderer_base> renderer_solid;