MCPcopy Create free account
hub / github.com/andybarry/makerscanner / SetPixelRange

Method SetPixelRange

ScanThread.cpp:115–121  ·  view source on GitHub ↗

Set pixels we are interested in. TODO: make this a selection on the GUI frame

Source from the content-addressed store, hash-verified

113// Set pixels we are interested in.
114// TODO: make this a selection on the GUI frame
115void ScanThread::SetPixelRange(int Xmin, int Ymin, int Xmax, int Ymax)
116{
117 m_Xmin = Xmin; //50; //Xmin;
118 m_Ymin = Ymin; //300; //Ymin;
119 m_Xmax = Xmax; //210; //Xmax;
120 m_Ymax = Ymax; //420; //Ymax;
121}
122
123// Called when thread is started
124void* ScanThread::Entry()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected