1 // Take a look at the license at the top of the repository in the LICENSE file.
2 
3 pub const MIME_TYPE_JPEG: &str = "image/jpeg";
4 pub const MIME_TYPE_PNG: &str = "image/png";
5 pub const MIME_TYPE_JP2: &str = "image/jp2";
6 pub const MIME_TYPE_URI: &str = "text/x-uri";
7 pub const MIME_TYPE_UNIQUE_ID: &str = "application/x-cairo.uuid";
8 pub const MIME_TYPE_JBIG2: &str = "application/x-cairo.jbig2";
9 pub const MIME_TYPE_JBIG2_GLOBAL: &str = "application/x-cairo.jbig2-global";
10 pub const MIME_TYPE_JBIG2_GLOBAL_ID: &str = "application/x-cairo.jbig2-global-id";
11 #[cfg(any(feature = "v1_16", feature = "dox"))]
12 pub const MIME_TYPE_CCITT_FAX: &str = "image/g3fax";
13 #[cfg(any(feature = "v1_16", feature = "dox"))]
14 pub const MIME_TYPE_CCITT_FAX_PARAMS: &str = "application/x-cairo.ccitt.params";
15 #[cfg(any(feature = "v1_16", feature = "dox"))]
16 pub const MIME_TYPE_EPS: &str = "application/postscript";
17 #[cfg(any(feature = "v1_16", feature = "dox"))]
18 pub const MIME_TYPE_EPS_PARAMS: &str = "application/x-cairo.eps.params";
19 
20 #[cfg(any(feature = "v1_16", feature = "dox"))]
21 pub const PDF_OUTLINE_ROOT: i32 = 0;
22 
23 #[cfg(any(feature = "v1_16", feature = "dox"))]
24 pub const CAIRO_TAG_DEST: &str = "cairo.dest";
25 #[cfg(any(feature = "v1_16", feature = "dox"))]
26 pub const CAIRO_TAG_LINK: &str = "Link";
27