core_graphics2/
lib.rs

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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]

#[macro_use]
extern crate bitflags;
extern crate block;
#[macro_use]
extern crate cfg_if;
#[macro_use]
extern crate core_foundation;
#[cfg(all(target_os = "macos", feature = "dispatch2"))]
extern crate dispatch2;
#[cfg(all(target_os = "macos", feature = "io-surface"))]
extern crate io_surface;
extern crate libc;
#[cfg(all(target_os = "macos", feature = "metal"))]
extern crate metal;
#[cfg(feature = "objc")]
extern crate objc2;

#[cfg_attr(feature = "link", link(name = "CoreGraphics", kind = "framework"))]
extern "C" {}

pub mod affine_transform;
pub mod base;
pub mod bitmap_context;
pub mod color;
pub mod color_conversion_info;
pub mod color_space;
pub mod context;
pub mod data_provider;
cfg_if!(
    if #[cfg(all(target_os = "macos", feature = "display"))] {
        pub mod direct_display;
        pub mod display;
        pub mod display_configuration;
        pub mod display_fade;
    }
);
#[cfg(all(target_os = "macos", feature = "display", feature = "metal"))]
pub mod direct_display_metal;
#[cfg(all(target_os = "macos", feature = "display-stream", feature = "objc"))]
pub mod display_stream;
pub mod error;
cfg_if!(
    if #[cfg(all(target_os = "macos", feature = "event"))] {
        pub mod event;
        pub mod event_source;
        pub mod event_types;
    }
);
pub mod font;
pub mod function;
pub mod geometry;
pub mod gradient;
pub mod image;
pub mod layer;
pub mod path;
pub mod pattern;
#[cfg(all(target_os = "macos", any(feature = "display", feature = "event")))]
pub mod remote_operation;
pub mod shading;
cfg_if!(
    if #[cfg(all(target_os = "macos", feature = "window"))] {
        pub mod window;
        pub mod window_level;
    }
);