(self, index)
return (screen_x, screen_y)
returns index as screen_x, screen_y in hexcolumn
returns index as screen_x, screen_y in hexcolumn
returns index as screen_x screen_y in hexcolumn
def index_to_hexcol(self, index):
        """ returns index as screen_x, screen_y in hexcolumn
        """
        coord_x, coord_y = self.index_to_coords(index - self.pos)
        screen_x = int(
            floor((coord_x * (self._char_width * 3)) + self._hex_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_hexcol ( self , index ) : coord_x , coord_y = self . index_to_coords ( index - self . pos ) screen_x = int ( floor ( ( coord_x * ( self . _char_width * 3 ) ) + self . _hex_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 )