excerpt from:http://bbs.csdn.net/topics/360226333
1)C + + template interface is not normalized
2) Font
In addition, it is recommended that the Font section be renamed Optional because the freetype2 itself is already very good.
Agg just use the outline of freetype2, but sometimes the font default output is the dot matrix, no contour, this is agg font display, such as the size of the lattice SUNSIM.TTC the font will take precedence over the bitmap font, unless the bitmap font is turned off to output outlines.
no font feature can be absorbed in 2D graphics optimization improvement.
modern image processing uses +the format of the bit pixels is sufficient,2Dgraphics can be processed without the need to support a variety of pixel formats, such as565,555,and the -bit ofRGBformat, I think I just need to concentrateRgba/bgrawill be sufficient(I am more happyHuanBGRAformat), because the physical display output when the specific conversion will be very fast, not to mention the hardware acceleration function automatically completed.
3)skia do integer optimization must be a little better temporarily
4) fixed-point integer
Interface parameters can be integer optimized
If you can put AGG also do the necessary fixed-point integer, the effect will be superior, the simplest optimization is to define double=float and then compile to improve a lot of speed, because float is much faster than double -- (not many people know that).
For example , Freetype2 's 26.4 or 16.16 fixed-point integer to implement floating-point arithmetic makes freetype2 have very good effect, which is also agg can be emulated in the place, once the fixed-point number up the point and floating point difference will be very obvious.
Agg Optimization scheme