]>
Commit | Line | Data |
---|---|---|
46f4442e A |
1 | /* |
2 | * | |
3 | * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved | |
4 | * | |
5 | */ | |
6 | ||
7 | #ifndef __PFLOW_H | |
8 | #define __PFLOW_H | |
9 | ||
10 | #include "unicode/utypes.h" | |
11 | #include "layout/LETypes.h" | |
12 | ||
13 | #include "layout/plruns.h" | |
14 | #include "layout/playout.h" | |
15 | ||
16 | #include "gsupport.h" | |
17 | #include "rsurface.h" | |
18 | ||
19 | typedef void pf_flow; | |
20 | ||
21 | pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status); | |
22 | ||
23 | void pf_close(pf_flow *flow); | |
24 | ||
25 | le_int32 pf_getAscent(pf_flow *flow); | |
26 | le_int32 pf_getLineHeight(pf_flow *flow); | |
27 | le_int32 pf_getLineCount(pf_flow *flow); | |
28 | void pf_breakLines(pf_flow *flow, le_int32 width, le_int32 height); | |
29 | void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine); | |
30 | ||
31 | pf_flow *pf_factory(const char *fileName, const le_font *font, gs_guiSupport *guiSupport); | |
32 | ||
33 | #endif |