Add the helper function that combines GetSizeFromTextSize() and GetTextExtent() as they are often used together.