Back to index

texmacs  1.0.7.15
Classes | Functions
bridge_gui.cpp File Reference
#include "bridge.hpp"
#include "analyze.hpp"
#include "Concat/canvas_properties.hpp"
#include "Line/lazy_paragraph.hpp"

Go to the source code of this file.

Classes

class  bridge_ornamented_rep
class  bridge_canvas_rep
class  bridge_ornament_rep

Functions

static box make_ornament_body (path ip, array< page_item > l)
bridge bridge_canvas (typesetter ttt, tree st, path ip)
bridge bridge_ornament (typesetter ttt, tree st, path ip)

Function Documentation

bridge bridge_canvas ( typesetter  ttt,
tree  st,
path  ip 
)

Definition at line 212 of file bridge_gui.cpp.

                                                 {
  return tm_new<bridge_canvas_rep> (ttt, st, ip);
}

Here is the caller graph for this function:

bridge bridge_ornament ( typesetter  ttt,
tree  st,
path  ip 
)

Definition at line 260 of file bridge_gui.cpp.

                                                   {
  return tm_new<bridge_ornament_rep> (ttt, st, ip);
}

Here is the caller graph for this function:

static box make_ornament_body ( path  ip,
array< page_item l 
) [static]

Definition at line 148 of file bridge_gui.cpp.

                                                 {
  int i, n= N(l);
  array<box> lines_bx (n);
  array<SI>  lines_ht (n);
  for (i=0; i<n; i++) {
    page_item item= copy (l[i]);
    lines_bx[i]= item->b;
    lines_ht[i]= item->spc->def;
  }
  box b= stack_box (ip, lines_bx, lines_ht);
  SI dy= n==0? 0: b[0]->y2;
  return move_box (decorate (ip), stack_box (ip, lines_bx, lines_ht), 0, dy);
}

Here is the call graph for this function:

Here is the caller graph for this function: