My text is being drawn offscreen even when drawing at 0,0. Why is this? #2735
Unanswered
AngryCarrot789
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, text is drawn not like an image, but is rendered using front metrics from the lower left corner. That's why if you draw at 0,0 the text will be just outside the canvas bounds. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to draw text so that all of the text contents are drawn at 0,0 relative to the top left corner, but for some reason all of the text is drawn far above that point. What causes this? This is the code I'm using:
Beta Was this translation helpful? Give feedback.
All reactions