summaryrefslogtreecommitdiff
path: root/src/cairo-quartz.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-01-20 08:28:54 +0000
committerCarl Worth <cworth@cworth.org>2005-01-20 08:28:54 +0000
commitb646ecfe08601af5587b0f3e10e0bf2e62e355c6 (patch)
tree5c319aaf6b34055ec80bf84aa9372ab07b8ea966 /src/cairo-quartz.h
parent68d5ba661d5d0ba0a604a3c947f43f629a6a6bb9 (diff)
downloadcairo-b646ecfe08601af5587b0f3e10e0bf2e62e355c6.tar.gz
Track various renamings.
Insert new includes for backend-specific header files. Remove redundant include of cairo-features.h. Rename header-exclusion macro from _CAIRO_H_ to CAIRO_H. Remove platform-specific grubbing for cairo-features.h and pixman.h in odd places. Remove all backend-specific prototypes, (as they are now in their own header files). Remove deprecated Remove printf. Convert to utf-8. Use the proper name for multiple-header exclusion (CAIRO_FEATURES_H). Track rename of FREETYPE_FONT_FEATURE to FT_FONT_FEATURE. Split cairo.h up into cairo.h, cairo-ft.h, cairo-glitz.h, cairo-pdf.h, cairo-png.h, cairo-ps.h, cairo-xcb.h, cairo-xlib.h. Update for rename of cairo_wideint.h to cairo-wideint.h. Rename CAIRO_HAS_FREETYPE_FONT to CAIRO_HAS_FT_FONT, (to match cairo_ft_font functions and cairo-ft.h). Update for public header files now in /cairo.
Diffstat (limited to 'src/cairo-quartz.h')
-rw-r--r--src/cairo-quartz.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/cairo-quartz.h b/src/cairo-quartz.h
new file mode 100644
index 000000000..572356fda
--- /dev/null
+++ b/src/cairo-quartz.h
@@ -0,0 +1,56 @@
+/* cairo - a vector graphics library with display and print output
+ *
+ * Copyright © 2002 University of Southern California
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it either under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation
+ * (the "LGPL") or, at your option, under the terms of the Mozilla
+ * Public License Version 1.1 (the "MPL"). If you do not alter this
+ * notice, a recipient may use your version of this file under either
+ * the MPL or the LGPL.
+ *
+ * You should have received a copy of the LGPL along with this library
+ * in the file COPYING-LGPL-2.1; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the MPL along with this library
+ * in the file COPYING-MPL-1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License
+ * Version 1.1 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
+ * OF ANY KIND, either express or implied. See the LGPL or the MPL for
+ * the specific language governing rights and limitations.
+ *
+ * The Original Code is the cairo graphics library.
+ *
+ * The Initial Developer of the Original Code is University of Southern
+ * California.
+ *
+ * Contributor(s):
+ * Carl D. Worth <cworth@isi.edu>
+ */
+
+#include <cairo.h>
+
+#ifndef CAIRO_QUARTZ_H
+#define CAIRO_QUARTZ_H
+#ifdef CAIRO_HAS_QUARTZ_SURFACE
+
+void
+cairo_set_target_quartz_context( cairo_t *cr,
+ CGContextRef context,
+ int width,
+ int height);
+
+cairo_surface_t *
+cairo_quartz_surface_create ( CGContextRef context,
+ int width,
+ int height);
+
+#endif /* CAIRO_HAS_QUARTZ_SURFACE */
+#endif /* CAIRO_QUARTZ_H */
+