U_CAPI const le_int32 * U_EXPORT2 pl_getVisualRunGlyphToCharMap(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return NULL; } return vr->getGlyphToCharMap(); }
U_CAPI le_int32 U_EXPORT2 pl_getVisualRunLeading(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return 0; } return vr->getLeading(); }
U_CAPI const float * U_EXPORT2 pl_getVisualRunPositions(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return NULL; } return vr->getPositions(); }
U_CAPI const LEGlyphID * U_EXPORT2 pl_getVisualRunGlyphs(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return NULL; } return vr->getGlyphs(); }
U_CAPI le_int32 U_EXPORT2 pl_getVisualRunGlyphCount(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return -1; } return vr->getGlyphCount(); }
U_CAPI UBiDiDirection U_EXPORT2 pl_getVisualRunDirection(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return UBIDI_LTR; } return vr->getDirection(); }
U_CAPI const le_font * U_EXPORT2 pl_getVisualRunFont(const pl_visualRun *run) { ParagraphLayout::VisualRun *vr = (ParagraphLayout::VisualRun *) run; if (vr == NULL) { return NULL; } return (const le_font *) vr->getFont(); }
const int *GetGlyphToCharMap() const { return vr->getGlyphToCharMap(); }
int GetLeading() const { return vr->getLeading(); }
const float *GetPositions() const { return vr->getPositions(); }
const GlyphID *GetGlyphs() const { return vr->getGlyphs(); }
int GetGlyphCount() const { return vr->getGlyphCount(); }
const Font *GetFont() const { return (const Font*)vr->getFont(); }