MCPcopy Create free account
hub / github.com/audeering/opensmile / paintNow

Method paintNow

plugindev/simpleVisualiserGUI.cpp:96–101  ·  view source on GitHub ↗

* Alternatively, you can use a clientDC to paint on the panel * at any time. Using this generally does not free you from * catching paint events, since it is possible that e.g. the window * manager throws away your drawing when the window comes to the * background, and expects you will redraw it when the window comes * back (by sending a paint event). */

Source from the content-addressed store, hash-verified

94 * back (by sending a paint event).
95 */
96void wxRtplotPanel::paintNow()
97{
98 // depending on your system you may need to look at double-buffered dcs
99 wxClientDC dc(this);
100 render(dc);
101}
102
103/*
104 * Here we do the actual rendering. I put it in a separate

Callers 3

onVadUpdateFunction · 0.45
onPlotUpdateFunction · 0.45
onResultUpdateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected