def _count_pixels_on_line(self, y, p):
        """Count the number of pixels rendered on this line."""
        h = line(y, self._effective_thickness(p), 0.0)
        return h.sum()
def _count_pixels_on_line ( self , y , p ) : h = line ( y , self . _effective_thickness ( p ) , 0.0 ) return h . sum ( )
Count the number of pixels rendered on this line.