MCPcopy Create free account
hub / github.com/creatale/node-dv / DeleteShape

Method DeleteShape

deps/tesseract/classify/shapetable.cpp:371–375  ·  view source on GitHub ↗

Removes the shape given by the shape index.

Source from the content-addressed store, hash-verified

369
370// Removes the shape given by the shape index.
371void ShapeTable::DeleteShape(int shape_id) {
372 delete shape_table_[shape_id];
373 shape_table_[shape_id] = NULL;
374 shape_table_.remove(shape_id);
375}
376
377// Adds a font_id to the given existing shape index for the given
378// unichar_id. If the unichar_id is not in the shape, it is added.

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected