U_CAPI const pl_visualRun * U_EXPORT2 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex) { ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; if (ll == NULL) { return 0; } return (pl_visualRun *) ll->getVisualRun(runIndex); }
ICULine(ParagraphLayout::Line *l) : l(l) { for (int i = 0; i < l->countRuns(); i++) { *this->Append() = new ICUVisualRun(l->getVisualRun(i)); } }