Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hey, I have just found a very strange scenario... and maybe I am completely misunderstanding something... but.... When I do this: Quote:graphics.DrawText(new PlainText("TEST TEST", font, new SolidBrush(col), 0, 0)); .. The text is rendering off the image ... meaning that a 0,0 position is referring to the BOTTOM LEFT corner of the PlainText... That isn't right is it? The docs say "Coordinates of the upper-left corner of the text black box." Please help!
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hi, Thank you for the problem report. The documentation contains the wrong information. The Position property of the PlainText class specifies the baseline coordinates actually. We will update the documentation shortly. Edited by user Wednesday, June 8, 2016 5:31:41 PM(UTC)
| Reason: Not specified Fedor attached the following image(s): |
Best regards, Fedor Skvortsov
|
1 user thanked Fedor for this useful post.
|
|
|
Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Fedor Hi, Thank you for the problem report. The documentation contains the wrong information. Oh man... haha... Thanks for the reply, but I wish I would have known that 3 hours ago hehehe :)
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.