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