SDL  2.0
DrawState Struct Reference
+ Collaboration diagram for DrawState:

Data Fields

SDL_Windowwindow
 
SDL_Rendererrenderer
 
SDL_Texturebackground
 
SDL_Texturesprite
 
SDL_Rect sprite_rect
 
int scale_direction
 

Detailed Description

Definition at line 27 of file testrendercopyex.c.

Field Documentation

◆ background

SDL_Texture * DrawState::background

Definition at line 30 of file testrendercopyex.c.

Referenced by Draw(), DrawComposite(), and main().

◆ renderer

SDL_Renderer * DrawState::renderer

Definition at line 29 of file testrendercopyex.c.

Referenced by Draw(), DrawComposite(), and main().

◆ scale_direction

int DrawState::scale_direction

Definition at line 33 of file testrendercopyex.c.

Referenced by Draw(), DrawComposite(), and main().

◆ sprite

SDL_Texture * DrawState::sprite

Definition at line 31 of file testrendercopyex.c.

Referenced by Draw(), DrawComposite(), and main().

◆ sprite_rect

SDL_Rect DrawState::sprite_rect

Definition at line 32 of file testrendercopyex.c.

Referenced by Draw(), DrawComposite(), and main().

◆ window

SDL_Window * DrawState::window

Definition at line 28 of file testrendercopyex.c.

Referenced by main().


The documentation for this struct was generated from the following files: