Lines Matching refs:paragraph
31 pf_flow *paragraph; member
55 if (context->paragraph != NULL) { in InitParagraph()
59 pf_breakLines(context->paragraph, context->width, context->height); in InitParagraph()
65 si.nMax = pf_getLineCount(context->paragraph) - 1; in InitParagraph()
66 si.nPage = context->height / pf_getLineHeight(context->paragraph); in InitParagraph()
150 context->paragraph = pf_factory("Sample.txt", font, guiSupport); in WndProc()
221 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc()
222 … ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL); in WndProc()
246 if (context->paragraph != NULL) { in WndProc()
252 … lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph) - 1); in WndProc()
254 pf_draw(context->paragraph, surface, firstLine, lastLine); in WndProc()
304 if (context->paragraph != NULL) { in WndProc()
305 pf_close(context->paragraph); in WndProc()
308 context->paragraph = newParagraph; in WndProc()
341 if (context != NULL && context->paragraph != NULL) { in WndProc()
342 pf_close(context->paragraph); in WndProc()