Lines Matching refs:paragraph
37 pf_flow *paragraph; member
61 if (context->paragraph != NULL) { in InitParagraph()
65 pf_breakLines(context->paragraph, context->width, context->height); in InitParagraph()
71 si.nMax = pf_getLineCount(context->paragraph) - 1; in InitParagraph()
72 si.nPage = context->height / pf_getLineHeight(context->paragraph); in InitParagraph()
156 context->paragraph = pf_factory("Sample.txt", font, guiSupport); in WndProc()
227 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc()
228 … ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL); in WndProc()
252 if (context->paragraph != NULL) { in WndProc()
258 … lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph) - 1); in WndProc()
260 pf_draw(context->paragraph, surface, firstLine, lastLine); in WndProc()
310 if (context->paragraph != NULL) { in WndProc()
311 pf_close(context->paragraph); in WndProc()
314 context->paragraph = newParagraph; in WndProc()
347 if (context != NULL && context->paragraph != NULL) { in WndProc()
348 pf_close(context->paragraph); in WndProc()