Lines Matching refs:paragraph
38 Paragraph *paragraph; member
60 if (context->paragraph != NULL) { in InitParagraph()
64 context->paragraph->breakLines(context->width, context->height); in InitParagraph()
70 si.nMax = context->paragraph->getLineCount() - 1; in InitParagraph()
71 si.nPage = context->height / context->paragraph->getLineHeight(); in InitParagraph()
154 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport); in WndProc()
225 if (context->paragraph != NULL && si.nPos != vertPos) { in WndProc()
226 … ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL); in WndProc()
250 if (context->paragraph != NULL) { in WndProc()
256 lastLine = min (si.nPos + (le_int32) si.nPage, context->paragraph->getLineCount() - 1); in WndProc()
258 context->paragraph->draw(surface, firstLine, lastLine); in WndProc()
306 if (context->paragraph != NULL) { in WndProc()
307 delete context->paragraph; in WndProc()
310 context->paragraph = newParagraph; in WndProc()
343 if (context != NULL && context->paragraph != NULL) { in WndProc()
344 delete context->paragraph; in WndProc()