(self, val)
return val - self.y_offset + gheight
Calculates line height from value.
Calculates line height from value.
Calculates line height from value .
def calc_y(self, val):
        """
        Calculates line height from value.
        """
        return val - self.y_offset + gheight
def calc_y ( self , val ) : return val - self . y_offset + gheight