是用GetGlyphOutline返回的GLYPHMETRICS structure
GLYPHMETRICS 里面的
gmBlackBoxX
Specifies the width of the smallest rectangle that completely encloses the glyph (its black box).
gmBlackBoxY
Specifies the height of the smallest rectangle that completely encloses the glyph (its black box). 是什么单位呢?网上使用的公式是
unsigned int nByteCount = ((textG.gmBlackBoxX +31) >>5) <<2;但是我不明白为什么这样
高手求解
GLYPHMETRICS 里面的
gmBlackBoxX
Specifies the width of the smallest rectangle that completely encloses the glyph (its black box).
gmBlackBoxY
Specifies the height of the smallest rectangle that completely encloses the glyph (its black box). 是什么单位呢?网上使用的公式是
unsigned int nByteCount = ((textG.gmBlackBoxX +31) >>5) <<2;但是我不明白为什么这样
高手求解
解决方案 »
- 关于LPSTR 和 char 赋值与应用的区别
- word的服务器在运行中
- 开发一个桌面应用程序用什么语言和数据库好呢?
- 我一周的成果dsw文件打不开了!谁帮个忙~~
- 华为的面试题....................................
- 请帮我看看这段代码实现的功能
- 图像识别技术交流QQ群 1663930
- 奇怪问题,用PostThreadMessage执行线程里面一个函数之后。。。
- ADO编程时,如何将SQL Server表里的数据类型和VARIANT或_variant_t的数据类型对应起来?
- 谁能给我个LMS200采集数据并画图的vc程序啊
- 请教如何在IE控件中使用代理时屏蔽弹出的用户名与密码输入对话框
- 服务端和客户端通信,客户端接收信息不正确,为何?
// 明白了没?