(self, row0, col0, row1, col1)
return (
            (col0-1) * self._font.width, (row0-1) * self._font.height,
            col1 * self._font.width - 1, row1 * self._font.height - 1
        )
Convert text area to pixel area.
Convert text area to pixel area.
Convert text area to pixel area .
def text_to_pixel_area(self, row0, col0, row1, col1):
        """Convert text area to pixel area."""
        # area bounds are all inclusive
        return (
            (col0-1) * self._font.width, (row0-1) * self._font.height,
            col1 * self._font.width - 1, row1 * self._font.height - 1
        )
def text_to_pixel_area ( self , row0 , col0 , row1 , col1 ) : # area bounds are all inclusive return ( ( col0 - 1 ) * self . _font . width , ( row0 - 1 ) * self . _font . height , col1 * self . _font . width - 1 , row1 * self . _font . height - 1 )