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

Method BoxColor

deps/tesseract/textord/tablefind.cpp:2154–2162  ·  view source on GitHub ↗

Provides a color for BBGrid to draw the rectangle.

Source from the content-addressed store, hash-verified

2152
2153// Provides a color for BBGrid to draw the rectangle.
2154ScrollView::Color ColSegment::BoxColor() const {
2155 const ScrollView::Color kBoxColors[PT_COUNT] = {
2156 ScrollView::YELLOW,
2157 ScrollView::BLUE,
2158 ScrollView::YELLOW,
2159 ScrollView::MAGENTA,
2160 };
2161 return kBoxColors[type_];
2162}
2163
2164// Insert a box into this column segment
2165void ColSegment::InsertBox(const TBOX& other) {

Callers 3

DisplayDiacriticsMethod · 0.45
DisplayBoxesMethod · 0.45
DisplayBoxVectorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected