Packages
sdl2
SDL
Video
Renderer
render_target
create
create_from_surface
create_with_window
get_driver_info
num_drivers
clear
copy
copyex
draw_line
draw_lines
draw_point
draw_points
draw_rect
draw_rects
fill_rect
fill_rects
get_draw_blend_mode
get_draw_color
get_info
get_int_scale
get_logical_size
get_output_size
get_scale
get_viewport
is_clip_enabled
is_supported
present
read_pixels
set_draw_blend_mode
set_draw_color
set_int_scale
set_logical_size
set_scale
set_viewport
set_viewport
Description:
[
CCode
( cname =
"SDL_RenderSetViewport"
) ]
public
int
set_viewport
(
Rect
? rect)