C# Класс GraphicalAdapter.OpenGLAdapter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

DrawPoint() публичный Метод

public DrawPoint ( Vertex2D point ) : void
point Vertex2D
Результат void

DrawText2D() публичный Метод

public DrawText2D ( int x, int y, string text ) : void
x int
y int
text string
Результат void

DrawVector2D() публичный Метод

public DrawVector2D ( Vertex2D begin, Vertex2D end ) : void
begin Vertex2D
end Vertex2D
Результат void

EndDrawing() публичный Метод

public EndDrawing ( ) : void
Результат void

OpenGLAdapter() публичный Метод

public OpenGLAdapter ( SimpleOpenGlControl viewport ) : System
viewport Tao.Platform.Windows.SimpleOpenGlControl
Результат System

SetOutputColor() публичный Метод

public SetOutputColor ( RGBColor color ) : void
color RGBColor
Результат void

StartDrawing() публичный Метод

public StartDrawing ( ) : void
Результат void