plotters-gtk4

Crates.ioplotters-gtk4
lib.rsplotters-gtk4
version0.5.0
sourcesrc
created_at2023-11-02 05:05:29.346404
updated_at2024-08-14 23:45:29.050174
descriptionPlotters GTK4 Backend
homepagehttps://github.com/SeaDve/plotters-gtk4
repositoryhttps://github.com/SeaDve/plotters-gtk4
max_upload_size
id1022278
size25,544
Dave Patrick (SeaDve)

documentation

https://docs.rs/plotters-gtk4

README

Plotters GTK4

github crates.io docs CI

Plotters GTK4 Backend

This is a third-party backend that allows plotters to operate with GTK4 drawing APIs. For more details, please check the following links:

Examples

This crate provides two backend flavors:

Snapshot Backend

This backend is similar to the CairoBackend from the plotters-cairo crate. This is suitable if you are directly drawing to a GtkSnapshot or implementing your own widget or paintable.

Paintable Backend

This is preferred if you simply want to display a plot using GtkPicture or any other APIs that accept a GdkPaintable.

For a real-world example, Spicy, a GTK4 frontend for Ngspice circuit simulator, uses this backend to plot simulation results.

License

Copyright 2023 Dave Patrick Caberto

This software is subject to the terms of the MIT License. If a copy of the MIT License was not distributed with this file, You can obtain one at this site.

Commit count: 33

cargo fmt