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

Method SetRangesEmpty

deps/tesseract/ccutil/unicharset.cpp:111–122  ·  view source on GitHub ↗

Sets all ranges to empty. Used before expanding with font-based data.

Source from the content-addressed store, hash-verified

109
110// Sets all ranges to empty. Used before expanding with font-based data.
111void UNICHARSET::UNICHAR_PROPERTIES::SetRangesEmpty() {
112 min_bottom = MAX_UINT8;
113 max_bottom = 0;
114 min_top = MAX_UINT8;
115 max_top = 0;
116 width = 0.0f;
117 width_sd = 0.0f;
118 bearing = 0.0f;
119 bearing_sd = 0.0f;
120 advance = 0.0f;
121 advance_sd = 0.0f;
122}
123
124// Returns true if any of the top/bottom/width/bearing/advance ranges/stats
125// is emtpy.

Callers 3

set_ranges_emptyMethod · 0.80
AppendOtherUnicharsetMethod · 0.80
GetStrPropertiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected