POLYTEXT——参考PolyTextOut函数
类型定义
Type POLYTEXT
x As Long
y As Long
n As Long
lpStr As String
uiFlags As Long
rcl As RECT
pdx As Long
End Type
说明
This structure describes the location and contents of strings to draw for the PolyTextOut function
字段表
字段 类型及说明
x,y Long,定义了字串的参考位置。根据设备场景当前的文本对齐设置,字串会对齐这个参考点
n Long,字串的字符数量
lpStr String,欲描绘的字串
uiFlags Long,可设为下述一个或多个常数:
ETO_CLIPPED 将输出剪切成由rcl字段指定的一个矩形
ETO_OPAQUE 用当前背景色填充rcl矩形
rcl RECT,用于指定约束矩形(如已经设置了ETO_CLIPPED)
pdx Long,指定一个内存块的地址。该地址包含了一个Long型数组,用于装载每个字符的宽度

Top