• Home
  • Raw
  • Download

Lines Matching refs:flow

110     pf_object *flow;  in pf_create()  local
123 flow = NEW_ARRAY(pf_object, 1); in pf_create()
125 flow->fParagraphLayout = NULL; in pf_create()
126 flow->fParagraphCount = 0; in pf_create()
127 flow->fParagraphMax = PARA_GROW; in pf_create()
128 flow->fParagraphGrow = PARA_GROW; in pf_create()
129 flow->fLineCount = 0; in pf_create()
130 flow->fLinesMax = LINE_GROW; in pf_create()
131 flow->fLinesGrow = LINE_GROW; in pf_create()
132 flow->fLines = NULL; in pf_create()
133 flow->fChars = NULL; in pf_create()
134 flow->fLineHeight = -1; in pf_create()
135 flow->fAscent = -1; in pf_create()
136 flow->fWidth = -1; in pf_create()
137 flow->fHeight = -1; in pf_create()
138 flow->fParagraphLevel = UBIDI_DEFAULT_LTR; in pf_create()
146 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create()
147 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax); in pf_create()
149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
150 LE_ARRAY_COPY(flow->fChars, chars, charCount); in pf_create()
151 flow->fChars[charCount] = 0; in pf_create()
153 pStart = &flow->fChars[0]; in pf_create()
161 pEnd = &flow->fChars[charCount]; in pf_create()
165 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
172 …paragraphLayout = pl_create(pStart, pEnd - pStart, fr, NULL, NULL, locales, flow->fParagraphLevel,… in pf_create()
178 if (flow->fParagraphLevel == UBIDI_DEFAULT_LTR) { in pf_create()
179 flow->fParagraphLevel = pl_getParagraphLevel(paragraphLayout); in pf_create()
199 if (flow->fParagraphCount >= flow->fParagraphMax) { in pf_create()
200flow->fParagraphLayout = (pl_paragraph **) GROW_ARRAY(flow->fParagraphLayout, flow->fParagraphMax … in pf_create()
201 flow->fParagraphMax += flow->fParagraphGrow; in pf_create()
204 flow->fParagraphLayout[flow->fParagraphCount++] = paragraphLayout; in pf_create()
213 flow->fLineHeight = ascent + descent + leading; in pf_create()
214 flow->fAscent = ascent; in pf_create()
219 return (pf_flow *) flow; in pf_create()
222 void pf_close(pf_flow *flow) in pf_close() argument
224 pf_object *obj = (pf_object *) flow; in pf_close()
245 le_int32 pf_getAscent(pf_flow *flow) in pf_getAscent() argument
247 pf_object *obj = (pf_object *) flow; in pf_getAscent()
252 le_int32 pf_getLineHeight(pf_flow *flow) in pf_getLineHeight() argument
254 pf_object *obj = (pf_object *) flow; in pf_getLineHeight()
259 le_int32 pf_getLineCount(pf_flow *flow) in pf_getLineCount() argument
261 pf_object *obj = (pf_object *) flow; in pf_getLineCount()
276 void pf_breakLines(pf_flow *flow, le_int32 width, le_int32 height) in pf_breakLines() argument
278 pf_object *obj = (pf_object *) flow; in pf_breakLines()
315 void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine) in pf_draw() argument
317 pf_object *obj = (pf_object *) flow; in pf_draw()