Public Member Functions | Properties

Romulus.Nes.OnPaintEventArgs Class Reference

Event args used for the ScreenView painting events. More...

List of all members.

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.

Detailed Description

Event args used for the ScreenView painting events.


Constructor & Destructor Documentation

Romulus.Nes.OnPaintEventArgs.OnPaintEventArgs ( Graphics  g,
Rectangle  invalid,
Rectangle  source 
)

Creates an OnPaintEventArgs object.

Parameters:
g The graphics object to draw to.
invalid Invalid rectangle.
source Source rectangle.

Property Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events