Back to index

texmacs  1.0.7.15
Classes | Functions
basic_boxes.cpp File Reference
#include "boxes.hpp"
#include "formatter.hpp"

Go to the source code of this file.

Classes

struct  test_box_rep
struct  line_box_rep
struct  polygon_box_rep
struct  arc_box_rep
struct  image_box_rep
struct  control_tree_box_rep
struct  control_lazy_box_rep

Functions

box test_box (path ip)
box line_box (path ip, SI x1, SI y1, SI x2, SI y2, SI w, color c)
box arc_box (path ip, SI x1, SI y1, SI x2, SI y2, int a1, int a2, SI w, color c)
box polygon_box (path ip, array< SI > x, array< SI > y, SI w, color cf, color cl)
box polygon_box (path ip, array< SI > x, array< SI > y, color c)
box image_box (path ip, url u, SI w, SI h, int alpha)
box control_box (path ip, tree t, font fn)
box control_box (path ip, lazy lz, font fn)

Function Documentation

box arc_box ( path  ip,
SI  x1,
SI  y1,
SI  x2,
SI  y2,
int  a1,
int  a2,
SI  w,
color  c 
)

Definition at line 239 of file basic_boxes.cpp.

                                                                             {
  return tm_new<arc_box_rep> (ip, x1, y1, x2, y2, a1, a2, w, c);
}

Here is the caller graph for this function:

box control_box ( path  ip,
tree  t,
font  fn 
)

Definition at line 259 of file basic_boxes.cpp.

                                       {
  return tm_new<control_tree_box_rep> (ip, t, fn);
}

Here is the caller graph for this function:

box control_box ( path  ip,
lazy  lz,
font  fn 
)

Definition at line 264 of file basic_boxes.cpp.

                                        {
  return tm_new<control_lazy_box_rep> (ip, lz, fn);
}
box image_box ( path  ip,
url  u,
SI  w,
SI  h,
int  alpha 
)

Definition at line 254 of file basic_boxes.cpp.

                                                  {
  return tm_new<image_box_rep> (ip, u, w, h, alpha);
}

Here is the caller graph for this function:

box line_box ( path  ip,
SI  x1,
SI  y1,
SI  x2,
SI  y2,
SI  w,
color  c 
)

Definition at line 234 of file basic_boxes.cpp.

                                                              {
  return tm_new<line_box_rep> (ip, x1, y1, x2, y2, w, c);
}

Here is the caller graph for this function:

box polygon_box ( path  ip,
array< SI x,
array< SI y,
SI  w,
color  cf,
color  cl 
)

Definition at line 244 of file basic_boxes.cpp.

                                                                          {
  return tm_new<polygon_box_rep> (ip, x, y, w, cf, cl);
}

Here is the caller graph for this function:

box polygon_box ( path  ip,
array< SI x,
array< SI y,
color  c 
)

Definition at line 249 of file basic_boxes.cpp.

                                                         {
  return tm_new<polygon_box_rep> (ip, x, y, 0, c, c);
}
box test_box ( path  ip)

Definition at line 229 of file basic_boxes.cpp.

                   {
  return tm_new<test_box_rep> (ip);
}

Here is the caller graph for this function: