コード例 #1
0
ファイル: playout.cpp プロジェクト: icu-project/icu4c
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();
}
コード例 #2
0
ファイル: gfx_layout.cpp プロジェクト: newfang/OpenTTD
		int GetGlyphCount() const            { return vr->getGlyphCount(); }