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

Method Image

deps/tesseract/viewer/scrollview.cpp:663–667  ·  view source on GitHub ↗

Open and draw an image given a name at (x,y).

Source from the content-addressed store, hash-verified

661
662// Open and draw an image given a name at (x,y).
663void ScrollView::Image(const char* image, int x_pos, int y_pos) {
664 SendMsg("openImage('%s')", image);
665 SendMsg("drawImage('%s',%d,%d)",
666 image, x_pos, TranslateYCoordinate(y_pos));
667}
668
669// Add new checkboxmenuentry to menubar.
670void ScrollView::MenuItem(const char* parent, const char* name,

Callers 7

do_re_displayMethod · 0.45
FindBlocksMethod · 0.45
DisplayBlocksMethod · 0.45
DisplayColumnBoundsMethod · 0.45
DisplayProjectionMethod · 0.45
FindTabVectorsMethod · 0.45
DisplayMethod · 0.45

Calls 1

pixWriteMemFunction · 0.85

Tested by

no test coverage detected