Back to index

texmacs  1.0.7.15
Functions | Variables
learn_handwriting.cpp File Reference
#include "handwriting.hpp"

Go to the source code of this file.

Functions

void register_glyph (string name, contours gl)

Variables

array< contourslearned_glyphs
array< stringlearned_names
array< array< tree > > learned_disc1
array< array< double > > learned_cont1
array< array< tree > > learned_disc2
array< array< double > > learned_cont2

Function Documentation

void register_glyph ( string  name,
contours  gl 
)

Definition at line 26 of file learn_handwriting.cpp.

                                          {
  array<tree>   disc1;
  array<double> cont1;
  invariants (gl, 1, disc1, cont1);
  array<tree>   disc2;
  array<double> cont2;
  invariants (gl, 2, disc2, cont2);
  learned_names  << name;
  learned_glyphs << gl;
  learned_disc1  << disc1;
  learned_cont1  << cont1;
  learned_disc2  << disc2;
  learned_cont2  << cont2;
  //cout << "Added " << name << ", " << disc1 << "\n";
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 21 of file learn_handwriting.cpp.

Definition at line 23 of file learn_handwriting.cpp.

Definition at line 20 of file learn_handwriting.cpp.

Definition at line 22 of file learn_handwriting.cpp.

Definition at line 18 of file learn_handwriting.cpp.

Definition at line 19 of file learn_handwriting.cpp.