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
// Copyright (c) 2022 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by Apache-2.0 License that can be found
// in the LICENSE file.

#![deny(
    warnings,
    clippy::all,
    clippy::cargo,
    clippy::nursery,
    clippy::pedantic
)]

pub mod painter;
pub mod path;

use jiao::platforms::Features;

pub use self::painter::Painter;
pub use self::path::Path;

pub const FEATURES: &Features = &Features {
    filter: true,
    ssr: true,
    /// Currently user input is not supported, as it's not so easy to override
    /// methods in QWidget in rust.
    input_event: false,
    cursor: false,
};