(self, index)
return (screen_x, screen_y)
returns index as screen_x, screen_y in asciicolumn
returns index as screen_x, screen_y in asciicolumn
returns index as screen_x screen_y in asciicolumn
def index_to_asciicol(self, index):
        """ returns index as screen_x, screen_y in asciicolumn
        """
        coord_x, coord_y = self.index_to_coords(index - self.pos)
        screen_x = int(floor(coord_x * self._char_width) + self._ascii_start)
        screen_y = self._header_height + self._char_height + self._ver_spacing
        screen_y += coord_y * (self._char_height + self._ver_spacing)
        return (screen_x, screen_y)
def index_to_asciicol ( self , index ) : coord_x , coord_y = self . index_to_coords ( index - self . pos ) screen_x = int ( floor ( coord_x * self . _char_width ) + self . _ascii_start ) screen_y = self . _header_height + self . _char_height + self . _ver_spacing screen_y += coord_y * ( self . _char_height + self . _ver_spacing ) return ( screen_x , screen_y )