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

Method Rectangle

deps/tesseract/viewer/scrollview.cpp:606–611  ·  view source on GitHub ↗

Draw a rectangle using the current pen color. The rectangle is filled with the current brush color.

Source from the content-addressed store, hash-verified

604// Draw a rectangle using the current pen color.
605// The rectangle is filled with the current brush color.
606void ScrollView::Rectangle(int x1, int y1, int x2, int y2) {
607 if (x1 == x2 && y1 == y2)
608 return; // Scrollviewer locks up.
609 SendMsg("drawRectangle(%d,%d,%d,%d)",
610 x1, TranslateYCoordinate(y1), x2, TranslateYCoordinate(y2));
611}
612
613// Draw an ellipse using the current pen color.
614// The ellipse is filled with the current brush color.

Callers 15

ClearFeatureSpaceWindowFunction · 0.80
word_displayMethod · 0.80
pre_associate_blobsFunction · 0.80
DisplayColSegmentsMethod · 0.80
DisplayColSegmentGridMethod · 0.80
DisplayColPartitionsMethod · 0.80
DisplayMethod · 0.80
plot_word_decisionsFunction · 0.80
PlotGradedBlobsMethod · 0.80
RemoveLineResidueMethod · 0.80
MarkLeaderNeighboursMethod · 0.80
DisplayGoodBlobsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected