查看单个帖子
旧 2009-05-04, 03:17 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】a text problem alignmen

a text problem alignment
a text problem alignment
hi,
i have a text problem. if i set the textvertmode::ktextbase ande texthorzmode::ktextleft alignment then the text position is (0., 0.). however, if i use another alignment then the text position is correct. can it be an error alignament?
thank you!
if you set vertical position to base and horizontal to left, you need specify text position by calling setposition(). alignment point makes no sense in this case.
if other than base/left alignment is used you need to call setalignment() and position of text will be calculated by dd.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)