Back to index

texmacs  1.0.7.15
Classes | Functions
graphics_boxes.cpp File Reference
#include "env.hpp"
#include "Boxes/graphics.hpp"
#include "Boxes/composite.hpp"
#include "Boxes/construct.hpp"
#include "Graphics/math_util.hpp"

Go to the source code of this file.

Classes

struct  graphics_box_rep
struct  graphics_group_box_rep
struct  point_box_rep
struct  curve_box_rep

Functions

box graphics_box (path ip, array< box > bs, frame f, grid g, point lim1, point lim2)
box graphics_group_box (path ip, array< box > bs)
box point_box (path ip, point p, SI r, color col, int fill, color fill_col, string style)
box curve_box (path ip, curve c, SI width, color col, array< bool > style, SI style_unit, int fill, color fill_col, array< box > arrows)

Function Documentation

box curve_box ( path  ip,
curve  c,
SI  width,
color  col,
array< bool >  style,
SI  style_unit,
int  fill,
color  fill_col,
array< box arrows 
)

Definition at line 634 of file graphics_boxes.cpp.

{
  return tm_new<curve_box_rep> (ip, c, width, col,
                                style, style_unit, fill, fill_col, arrows);
}

Here is the caller graph for this function:

box graphics_box ( path  ip,
array< box bs,
frame  f,
grid  g,
point  lim1,
point  lim2 
)

Definition at line 614 of file graphics_boxes.cpp.

{
  box r= tm_new<graphics_box_rep> (ip, bs, f, g, lim1, lim2);
  if (r->x1 != 0) r= move_box (ip, r, -r->x1, 0);
  return r;
}

Here is the call graph for this function:

Here is the caller graph for this function:

box graphics_group_box ( path  ip,
array< box bs 
)

Definition at line 623 of file graphics_boxes.cpp.

                                            {
  return tm_new<graphics_group_box_rep> (ip, bs);
}

Here is the caller graph for this function:

box point_box ( path  ip,
point  p,
SI  r,
color  col,
int  fill,
color  fill_col,
string  style 
)

Definition at line 628 of file graphics_boxes.cpp.

                                                                             {
  return tm_new<point_box_rep> (ip, p, r, col, fill, fill_col, style);
}

Here is the caller graph for this function: