Lines Matching refs:paragraph
32 Paragraph *paragraph; member
54 if (context->paragraph != NULL) { in InitParagraph()
58 context->paragraph->breakLines(context->width, context->height); in InitParagraph()
64 si.nMax = context->paragraph->getLineCount() - 1; in InitParagraph()
65 si.nPage = context->height / context->paragraph->getLineHeight(); in InitParagraph()
148 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport); in WndProc()
219 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc()
220 … ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL); in WndProc()
244 if (context->paragraph != NULL) { in WndProc()
250 lastLine = min (si.nPos + (le_int32) si.nPage, context->paragraph->getLineCount() - 1); in WndProc()
252 context->paragraph->draw(surface, firstLine, lastLine); in WndProc()
300 if (context->paragraph != NULL) { in WndProc()
301 delete context->paragraph; in WndProc()
304 context->paragraph = newParagraph; in WndProc()
337 if (context != NULL && context->paragraph != NULL) { in WndProc()
338 delete context->paragraph; in WndProc()