C# Class NewTOAPIA.GL.GLTextHelper

Datei anzeigen Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
CreateBitmapFont ( GraphicsInterface gr, IntPtr hdc, String fontName, int fontCellHeightInPoints, uint &bitmapFontOpenGLDisplayListBase ) : void
CreatePolygonFont ( GraphicsInterface gr, IntPtr hdc, String fontName, uint &GLDisplayListBase ) : void

DrawTextUsingPolygonFont ( GraphicsInterface gr, uint fontOpenGLDisplayListBaseIndex, int clientWidth, int clientHeight, int fontHeightPixels, int textX, int textY, String text ) : void

Method Details

CreateBitmapFont() public static method

public static CreateBitmapFont ( GraphicsInterface gr, IntPtr hdc, String fontName, int fontCellHeightInPoints, uint &bitmapFontOpenGLDisplayListBase ) : void
gr GraphicsInterface
hdc System.IntPtr
fontName String
fontCellHeightInPoints int
bitmapFontOpenGLDisplayListBase uint
return void

CreatePolygonFont() public static method

public static CreatePolygonFont ( GraphicsInterface gr, IntPtr hdc, String fontName, uint &GLDisplayListBase ) : void
gr GraphicsInterface
hdc System.IntPtr [in]
fontName String [in] "Verdana", "Arial", "Courier New", "Symbol", "Wingdings", "Wingdings 3"
GLDisplayListBase uint [out]
return void

DrawTextUsingPolygonFont() public static method

public static DrawTextUsingPolygonFont ( GraphicsInterface gr, uint fontOpenGLDisplayListBaseIndex, int clientWidth, int clientHeight, int fontHeightPixels, int textX, int textY, String text ) : void
gr GraphicsInterface
fontOpenGLDisplayListBaseIndex uint
clientWidth int
clientHeight int
fontHeightPixels int
textX int
textY int
text String
return void