Debian Codegraph @

third_party/rust/core-graphics/src/lib.rs

raw
1 // Copyright 2013 The Servo Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution.
3 //
4 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7 // option. This file may not be copied, modified, or distributed
8 // except according to those terms.
9
10 extern crate libc;
11
12 #[macro_use]
13 extern crate core_foundation;
14
15 #[macro_use]
16 extern crate bitflags;
17
18 #[macro_use]
19 extern crate foreign_types;
20
21 extern crate core_graphics_types;
22
23 pub mod base;
24 pub mod color;
25 pub mod color_space;
26 pub mod context;
27 pub mod data_provider;
28 #[cfg(target_os = "macos")]
29 pub mod display;
30 #[cfg(target_os = "macos")]
31 pub mod event;
32 #[cfg(target_os = "macos")]
33 pub mod event_source;
34 pub mod font;
35 pub mod geometry;
36 pub mod gradient;
37 #[cfg(target_os = "macos")]
38 pub mod window;
39 #[cfg(target_os = "macos")]
40 pub mod private;
41 pub mod image;
42 pub mod path;
43 pub mod sys;
44 #[cfg(target_os = "macos")]
45 pub mod access;