#include "unicode/utypes.h"
#include "unicode/ubidi.h"
#include "layout/LETypes.h"
#include "layout/loengine.h"
Go to the source code of this file.
Typedefs | |
typedef void | pl_fontRuns |
Opaque datatype representing an array of font runs. | |
typedef void | pl_valueRuns |
Opaque datatype representing an array of value runs. | |
typedef void | pl_localeRuns |
Opaque datatype representing an array of locale runs. | |
Functions | |
pl_fontRuns * | pl_openFontRuns (const le_font **fonts, const le_int32 *limits, le_int32 count) |
Construct a pl_fontRuns object from pre-existing arrays of fonts and limit indices. | |
pl_fontRuns * | pl_openEmptyFontRuns (le_int32 initialCapacity) |
Construct an empty pl_fontRuns object. | |
void | pl_closeFontRuns (pl_fontRuns *fontRuns) |
Close the given pl_fontRuns object. | |
le_int32 | pl_getFontRunCount (const pl_fontRuns *fontRuns) |
Get the number of font runs. | |
void | pl_resetFontRuns (pl_fontRuns *fontRuns) |
Reset the number of font runs to zero. | |
le_int32 | pl_getFontRunLastLimit (const pl_fontRuns *fontRuns) |
Get the limit index for the last font run. | |
le_int32 | pl_getFontRunLimit (const pl_fontRuns *fontRuns, le_int32 run) |
Get the limit index for a particular font run. | |
const le_font * | pl_getFontRunFont (const pl_fontRuns *fontRuns, le_int32 run) |
Get the le_font object assoicated with the given run of text. | |
le_int32 | pl_addFontRun (pl_fontRuns *fontRuns, const le_font *font, le_int32 limit) |
Add a new font run to the given pl_fontRuns object. | |
pl_valueRuns * | pl_openValueRuns (const le_int32 *values, const le_int32 *limits, le_int32 count) |
Construct a pl_valueRuns object from pre-existing arrays of values and limit indices. | |
pl_valueRuns * | pl_openEmptyValueRuns (le_int32 initialCapacity) |
Construct an empty pl_valueRuns object. | |
void | pl_closeValueRuns (pl_valueRuns *valueRuns) |
Close the given pl_valueRuns object. | |
le_int32 | pl_getValueRunCount (const pl_valueRuns *valueRuns) |
Get the number of value runs. | |
void | pl_resetValueRuns (pl_valueRuns *valueRuns) |
Reset the number of value runs to zero. | |
le_int32 | pl_getValueRunLastLimit (const pl_valueRuns *valueRuns) |
Get the limit index for the last value run. | |
le_int32 | pl_getValueRunLimit (const pl_valueRuns *valueRuns, le_int32 run) |
Get the limit index for a particular value run. | |
le_int32 | pl_getValueRunValue (const pl_valueRuns *valueRuns, le_int32 run) |
Get the value assoicated with the given run * of text. | |
le_int32 | pl_addValueRun (pl_valueRuns *valueRuns, le_int32 value, le_int32 limit) |
Add a new font run to the given pl_valueRuns object. | |
pl_localeRuns * | pl_openLocaleRuns (const char **locales, const le_int32 *limits, le_int32 count) |
Construct a pl_localeRuns object from pre-existing arrays of fonts and limit indices. | |
pl_localeRuns * | pl_openEmptyLocaleRuns (le_int32 initialCapacity) |
Construct an empty pl_localeRuns object. | |
void | pl_closeLocaleRuns (pl_localeRuns *localeRuns) |
Close the given pl_localeRuns object. | |
le_int32 | pl_getLocaleRunCount (const pl_localeRuns *localeRuns) |
Get the number of font runs. | |
void | pl_resetLocaleRuns (pl_localeRuns *localeRuns) |
Reset the number of locale runs to zero. | |
le_int32 | pl_getLocaleRunLastLimit (const pl_localeRuns *localeRuns) |
Get the limit index for the last font run. | |
le_int32 | pl_getLocaleRunLimit (const pl_localeRuns *localeRuns, le_int32 run) |
Get the limit index for a particular font run. | |
const char * | pl_getLocaleRunLocale (const pl_localeRuns *localeRuns, le_int32 run) |
Get the le_font object assoicated with the given run of text. | |
le_int32 | pl_addLocaleRun (pl_localeRuns *localeRuns, const char *locale, le_int32 limit) |
Add a new run to the given pl_localeRuns object. |
This is a technology preview. The API may change significantly.
Definition in file plruns.h.
|
Add a new font run to the given
If the
|
|
Add a new run to the given
If the
|
|
Add a new font run to the given
If the
|
|
Close the given Once this call returns, the object can no longer be referenced.
|
|
Close the given Once this call returns, the object can no longer be referenced.
|
|
Close the given Once this call returns, the object can no longer be referenced.
|
|
Get the number of font runs.
|
|
Get the
Use
|
|
Get the limit index for the last font run. This is the number of characters in the text.
|
|
Get the limit index for a particular font run.
|
|
Get the number of font runs.
|
|
Get the limit index for the last font run. This is the number of characters in the text.
|
|
Get the limit index for a particular font run.
|
|
Get the
Use
|
|
Get the number of value runs.
|
|
Get the limit index for the last value run. This is the number of characters in the text.
|
|
Get the limit index for a particular value run.
|
|
Get the value assoicated with the given run * of text.
Use
|
|
Construct an empty
Clients can add font and limit indices arrays using the
|
|
Construct an empty
Clients can add font and limit indices arrays using the
|
|
Construct an empty
Clients can add values and limits using the
|
|
Construct a
|
|
Construct a
|
|
Construct a
|
|
Reset the number of font runs to zero.
|
|
Reset the number of locale runs to zero.
|
|
Reset the number of value runs to zero.
|