[C++] 在imagemagick里面计算文本的宽度
摘要:image.font(font);image.fontPointsize(fontSize);TypeMetric metric;image.fontTypeMetrics(txt, &metric);说明:先在图片对象里面指定字体及字体大小,然后就可以通过fontTypeMetrics()来计算...
阅读全文
posted @ 2012-02-21 16:18
posted @ 2012-02-21 16:18
posted @ 2012-02-19 14:27
posted @ 2012-02-16 16:59
posted @ 2012-02-13 15:28
posted @ 2012-02-11 12:02