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

Function MakeBoxFileStr

deps/tesseract/ccstruct/boxread.cpp:226–234  ·  view source on GitHub ↗

Creates a box file string from a unichar string, TBOX and page number.

Source from the content-addressed store, hash-verified

224
225// Creates a box file string from a unichar string, TBOX and page number.
226void MakeBoxFileStr(const char* unichar_str, const TBOX& box, int page_num,
227 STRING* box_str) {
228 *box_str = unichar_str;
229 box_str->add_str_int(" ", box.left());
230 box_str->add_str_int(" ", box.bottom());
231 box_str->add_str_int(" ", box.right());
232 box_str->add_str_int(" ", box.top());
233 box_str->add_str_int(" ", page_num);
234}
235

Callers 2

SampleToStringMethod · 0.85
ReadMemBoxesFunction · 0.85

Calls 1

add_str_intMethod · 0.80

Tested by

no test coverage detected