#vex #graphics #v5

vexide-graphics

Graphics driver implementations for vexide

8 releases

0.1.6-rc.1 Nov 11, 2024
0.1.5 Oct 16, 2024
0.1.5-rc.1 Nov 11, 2024
0.1.2 Jul 16, 2024
0.1.1 May 17, 2024

#254 in Robotics

Download history 46/week @ 2024-07-29 14/week @ 2024-09-16 26/week @ 2024-09-23 137/week @ 2024-09-30 229/week @ 2024-10-07 153/week @ 2024-10-14 14/week @ 2024-10-21 214/week @ 2024-11-11

234 downloads per month
Used in vexide

MIT and maybe GPL-3.0-only…

590KB
7.5K SLoC

vexide-graphics is a collection of V5 Brain display driver implementations for embedded rendering libraries. This crate is part of the vexide ecosystem.

Features

  • embedded-graphics: Enables support for the embedded-graphics crate.
  • slint: Enables support for the Slint graphics library.

Usage

Slint

To use Slint, call initialize_slint_platform and then continue using Slint as normal. If you get errors when building your slint files, try enabling the EmbedResourcesKind slint compile option.

Embedded-graphics

To use embedded-graphics, create a new BrainDisplay using its new function and start using it as a draw target.

Dependencies

~1–19MB
~288K SLoC