def scroll(self, dx, dy):
        """Scroll line vectors relative to dx and dy amounts.

        dx, dy
            Integers representing amount in pixels of a
            movement in the x and y axes, respectively.
        """
        ### scroll grid vertical lines

        if dx:
            move_grid_lines_along_axis(
                self.v_lines, "x", dx, self.unit_rect, self.area_rect
            )

        ### scroll grid horizontal lines

        if dy:
            move_grid_lines_along_axis(
                self.h_lines, "y", dy, self.unit_rect, self.area_rect
            )
Scroll line vectors relative to dx and dy amounts.

        dx, dy
            Integers representing amount in pixels of a
            movement in the x and y axes, respectively.
        
nodezator/our3rdlibs/grid/oop.py