@staticmethod
def _text_position(size, text, font):
    """
            Returns the left-top point where the text should be positioned.
        """
    width, height = font.getsize(text)
    left = (size - width) / 2.0
    top = (size - height) / 3.0
    return left, top
