(self, x, y)
return (y * self.line_length) + (x * self.pixelsize)
Translates a x/y coordinate into the start index.
Translates a x/y coordinate into the start index.
Translates a x / y coordinate into the start index .
def _translate(self, x, y):
        """
        Translates a x/y coordinate into the start index.
        """
        return (y * self.line_length) + (x * self.pixelsize)
def _translate ( self , x , y ) : return ( y * self . line_length ) + ( x * self . pixelsize )