Crate detexify

Source

Structs§

Scores
StrokeBuilder
StrokeSampleBuilder

Functions§

classifier_free
Free’s a classifier
classifier_new_default
Returns the default classifier
classify
Classifiy the sample returning scores and free’s sample
scores_free
Free’s scores
scores_get_score
Returns the i-th score of scores
scores_get_symbol
Returns the i-th symbol of scores, callers responsible for calling symbol_free once finished
scores_length
Returns the length of the list of symbols
stroke_builder_add_point
Adds a point to the stroke
stroke_builder_build
Returns the stroke and frees builder
stroke_builder_new
Creates a new stroke builder
stroke_sample_builder_add_stroke
Adds a stroke to the stroke sample and frees the stroke
stroke_sample_builder_build
Returns a stroke sample and free’s builder
stroke_sample_builder_new
Creates a new stroke sample builder
symbol_free
Frees symbol
symbol_get_command
Gets the command of the i-th score
symbol_get_font_encoding
Gets the font encoding of the i-th score
symbol_get_math_mode
Gets the math mode of the i-th score
symbol_get_package
Gets the package of the i-th score
symbol_get_text_mode
Gets the text mode of the i-th score
symbols_count
Returns the total number of symbols
symbols_get
Returns the i-th symbol