Documentation ¶
Index ¶
- func BindTexture2d(textureNum, textureUnit int32)
- func DrawNumber(color color.Color, xOffset, yOffset int, value float64, digits, decimal int, ...)
- func DrawString(color color.Color, xOffset, yOffset int, text string, wordWrapWidth []int32, ...)
- func DrawTranslucentDarkBox(left, top, right, bottom int)
- func GenerateTextureNumbers(count int) []int32
- func GetFontDimensions(fontId FontID) (charWidth, charHeight int, digitsOnly bool)
- func GetTexture(textureId TextureID) int
- func LocalToWorld(x, y, z float64) (lat, lon, alt float64)
- func MeasureString(fontId FontID, text string) float32
- func SetGraphicsState(enableFog bool, numberTexUnits int, ...)
- func WorldToLocal(lat, lon, alt float64) (x, y, z float64)
- type FontID
- type TextureID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindTexture2d ¶
func BindTexture2d(textureNum, textureUnit int32)
func DrawNumber ¶
func DrawString ¶
func DrawTranslucentDarkBox ¶
func DrawTranslucentDarkBox(left, top, right, bottom int)
func GenerateTextureNumbers ¶
func GetFontDimensions ¶
func GetTexture ¶
func LocalToWorld ¶
func MeasureString ¶
func SetGraphicsState ¶
func WorldToLocal ¶
Types ¶
type FontID ¶
type FontID int
const ( Font_Basic FontID = 0 Font_Menus FontID = 1 Font_Metal FontID = 2 Font_Led FontID = 3 Font_LedWide FontID = 4 Font_PanelHUD FontID = 5 Font_PanelEFIS FontID = 6 Font_PanelGPS FontID = 7 Font_RadiosGA FontID = 8 Font_RadiosBC FontID = 9 Font_RadiosHM FontID = 10 Font_RadiosGANarrow FontID = 11 Font_RadiosBCNarrow FontID = 12 Font_RadiosHMNarrow FontID = 13 Font_Timer FontID = 14 Font_FullRound FontID = 15 Font_SmallRound FontID = 16 Font_Menus_Localized FontID = 17 Font_Proportional FontID = 18 )
Click to show internal directories.
Click to hide internal directories.