Load a font from path
.
Draw the string text
with an approximate pixel height of size
, starting at
(x, y)
and with color (r, g, b)
.
NOTE: Drawing text requires that you have a window open!
Like draw
, except draws the text centered rather than left-justified.
Return the width and height, in pixels, of the region that would be occupied
by text
if drawn with this font at size size
.