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

Method DisplayText

ScanThread.cpp:425–430  ·  view source on GitHub ↗

send some text to be displayed

Source from the content-addressed store, hash-verified

423
424// send some text to be displayed
425void ScanThread::DisplayText(wxString text)
426{
427 wxCommandEvent event2(DISPLAY_TEXT_EVENT, GetId());
428 event2.SetString(text);
429 window->GetEventHandler()->AddPendingEvent(event2);
430}
431
432// compute distance to a point given the x pixel location and the width reference x pixel location
433double ScanThread::PixelToDistance2(float laserCenter, float widthReference)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected