FSPDF_TEXTPAGE_CHARINFO Struct Reference

Structure for character's information definition. More...

#include <fpdf_textpage_r.h>

Public Attributes

FSCRT_FONT font
 Font handle of the character. More...
 
FS_INT32 state
 State of character. More...
 
FS_FLOAT fontSize
 Font size of character, measured in points (about 1/72 inch). More...
 
FS_FLOAT originX
 X position of the character origin. -1 means error.
 
FS_FLOAT originY
 Y position of the character origin. -1 means error.
 
FSCRT_RECTF bbox
 4 positions (left, bottom, right, top)of character's bounding box.
 
FSCRT_MATRIX matrix
 Matrix of character.
 

Detailed Description

Structure for character's information definition.

Member Data Documentation

FSCRT_FONT FSPDF_TEXTPAGE_CHARINFO::font

Font handle of the character.

This handle can be used by font handle related functions to get more information about the font.
If character is generated, font may be is NULL.

FS_FLOAT FSPDF_TEXTPAGE_CHARINFO::fontSize

Font size of character, measured in points (about 1/72 inch).

This is the typographic size of font referred to as "em size".

FS_INT32 FSPDF_TEXTPAGE_CHARINFO::state

State of character.

Please refer to macro definitions FSPDF_TEXTPAGE_CHARSTATE_XXXX and this should be one of these macros.


The documentation for this struct was generated from the following file:

Foxit Corporation