Home | History | Annotate | Download | only in layout

Lines Matching refs:Paragraph

30 #include "paragraph.h"
43 Paragraph *paragraph;
96 Paragraph *newPara;
100 newPara = Paragraph::paragraphFactory(fileName, font, guiSupport);
106 if (context->paragraph != NULL) {
107 delete context->paragraph;
110 context->paragraph = newPara;
114 context->paragraph->breakLines(context->width, context->height);
211 if (context->paragraph != NULL) {
216 context->paragraph->breakLines(context->width, context->height);
225 if (context->paragraph != NULL) {
226 gint maxLines = context->paragraph->getLineCount() - 1;
227 gint firstLine = 0, lastLine = context->height / context->paragraph->getLineHeight();
230 context->paragraph->draw(&surface, firstLine, (maxLines < lastLine)? maxLines : lastLine);
242 context->paragraph = Paragraph::paragraphFactory(fileName, font, guiSupport);
290 if (context->paragraph != NULL) {
291 delete context->paragraph;