[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PfFontFlags(), PfFontFlagsCx()

Get the flags for a font

Synopsis:

#include <photon/Pf.h>
uint32_t PfFontFlags( FontID *ptsID );

#include <font_api.h>
uint32_t PfFontFlagsCx( struct _Pf_ctrl * context,
                        FontID * ptsID );

Arguments:

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().

Library:

PfFontFlags()
ph
PfFontFlagsCx()
font

Description:

These functions get the flags associated with the font ID pointed to by ptsID. The flags can be any of the following:

Returns:

A 32-bit value containing the flags for this FontID.

Examples:

PfFontFlagsCx(): See the example for PfConvertFontIDCx().

PfFontFlags(): See PfFindFont().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfConvertFontID(), PfConvertFontIDCx(), PfDecomposeStemToID(), PfDecomposeStemToIDCx(), PfFindFont(), PfFindFontCx(), PfFontDescription(), PfFontDescriptionCx(), PfFontSize(), PfFontSizeCx(), PfFreeFont(), PfFreeFontCx(), PfGenerateFontName(), PfGenerateFontNameCx()

Fonts chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]