Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 8
Get the flags for a font
#include <photon/Pf.h>
uint32_t PfFontFlags( FontID *ptsID );
#include <font_api.h>
uint32_t PfFontFlagsCx( struct _Pf_ctrl * context,
FontID * ptsID );
- context
- (PfFontFlagsCx() only) A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
- ptsID
- A pointer to a font ID, as returned by
PfFindFont() or
PfFindFontCx().
- PfFontFlags()
- ph
- PfFontFlagsCx()
- font
These functions get the flags associated with the font ID
pointed to by ptsID.
The flags can be any of the following:
- PF_STYLE_BOLD
- PF_STYLE_ITALIC
- PF_STYLE_BI — the same as
PF_STYLE_BOLD | PF_STYLE_ITALIC
- PF_STYLE_ANTIALIAS
- PF_SCALABLE
- PF_BITMAP
A 32-bit value containing the flags for this FontID.
PfFontFlagsCx(): See the example for PfConvertFontIDCx().
PfFontFlags():
See
PfFindFont().
Photon
PfFontFlags()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PfFontFlagsCx()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
PfConvertFontID(),
PfConvertFontIDCx(),
PfDecomposeStemToID(),
PfDecomposeStemToIDCx(),
PfFindFont(),
PfFindFontCx(),
PfFontDescription(),
PfFontDescriptionCx(),
PfFontSize(),
PfFontSizeCx(),
PfFreeFont(),
PfFreeFontCx(),
PfGenerateFontName(),
PfGenerateFontNameCx()
Fonts
chapter of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 174
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pffontflags.html on line 174