Renderer
Object Hierarchy:
Description:
[ CCode ( cname = "SDL_Renderer" , cprefix = "SDL_" , free_function = "SDL_DestroyRenderer" ) ]
[ Compact ]
public class Renderer
Content:
Properties:
Static methods:
Methods:
- public int clear ()
- public int copy (Texture texture, Rect? srcrect, Rect? dstrect)
- public int copyex (Texture texture, Rect? srcrect, Rect? dstrect, double angle, Point? center, RendererFlip flip)
- public int draw_line (int x1, int y1, int x2, int y2)
- public int draw_lines (Point[] points)
- public int draw_point (int x, int y)
- public int draw_points (Point[] points)
- public int draw_rect (Rect? rect)
- public int draw_rects (Rect[] rects)
- public int fill_rect (Rect? rect)
- public int fill_rects (Rect[] rects)
- public int get_draw_blend_mode (out BlendMode blend_mode)
- public int get_draw_color (out uint8 r, out uint8 g, out uint8 b, out uint8 a)
- public int get_info (out RendererInfo info)
- public bool get_int_scale ()
- public void get_logical_size (out int w, out int h)
- public void get_output_size (out int w, out int h)
- public void get_scale (out float scale_x, out float scale_y)
- public void get_viewport (out Rect rect)
- public bool is_clip_enabled ()
- public bool is_supported ()
- public void present ()
- public int read_pixels (Rect? rect, PixelRAWFormat format, out void* pixels, int pitch)
- public int set_draw_blend_mode (BlendMode blend_mode)
- public int set_draw_color (uint8 r, uint8 g, uint8 b, uint8 a)
- public int set_int_scale (bool enable)
- public int set_logical_size (int w, int h)
- public int set_scale (float scale_x, float scale_y)
- public int set_viewport (Rect? rect)