Parameters: int x, int y, int w, int h
Returns: LandView*
Specify the view rectangle on the screen.
Parameters: LandView * self
Parameters: LandView * self, float dx, float dy
Scroll the view by the given amount of screen pixels.
Parameters: LandView * self, float x, float y
Parameters: LandView * self, float sx, float sy
Parameters: LandView * self, float zx, float zy
Given two absolute map coordinates, make them the center of the view.
Given an on-screen position, make it the new center of the view.
Parameters: LandView * self, float x, float y, float bx, float by
Given an absolute map position, scroll the view so it is not within bx/by pixels to the view’s border.
land_view_ensure_visible, but the given position is in screen coordinates.
Parameters: LandView * self, LandGrid * grid
For a non-wrapped grid, move the view so it lies within the grid.
For a wrapped grid, where the view always is inside the grid, this function only normalizes the scroll position to lie within the "first quadrant".
Parameters: LandView * self, float vx, float vy, float * wx, float * wy
Parameters: LandView * self, float wx, float wy, float * vx, float * vy