Home > Back-end >  In c builder I use opengl implementation is similar to the function of the oscilloscope
In c builder I use opengl implementation is similar to the function of the oscilloscope

Time:09-18

Because is real-time display, waveform before sometimes I want to look back, I want to on time axis can have a similar to the progress bar, you can back, how to implement this function

CodePudding user response:

Draw waveform does not need to opengl, you can use the class library,
You can use a TImage control, the width is set wide enough to put in a TScrollBox control (scrollable), while drawing control ScrollBox scroll position, it feels more consumption of resources,
Data can also be preserved, look back, the old data to redraw the Image control, data can be additional time field with a precise control,

CodePudding user response:

The original poster in c + + builder and opengl this scheme for high performance requirements?
  • Related