예제 #1
0
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();
}
예제 #2
0
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();
}
예제 #3
0
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();
}
예제 #4
0
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();
}
예제 #5
0
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();
}
예제 #6
0
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();
}
예제 #7
0
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();
}
예제 #8
0
		const int *GetGlyphToCharMap() const { return vr->getGlyphToCharMap(); }
예제 #9
0
		int GetLeading() const               { return vr->getLeading(); }
예제 #10
0
		const float *GetPositions() const    { return vr->getPositions(); }
예제 #11
0
		const GlyphID *GetGlyphs() const     { return vr->getGlyphs(); }
예제 #12
0
		int GetGlyphCount() const            { return vr->getGlyphCount(); }
예제 #13
0
		const Font *GetFont() const          { return (const Font*)vr->getFont(); }