Get the point size of a font
#include <photon/Pf.h> uint32_t PfFontSize( FontID * ptsID ); #include <font_api.h> uint32_t PfFontSizeCx( struct _Pf_ctrl * context, FontID * ptsID );
These functions get the point size associated with the font ID pointed to by ptsID. These routines don't verify that ptsID is non-NULL.
The point size of the font.
PfFontSizeCx(): See the example for PfConvertFontIDCx().
PfFontSize(): See PfFindFont().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
PfConvertFontID(), PfConvertFontIDCx(), PfDecomposeStemToID(), PfDecomposeStemToIDCx(), PfFindFont(), PfFindFontCx(), PfFontDescription(), PfFontDescriptionCx(), PfFontFlags(), PfFontFlagsCx(), PfFreeFont(), PfFreeFontCx(), PfGenerateFontName(), PfGenerateFontNameCx()
Fonts chapter of the Photon Programmer's Guide