AGG源码命名规则

vvertex的缩写,ggenerator的缩写。

1 agg_vcgen_xxxx

历史从agg_gen_xxxxagg_cgen_xxxxagg_vcgen_xxxx

“vcgen””VertexaccCumulating Generators”的缩写

2 agg_vpgen_xxxxx

"vpgen" "Vertex Pass-through Generator"的缩写

 

3 其他的命名

affine_matrix à trans_affine

viewport  àtrans_viewport

4 邮件记录

I also would like to rename some classesand files, particulary agg_gen_xxxx to

agg_cgen_xxxx (where 'c' refers to"Cumulating" generators), there're also will

be agg_pgen_xxxxx refering to"Pass-through" generators. First ones acculumate

vertices of the whole contour (not path)before generating the path, the last

ones are fed with vertices and then askedto produce some other vertices on

demand. A typical example of thePass-through generator is Liang-Barski polygon

clipper.

 

Also, for the sake of consistency I'd liketo rename affine_matrix to

trans_affine, because there aretrans_perspective, trans_bilinear, and

trans_warp_magnifier.

摘自:http://sourceforge.net/p/vector-agg/mailman/vector-agg-general/?viewmonth=200402

你可能感兴趣的:(agg)