5 gg: conv_smooth_poly1_curve
# include“gg/include/agg_conv_smooth_poly1。h”
模板<类VertexSource>
struct conv_smooth_poly1_curve:
publicconv_curve
VertexSourcesmooth_value1
gg:: path_storage ps;
ps.move_to (100200),
ps.line_to (300500),
ps.line_to (400400),
ps.close_polygon(真正);
gg:: conv_smooth_poly1_curve
ras.add_path(中海壳牌);
6 gg:: conv_bspline
Z
#包括“gg/include/agg_conv_bspline。h”
模板<类VertexSource>
structconv_bspline:公共conv_adaptor_vcgen
VertexSourceinterpolation_step
gg:: path_storage ps;
ps.move_to (100200),
ps.line_to (300500),
ps.line_to (400400),
//ps.close_polygon(真正);//
gg:: conv_stroke
gg:: conv_bspline
ras.add_path (cbsp);
6 gg:: conv_marker
7 gg:: conv_curve
VertexSource VertexSource, conv_smooth_poly1_curve