Function _Irr2DFontDraw

au3Irr2

au3Irr2 Function Reference

_Irr2DFontDraw

Draws the text into the supplied rectangular area using the supplied font object.

#Include <au3Irrlicht2.au3>
_Irr2DFontDraw($h_Font, $s_Text, $i_XPos, $i_YPos, $i_BottomX, $i_BottomY)

 

Parameters

$h_Font Handle of an irrlicht font texture object
$s_Text Text string to display
$i_XPos X top position of rectangle for the text
$i_YPos Y top position of rectangle for the text
$i_BottomX X bottom position of rectangle for the text
$i_BottomY Y bottom position of rectangle for the text

 

Return Value

Success: True
Failure: False

 

Remarks

None

 

Related

_IrrGetFont

 

Example


#include "au3Irrlicht2.au3"
_IrrStart()
local $bitmapFont = _IrrGetFont ( "./media/fonthaettenschweiler.bmp" )

WHILE _IrrRunning()
    _IrrBeginScene( 0,0,0 )
    _Irr2DFontDraw ( $BitmapFont, "@! Example Text with 'German Umlauts': ÄäÖöÜü !@", 120, 80, 250, 96 )
    _IrrEndScene()
WEND

_IrrStop()