正在加载图片...
系统定义的 TEXTMETRICS的结构如下: typedef struct tagTEXTMETRIC //tm LONG thE i ght //字符高度 LONG tmAscent: 字符基线以上高度 LONG tmDescent 字符基线以下高度 LONG tmInterna Leading: thEi ght制订的字符高度顶部的控件 LONG tmExterna I Lead ing 行与行之间的间隔 ONG tmAveCharWidth //平均字符宽度 LONG tmMaxCharWidth //最大字符宽度 ONG tmWe ight 字符的粗细度 LONG tmOverhang //合成字体间附加的宽度 L0 NG tmDigiti zedAspectX;//为输出设备设计的X轴尺寸 LONG tmDi giti zedAspectY;//为输出设备设计的Y轴尺寸 BCHAR tmFirstChar 字体中第一个字符值 BCHAR tmLastchar 体中最后 BCHAR tmDefaultChar 代替不在字体中字符的字符 BCHAR tmBreakChar 作为分割符的字符 BYTE tmltal ic: 0则表示字体为斜体 BYTE tmUnder ined 非0则表示字体有下划线 BYTE tmStruckOut 删除字体 BYTE tmPi tchAndFami ly 体间距和字体族 BYTE tcHar Set 符集 I TEXTMETRIC8 系统定义的TEXTMETRICS的结构如下: typedef struct tagTEXTMETRIC { //tm LONG tmHeight; //字符高度 LONG tmAscent; //字符基线以上高度 LONG tmDescent; //字符基线以下高度 LONG tmInternalLeading; //tmHeight制订的字符高度顶部的控件 LONG tmExternalLeading; //行与行之间的间隔 LONG tmAveCharWidth; //平均字符宽度 LONG tmMaxCharWidth; //最大字符宽度 LONG tmWeight; //字符的粗细度 LONG tmOverhang; //合成字体间附加的宽度 LONG tmDigitizedAspectX; //为输出设备设计的X轴尺寸 LONG tmDigitizedAspectY; //为输出设备设计的Y轴尺寸 BCHAR tmFirstChar; //字体中第一个字符值 BCHAR tmLastChar; //字体中最后一个字符值 BCHAR tmDefaultChar; //代替不在字体中字符的字符 BCHAR tmBreakChar; //作为分割符的字符 BYTE tmItalic; //非0则表示字体为斜体 BYTE tmUnderlined; //非0则表示字体有下划线 BYTE tmStruckOut; //非0则表示字符为删除字体 BYTE tmPitchAndFamily; //字体间距和字体族 BYTE tmCharSet; //字符集 }TEXTMETRIC
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有