Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f7cdccdde |
@@ -14,6 +14,12 @@ built on top of it.
|
|||||||
| Qt6 | `plot::qt6` | `adapters/qt6/` |
|
| Qt6 | `plot::qt6` | `adapters/qt6/` |
|
||||||
| GTK4 | `plot::gtk4` | `adapters/gtk4/` |
|
| GTK4 | `plot::gtk4` | `adapters/gtk4/` |
|
||||||
|
|
||||||
|
The GTK4 adapter exists for, and is exercised by, a real consumer: **udpscope**, an oscilloscope-style viewer
|
||||||
|
for a UDPStreamer source, at <https://git.ferrarinas.it/martino/udpscope>. It embeds the core through
|
||||||
|
`plot::gtk4`, and the library's interaction layer — cursors, measurement marks, the shading of a span a host
|
||||||
|
has declared invalid — has been shaped by what that host needed. The notes in `src/`, `docs/` and `tests/`
|
||||||
|
that say "in udpscope's case" are those places.
|
||||||
|
|
||||||
The visible x range is mapped onto sample indices through the series' own x
|
The visible x range is mapped onto sample indices through the series' own x
|
||||||
(`Series::neighbours()`, a binary search over the real stamps), never through the
|
(`Series::neighbours()`, a binary search over the real stamps), never through the
|
||||||
`(x - x0()) / dx()` grid: `dx()` is a *nominal* spacing, and a series whose x is a streamed
|
`(x - x0()) / dx()` grid: `dx()` is a *nominal* spacing, and a series whose x is a streamed
|
||||||
|
|||||||
Reference in new issue
Block a user