Re: Isn't there a way to pass multiple points to Cairo? (sorry for duplicate)

Andrej Mitrovic <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAJ85NXAwrC0k1q0za60oFxwZd7mfOeWzFvS9x75oqavb-2HCGg@mail.gmail.com>
Yeah this was completely my mistake, this is not how waveforms should be drawn.

The stroking is what took most of the time, not the function calls.
The trick is apparently to use an average (or absolute) min and max of
several samples and then draw a vertical line between the min and max.
And when the waveform is zoomed in the lines can be drawn from one
point to another without them overlapping each other, which speeds up
drawing again.
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.