Lines Matching defs:run
276 copy_text_run(text_run *run)
284 if (run != NULL) {
285 newRun->offset = run->offset;
286 newRun->font = run->font;
287 newRun->color = run->color;
299 dump_text_run(text_run *run)
301 if (run == NULL)
304 printf("run: offset = %ld, color = {%d,%d,%d}, font = ",
305 run->offset, run->color.red, run->color.green, run->color.blue);
306 run->font.PrintToStream();
363 text_run *run = (text_run *)fRuns.RemoveItem((int32)0);
364 array->runs[i] = *run;
365 delete run;
377 TextOutput::PrepareTextRun(text_run *run)
379 if (run != NULL && fOffset == run->offset)
382 text_run *newRun = copy_text_run(run);
402 // We only push a copy of the run on the stack because the current
403 // run may still be changed in the new group -- later, we'll just
406 text_run *run = NULL;
408 run = copy_text_run(fCurrentRun);
410 fGroupStack.Push(run);
764 // Now we put out the actual text with styling information run by run