• SimpleTextOutlinedsize?
    0 replies, posted
Is it possible to get the size of the text drawn wiSimpleTextOutlined? I understand that it returns (width, height), but I was wondering if there is a way to do it that doesn't require it to already be drawn (yes, I could draw it off screen, but it feels hacky). This is the width including outline. Could I just work out the size using surface.GetTextSize() and just add 2 * outline? [editline]8th July 2014[/editline] Looks like I'll have to end up drawing it offscreen and just using that. Damn. [editline]8th July 2014[/editline] Turns out it doesn't actually return it's size.
Sorry, you need to Log In to post a reply to this thread.