def viewport(self):
        """Rect: The drawing area for rendering on the current target."""
        viewport = rect.Rect(0, 0, 0, 0)
        check_int_err(lib.SDL_RenderGetViewport(self._ptr, viewport._ptr))
        return viewport