Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvscreen2dtext:normalfont_create [TV3DWiki]
 

Wiki > TV3D65 Index > TVScreen2DText

NormalFont_Create

DESCRIPTION

-This page has been generated automatically. Please improve it by adding a description and additional information.

DECLARATION

VB.NET NormalFont_Create(sUserFont As String , sFontName As String , iSize As Integer , bBold As Boolean , bUnderlined As Boolean , bItalic As Boolean) As Integer
C++ int NormalFont_Create(char* sUserFont , char* sFontName , int iSize , bool bBold , bool bUnderlined , bool bItalic )

PARAMETERS

NAMEOPTIONALDESCRIPTION
sUserFontNosUserFont description
sFontNameNosFontName description
iSizeNoiSize description
bBoldNobBold description
bUnderlinedNobUnderlined description
bItalicNobItalic description

RETURN VALUE

Integer Description of what the return value means.

EXAMPLES

ExampleBasic example.

'VB.NET example
 
'Integers used to store the font
Dim MenuFont, MenuFont_1 As Integer
 
'Assign the fonts
MenuFont = Text.NormalFont_Create("Miram Fixed", "Miram Fixed", 15, False, False, False)
MenuFont_1 = Text.NormalFont_Create("Trebuchet MS", "Trebuchet MS", 28, True, False, False)
 
'Using the Fonts
Text.Action_BeginText()
 
Text.TextureFont_DrawText("Hello world !", 10, 75, TVglobal.RGBA(1, 0, 0, 1), MenuFont)
Text.TextureFont_DrawText("Hello world !", 10, 75, TVglobal.RGBA(1, 0, 0, 1), MenuFont_1)
 
Text.Action_EndText()
 

TIPS

  • Please add any notes or tips for this method.
 
tvscreen2dtext/normalfont_create.txt · Last modified: 2010/06/12 11:48 by 86.175.123.69