A method and device for realizing waveform drawing

The embodiment of the invention discloses a method and device for realizing waveform drawing. The method comprises the steps of firstly obtaining the to-be-drawn waveform data; determining the coordinate of each waveform point in the current waveform segment to be drawn according to the coordinate o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GAO PENG, LI XIAODONG, ZHENG YOUWEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a method and device for realizing waveform drawing. The method comprises the steps of firstly obtaining the to-be-drawn waveform data; determining the coordinate of each waveform point in the current waveform segment to be drawn according to the coordinate of the last waveform point in the waveform segment drawn last time and the waveform data to be drawn;continuously drawing the current to-be-drawn waveform segment in the last drawn waveform image cache by using each waveform point coordinate in the current to-be-drawn waveform segment; meanwhile determining a to-be-erased area according to the coordinate of the last waveform point in the current to-be-drawn waveform segment, when the current to-be-drawn waveform segment is drawn, erasing the to-be-erased area through the coordinate of the to-be-erased area, and reserving a drawing space for next drawing; and finally, generating, caching and displaying a currently drawn waveform image, so that the problem of jamming