Back to index

texmacs  1.0.7.15
Classes | Typedefs | Functions
math_font.cpp File Reference
#include "font.hpp"
#include "translator.hpp"
#include "convert.hpp"

Go to the source code of this file.

Classes

struct  math_font_rep

Typedefs

typedef int SI

Functions

bool operator== (font fn1, font fn2)
bool operator!= (font fn1, font fn2)
font find_font (tree t)
font math_font (scheme_tree t, font base_fn, font error_fn)

Typedef Documentation

typedef int SI

Definition at line 19 of file math_font.cpp.


Function Documentation

font find_font ( tree  t)

Definition at line 174 of file find_font.cpp.

                   {
  bench_start ("find font");
  font fn= find_font_bis (t);
  bench_cumul ("find font");
  return fn;
}

Here is the call graph for this function:

Here is the caller graph for this function:

font math_font ( scheme_tree  t,
font  base_fn,
font  error_fn 
)

Definition at line 223 of file math_font.cpp.

                                                       {
  string full_name= "compound-" * scheme_tree_to_string (t);
  return make (font, full_name,
    tm_new<math_font_rep> (full_name, t, base_fn, error_fn));
}

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( font  fn1,
font  fn2 
)

Definition at line 21 of file math_font.cpp.

{ return fn1.rep == fn2.rep; }
bool operator== ( font  fn1,
font  fn2 
)

Definition at line 20 of file math_font.cpp.

{ return fn1.rep == fn2.rep; }