C# Class GraphicalAdapter.OpenGLAdapter

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
DrawPoint ( Vertex2D point ) : void
DrawText2D ( int x, int y, string text ) : void
DrawVector2D ( Vertex2D begin, Vertex2D end ) : void
EndDrawing ( ) : void
OpenGLAdapter ( SimpleOpenGlControl viewport ) : System
SetOutputColor ( RGBColor color ) : void
StartDrawing ( ) : void

Method Details

DrawPoint() public méthode

public DrawPoint ( Vertex2D point ) : void
point Vertex2D
Résultat void

DrawText2D() public méthode

public DrawText2D ( int x, int y, string text ) : void
x int
y int
text string
Résultat void

DrawVector2D() public méthode

public DrawVector2D ( Vertex2D begin, Vertex2D end ) : void
begin Vertex2D
end Vertex2D
Résultat void

EndDrawing() public méthode

public EndDrawing ( ) : void
Résultat void

OpenGLAdapter() public méthode

public OpenGLAdapter ( SimpleOpenGlControl viewport ) : System
viewport Tao.Platform.Windows.SimpleOpenGlControl
Résultat System

SetOutputColor() public méthode

public SetOutputColor ( RGBColor color ) : void
color RGBColor
Résultat void

StartDrawing() public méthode

public StartDrawing ( ) : void
Résultat void