高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|