Information about text found by SignDocDocument::findText().
More...
#include <SignDocSDK-cpp.h>
Information about text found by SignDocDocument::findText().
Flags for getBoundingBoxes().
Enumerator |
---|
gbbf_single |
Compute a single bounding box, viz, the smallest rectangle containing all the glyph bounding boxes.
|
gbbf_individual |
Return one bounding box per glyph.
|
gbbf_logical |
Compute logical bounding boxes.
If this flag is set, a heuristic will be used for computing bounding boxes that reflect the logical flow of the text. For instance, line breaks will start a new bounding box.
RTL text is not yet supported.
|
Copy constructor.
- Parameters
-
[in] | aSource | The object to be copied. |
void getBoundingBoxes |
( |
int |
aPage, |
|
|
unsigned |
aFlags, |
|
|
std::vector< Rect > & |
aOutput |
|
) |
| const |
|
inline |
Get bounding boxes for the glyphs of this object.
- Parameters
-
Get a cluster.
- Parameters
-
[in] | aIndex | The 0-based index of the cluster (logical order). |
[out] | aOutput | The cluster will be stored here. |
- Returns
- true if successful, false if aIndex is out of range.
- See also
- getNumberOfClusters()
SIGNDOC_FindTextOccurrence* getImpl |
( |
| ) |
|
|
inline |
const SIGNDOC_FindTextOccurrence* getImpl |
( |
| ) |
const |
|
inline |
int getNumberOfClusters |
( |
| ) |
const |
|
inline |
Get the number of clusters making up the hit.
- Returns
- The number of clusters.
void getPages |
( |
std::vector< int > & |
aOutput | ) |
const |
|
inline |
int getUnicodeDirection |
( |
| ) |
const |
|
inline |
Get the direction implied by the Unicode code points.
A lot of characters (such as punctuation characters) do not imply a direction. Unless there is at least one character that defines a direction, 0 will be returned. 0 is also returned if there are conflicting directions.
- Returns
- -1 for RTL, 1 for LTR, 0 if the direction cannot be determined unambiguously.
Assignment operator.
- Parameters
-
[in] | aSource | The source object. |
- Returns
- This object.
void setImpl |
( |
SIGNDOC_FindTextOccurrence * |
aP | ) |
|
|
inline |
The documentation for this class was generated from the following file: