Main Page   Modules   Compound List   File List   Compound Members   File Members  

Font family methods


Functions

STStatus STTypeEnvFindFontFamily (STTypeEnv iEnv, const utf16 *iName, STCharCount iNameLength, STLanguage *ioLanguage, STFontFamily *oFontFamily)
 Finds a font family by its name. More...

STStatus STTypeEnvFindAllFontFamilies (STTypeEnv iEnv, STCount *oFontFamilyCount, STFontFamily **oFontFamily)
 Finds all font families. More...

STStatus STFontFamilyGetFonts (STTypeEnv iEnv, STFontFamily iFontFamily, STCount *oFontCount, STFont **oFontArray)
STStatus STFontFamilyGetName (STTypeEnv iEnv, STFontFamily iFontFamily, STLanguage *ioLanguage, STCharCount *oCharCount, utf16 **oStringData)
STStatus STFontGetFontFamily (STTypeEnv iEnv, STFont iFont, STFontFamily *oFontFamily)
STStatus STFontGetTypefaceName (STTypeEnv iEnv, STFont iFont, STLanguage *ioLanguage, STCharCount *oCharCount, utf16 **oStringData, STFontWeightClass *oWeight, STFontWidthClass *oWidth, STFontStyle *oStyle)

Function Documentation

STStatus STTypeEnvFindAllFontFamilies STTypeEnv    iEnv,
STCount   oFontFamilyCount,
STFontFamily **    oFontFamily
 

Finds all font families.

Parameters:
iEnv  type environment object
oFontFamilyCount  a pointer to a variable where on return the number of returned fontIDs is stored
oFontFamily  a pointer to an array of STFont variables where the resulting font IDs are stored on return. If this pointer is NULL the function just counts all fonts with the name iName. The array is allocated inside this function, and the caller is responsible for freeing up the memory.
Returns:
STStatus

STStatus STTypeEnvFindFontFamily STTypeEnv    iEnv,
const utf16   iName,
STCharCount    iNameLength,
STLanguage   ioLanguage,
STFontFamily   oFontFamily
 

Finds a font family by its name.

Parameters:
iEnv  type environment object
iName  a UTF-16 string that specifies the name
iNameLength  number of UTF-16 characters in the name
ioLanguage  requested language. If STSF does not find the requested language and substitutes it with a different language, the new language is stored here
oFontFamily  a pointer to STFont variable where on return the resulting font ID is stored
Returns:
STStatus


Generated on Thu Mar 20 23:35:53 2003 for Standard Type Services by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001