메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Releases managed resources.
|
|
DrawOverlay ( |
Draws an overlay image over the client area.
|
|
InitializeGraphics ( |
Initializes the System.Drawing.Graphics used to draw control elements.
|
|
NewYear2010Renderer ( ) : System |
Initializes a new instance of the NewYear2010Renderer class.
|
|
OnLayout ( LayoutEventArgs e ) : void |
Sets the layout of the control.
|
메소드 | 설명 | |
---|---|---|
CreateFlake ( int size, int iterations ) : |
Generates a snowflake from a Koch curve. http://en.wikipedia.org/wiki/Koch_snowflake
|
|
CreateTerrain ( ) : |
Generates a random snowy terrain.
|
|
DrawSnowFlake ( |
Draws a snow flake.
|
|
DrawTerrain ( |
Draws the terrain.
|
|
DrawTerrainOutline ( |
Draws the terrain outline.
|
|
UpdateTimerCallback ( object state ) : void |
Updates snow flakes at each timer tick.
|
public DrawOverlay ( |
||
g | The System.Drawing.Graphics to draw on. | |
bounds | The bounding rectangle of the client area. | |
리턴 | void |
public InitializeGraphics ( |
||
g | The System.Drawing.Graphics to draw on. | |
리턴 | void |
public OnLayout ( LayoutEventArgs e ) : void | ||
e | LayoutEventArgs | A LayoutEventArgs that contains event data. |
리턴 | void |