1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Built-in brushes, bundled into the binary via `include_str!`.
//!
//! All bundled brushes come from [`mypaint/mypaint-brushes`] (CC0 1.0
//! Universal). Authors and the upstream paths are listed in
//! [`builtin/CREDITS.md`]. The brushes are exposed to the renderer
//! through [`BrushBankLoader::new`] — every `BrushBankLoader` starts
//! pre-populated with the names below, so a style can reference them
//! without the host having to ship `.myb` files of its own.
//!
//! [`mypaint/mypaint-brushes`]: https://github.com/mypaint/mypaint-brushes
//! [`builtin/CREDITS.md`]: https://github.com/reearth/ezu/blob/main/crates/ezu-paint/src/builtin/CREDITS.md
//! [`BrushBankLoader::new`]: crate::host::BrushBankLoader::new
/// `(name, myb-json)` pairs for every brush bundled with `ezu-paint`.
///
/// Names match the `src` strings used by the reference styles in
/// `crates/ezu/examples/styles/`.
pub const BUILTIN_BRUSHES: & = &;