ICU 55.1 55.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
playout.h
Go to the documentation of this file.
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2011 - All Rights Reserved
4 *
5 */
6
7 #ifndef __PLAYOUT_H
8 #define __PLAYOUT_H
9
10 /*
11 * ParagraphLayout doesn't make much sense without
12 * BreakIterator...
13 */
14 #include "unicode/ubidi.h"
15 #if ! UCONFIG_NO_BREAK_ITERATION
16 #ifndef U_HIDE_INTERNAL_API
17
18 #include "layout/LETypes.h"
19 #include "plruns.h"
20
35 typedef void pl_paragraph;
36
42 typedef void pl_line;
43
49 typedef void pl_visualRun;
50
96 U_INTERNAL pl_paragraph * U_EXPORT2
97 pl_create(const LEUnicode chars[],
98 le_int32 count,
99 const pl_fontRuns *fontRuns,
100 const pl_valueRuns *levelRuns,
101 const pl_valueRuns *scriptRuns,
102 const pl_localeRuns *localeRuns,
103 UBiDiLevel paragraphLevel,
104 le_bool vertical,
105 LEErrorCode *status);
106
116 U_INTERNAL void U_EXPORT2
117 pl_close(pl_paragraph *paragraph);
118
132 U_INTERNAL le_bool U_EXPORT2
133 pl_isComplex(const LEUnicode chars[],
134 le_int32 count);
135
147 U_INTERNAL UBiDiLevel U_EXPORT2
148 pl_getParagraphLevel(pl_paragraph *paragraph);
149
161 U_INTERNAL UBiDiDirection U_EXPORT2
162 pl_getTextDirection(pl_paragraph *paragraph);
163
179 U_INTERNAL le_int32 U_EXPORT2
180 pl_getAscent(const pl_paragraph *paragraph);
181
192 U_INTERNAL le_int32 U_EXPORT2
193 pl_getDescent(const pl_paragraph *paragraph);
194
205 U_INTERNAL le_int32 U_EXPORT2
206 pl_getLeading(const pl_paragraph *paragraph);
207
215 U_INTERNAL void U_EXPORT2
216 pl_reflow(pl_paragraph *paragraph);
217
236 U_INTERNAL pl_line * U_EXPORT2
237 pl_nextLine(pl_paragraph *paragraph, float width);
238
248 U_INTERNAL void U_EXPORT2
249 pl_closeLine(pl_line *line);
250
260 U_INTERNAL le_int32 U_EXPORT2
261 pl_countLineRuns(const pl_line *line);
262
273 U_INTERNAL le_int32 U_EXPORT2
274 pl_getLineAscent(const pl_line *line);
275
286 U_INTERNAL le_int32 U_EXPORT2
287 pl_getLineDescent(const pl_line *line);
288
299 U_INTERNAL le_int32 U_EXPORT2
300 pl_getLineLeading(const pl_line *line);
301
313 U_INTERNAL le_int32 U_EXPORT2
314 pl_getLineWidth(const pl_line *line);
315
332 U_INTERNAL const pl_visualRun * U_EXPORT2
333 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex);
334
349 U_INTERNAL const le_font * U_EXPORT2
350 pl_getVisualRunFont(const pl_visualRun *run);
351
362 U_INTERNAL UBiDiDirection U_EXPORT2
363 pl_getVisualRunDirection(const pl_visualRun *run);
364
374 U_INTERNAL le_int32 U_EXPORT2
375 pl_getVisualRunGlyphCount(const pl_visualRun *run);
376
389 U_INTERNAL const LEGlyphID * U_EXPORT2
390 pl_getVisualRunGlyphs(const pl_visualRun *run);
391
407 U_INTERNAL const float * U_EXPORT2
408 pl_getVisualRunPositions(const pl_visualRun *run);
409
422 U_INTERNAL const le_int32 * U_EXPORT2
423 pl_getVisualRunGlyphToCharMap(const pl_visualRun *run);
424
435 U_INTERNAL le_int32 U_EXPORT2
436 pl_getVisualRunAscent(const pl_visualRun *run);
437
448 U_INTERNAL le_int32 U_EXPORT2
449 pl_getVisualRunDescent(const pl_visualRun *run);
450
461 U_INTERNAL le_int32 U_EXPORT2
462 pl_getVisualRunLeading(const pl_visualRun *run);
463
464 #endif /* U_HIDE_INTERNAL_API */
465 #endif
466 #endif