UF_UGFONT_add_font (查看源代码)
 
定义在: uf_ugfont.h
 
概述
Adds a font to the Font Table Entity (FTE) if it does not exist. If the
font already exists, the index of the existing font is returned. This
function returns the font index number for the FTE. Note that adding a font
will use the first available slot in the FTE (one that has a NULL font name).

环境
内部和外部

历史
Originally release in V14.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_UGFONT_add_font
(
tag_t fte,
int * index,
char * font
)
tag_t (tag_t类型)fteInput(输入)The tag of the Font Table Entity (FTE).
int * (整数型指针)indexOutput(输出)Font index number for the specified font
char * (字符型指针)fontInput(输入)The name of the font (16 character max)

 


 
UF_UGFONT_ask_font_header (查看源代码)
 
定义在: uf_ugfont.h
 
概述
Fills in the UF_UGFONT_font_header_s structure with font information
for a given font.

环境
内部和外部

历史
This function was originally released in V15.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_UGFONT_ask_font_header
(
tag_t fte,
int font,
UF_UGFONT_font_header_t * header
)
tag_t (tag_t类型)fteInput(输入)Tag of the font table entity
int (整数型)fontInput(输入)font index
UF_UGFONT_font_header_t *headerOutput(输出)filled in UF_UGFONT_font_header_t structure

 


 
UF_UGFONT_ask_font_name (查看源代码)
 
定义在: uf_ugfont.h
 
概述
Returns the font name of the specified font index number. The font name
may be NULL. This can happen if part cleanup has removed a font as being
unused. The font index number still exists, but since there is not a font
name, the output font_name will be NULL. If a font returns a NULL font name,
then it is not a valid font to use.

The user must call UF_free to free the resulting font name.

环境
内部和外部

历史
Originally released in V14.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_UGFONT_ask_font_name
(
tag_t fte,
int index,
char * * font_name
)
tag_t (tag_t类型)fteInput(输入)The tag of the Font Table Entity (FTE).
int (整数型)indexInput(输入)The font index number
char * *font_nameOutput to be freed
输出并释放
The font name. Use UF_free to deallocate
memory when done.

 


 
UF_UGFONT_ask_number_of_fonts (查看源代码)
 
定义在: uf_ugfont.h
 
概述
Returns the number of entries in the Font Table Entity (FTE). Each entry
may be a valid font or an entry that has been previously deleted. The only way
to validate if a font number is usable is to call UF_UGFONT_ask_font_name.
If that returns a non-NULL name, then the font number is valid and can be used.
If UF_UGFONT_ask_font_name returns NULL for the name, then the font number
is not valid (it has been deleted using part cleanup).

环境
内部和外部

历史
Originally release in V14.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_UGFONT_ask_number_of_fonts
(
tag_t fte,
int * num
)
tag_t (tag_t类型)fteInput(输入)The tag of the Font Table Entity (FTE).
int * (整数型指针)numOutput(输出)The number of font entries in the FTE. Some of the font entries
may be currently unused, if part cleanup has been run on the part.

 


 
UF_UGFONT_replace_font (查看源代码)
 
定义在: uf_ugfont.h
 
概述
UF_UGFONT_replace_font
Change the particular font number to a new name in the Font Table Entry (FTE)

环境
内部和外部

历史
This function was originally released in NX3.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_UGFONT_replace_font
(
tag_t fte,
int index,
const char * const font
)
tag_t (tag_t类型)fteInput(输入)The tag of the Font Table Entity (FTE)
int (整数型)indexInput(输入)Font index number for the old font to replace
const char * constfontInput(输入)The name of the new font (16 character max)