Event args used for the ScreenView painting events. More...
Public Member Functions | |
| OnPaintEventArgs (Graphics g, Rectangle invalid, Rectangle source) | |
| Creates an OnPaintEventArgs object. | |
Properties | |
| Rectangle | InvalidControlRect [get, set] |
| The rectangle, in control coordinates, that this ScreenView needs to paint. | |
| Rectangle | ClippedSourceRect [get, set] |
| The rectangle, in game-screen coordinates, of the game-screen image that will be drawn to update the control. | |
| Graphics | Graphics [get, set] |
| The Graphics object that will be used for drawing. | |
Event args used for the ScreenView painting events.
| Romulus.Nes.OnPaintEventArgs.OnPaintEventArgs | ( | Graphics | g, | |
| Rectangle | invalid, | |||
| Rectangle | source | |||
| ) |
Creates an OnPaintEventArgs object.
| g | The graphics object to draw to. | |
| invalid | Invalid rectangle. | |
| source | Source rectangle. |
Rectangle Romulus.Nes.OnPaintEventArgs.ClippedSourceRect [get, set] |
The rectangle, in game-screen coordinates, of the game-screen image that will be drawn to update the control.
Graphics Romulus.Nes.OnPaintEventArgs.Graphics [get, set] |
The Graphics object that will be used for drawing.
Rectangle Romulus.Nes.OnPaintEventArgs.InvalidControlRect [get, set] |
The rectangle, in control coordinates, that this ScreenView needs to paint.
1.7.1