truetype_test例子

> I would like to draw text with outline. I thought it could be done by using 
> an outline renderer. I tried tu put a white outline on a blue text, but i 
> must have done something wrong, cause nothing happened.
> Does anybody know how to put a colored outline on text?
> Thanks a lot.

The vector glyph cache behaves as a regular VertexSource, so that you can use
any other converters. Take the example truetype_test.cpp and replace
conv_contour to conv_stroke. In the example conv_contour provides "false bold"
font transformations on demand. But you can't draw outliuned text with the
raster glyph cache.


你可能感兴趣的:(font,agg,Outline)