C# Class NeHe.Lesson14

Lesson 14: Using Outline Fonts.

Original Author: Jeff Molofee (NeHe) http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=14

C# Implementation: Randy Ridge http://www.taoframework.com

Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: WolfgangSt/axiom

Public Methods

Method Description
Lesson14 ( ) : System

Creates a new instance.

Private Methods

Method Description
BuildFont ( ) : void

Builds our bitmap font.

CreateGLWindow ( string title, int width, int height, int bits, bool fullscreenflag ) : bool

Creates our OpenGL Window.

DrawGLScene ( ) : bool

Here's where we do all the drawing.

Form_Activated ( object sender, EventArgs e ) : void

Handles the form's activated event.

Form_Closing ( object sender, CancelEventArgs e ) : void

Handles the form's closing event.

Form_Deactivate ( object sender, EventArgs e ) : void

Handles the form's deactivate event.

Form_KeyDown ( object sender, KeyEventArgs e ) : void

Handles the form's key down event.

Form_KeyUp ( object sender, KeyEventArgs e ) : void

Handles the form's key down event.

Form_Resize ( object sender, EventArgs e ) : void

Handles the form's resize event.

InitGL ( ) : bool

All setup for OpenGL goes here.

KillFont ( ) : void

Delete the font list.

KillGLWindow ( ) : void

Properly kill the window.

ReSizeGLScene ( int width, int height ) : void

Resizes and initializes the GL window.

Run ( ) : void
glPrint ( string text ) : void

Custom GL "print" routine.

Method Details

Lesson14() public method

Creates a new instance.
public Lesson14 ( ) : System
return System