summaryrefslogtreecommitdiff
path: root/src/cairo-quartz.h
AgeCommit message (Collapse)AuthorFilesLines
2009-06-11Fix compilation on OS X when compiling for 64 bitJeff Muizelaar1-0/+2
OS X doesn't support ATSUI in 64 bit so don't include the cairo ATSUI API in that case.
2008-09-20Make sure feature macros are checked using #if, not #ifdef; add a test for itBehdad Esfahbod1-2/+2
This is more robust to cases where people want to assign 0 to those variables. (win32/alternate build systems, etc)
2008-06-23Use #include "cairo-*." instead of #include <cairo-*.h>Behdad Esfahbod1-1/+1
The rule is simple: <x.h> for system / other project includes, "x.h" for local includes.
2008-04-01[cgfont] Add start of CGFont font backend to replace ATSUIVladimir Vukicevic1-1/+4
2008-03-17[quartz] Rename ATSUI font to Quartz fontVladimir Vukicevic1-1/+14
2008-03-07[quartz] split out (experimental) quartz-image into separate fileVladimir Vukicevic1-6/+0
2008-02-25[quartz] Add quartz-image-surface typeVladimir Vukicevic1-0/+6
2007-02-20[quartz] Remove (disabled) support for rendering via AGL/CGGLVladimir Vukicevic1-11/+0
2007-02-20[quartz] Rename public function parameter from surf -> surfaceVladimir Vukicevic1-1/+1
2007-02-20[quartz] rename NQUARTZ -> QUARTZ in definesVladimir Vukicevic1-5/+5
2007-02-20[quartz] Rename nquartz to quartzVladimir Vukicevic1-11/+28
2006-06-06Remove initial, final, and duplicate blank lines.Carl Worth1-1/+0
This patch was produced by running git-stripspace on all *.[ch] files within cairo. Note that this script would have also created all the changes from the previous commits to remove trailing whitespace.
2006-04-11Make the API more like Vlad's new API.#Anders Carlsson1-2/+2
2005-11-14If the surface is flipped, flip the CG coordinate system before drawing the ↵Anders Carlsson1-0/+1
images. (cairo_quartz_surface_create): Add "flipped" argument to cairo_quartz_surface_create.
2005-09-07Give cairo_public an empty definition by default.Carl Worth1-1/+1
Add new cairo_public macro before every public function call prototype.
2005-07-21Whitespace fixes.Carl Worth1-3/+3
2005-05-14Add an #error if cairo-foo.h is included when cairo was compiled without ↵Carl Worth1-0/+3
support for the foo backend.
2005-05-06Change definitions of everything in cairo-features.h to prefer #if over #ifdef.Carl Worth1-1/+1
Track #ifdef -> #if changes. Add support to automatically change all #ifdef CAIRO_HAS to #if CAIRO_HAS.
2005-05-06Remove cairo_set_target_surface and all other backend-specific ↵Carl Worth1-6/+0
cairo_set_target functions. Require a cairo_surface_t* to call cairo_create. Port to use new cairo_create interface. Rewrite all tests that were using cairo_set_target_surface to instead create a temporary cairo_t, (eventually to be replaced with cairo_begin_group).
2005-02-22Switch from broken cworth@isi.edu address to canonical cworth@cworth.org ↵Carl Worth1-1/+1
address.
2005-01-21Change cairo_font_t to refer to a font scaled to a particular output device ↵Owen Taylor1-2/+7
resolution. src/cairoint.h src/cairo_font.c src/cairo_ft_font.c src/cairo_xlib_surface.c src/cairo_pdf_surface.c src/cairo_gstate.c src/cairo.c: Switch many internal methods from handling cairo_unscaled_font_t and cairo_font_scale_t pairs to handling cairo_font_t. src/cairo-ft-private.h src/cairo_ft_fontc: Add some internal interfaces for use by the FreeType backend. Clear the gstate's current font when the transform or target surface changes. src/cairo.h src/cairo_ft_font.c: Rename cairo_ft_font_pattern to cairo_ft_font_get_pattern(). src/cairo.h src/cairo_ft_font.c: Make cairo_ft_font_create() and cairo_ft_font_create_for_ft_face() take a font scale; make the latter take load_flags for FT_Load_Glyph() as well. Change cairo_ft_font_face() to Xft-style cairo_ft_font_lock_face, cairo_ft_font_unlock_face. Remove the name/slant/weight=>unscaled font cache, it didn't work with the new cairo_font_t setup. If it turns out to be needed, it can be added back in some other form. src/cairoint.h src/cairo_font.c: Add a 'flags' field to cairo_glyph_cache_key_t, we use it for load flags with freetype backend. Switch the caching to be from resolved fontconfig pattern => file; keep only a fixed number of FT_Face objects open at once, similar to FreeType. src/cairo_gstate.c src/cairoint.h: Add public cairo_font_glyph_extents, use it to implement _cairo_gstate_glyph_extents(). Add refcounting for glyph cache elements; there was an bug where elements got ejected from the cache and freed before they could be used. src/cairoint.h src/cairo_cache.c (_cairo_cache_random_entry()) New function to return a random entry in the cache matching a predicate; reuse the internals for the previous _random_live_entry(). src/cairoint.h src/cairo_cache.c (_cairo_cache_lookup()): Add an optional created_entry return value. src/cairo_ft_font.c src/cairo_xlib_surface.c: Adapt to _cairo_cache_lookup() change. Support max_memory == 0 to indicate an unbounded cache. src/cairoint.h src/cairo_cache.c (_cairo_cache_remove()): Add a function to manually remove entries from the cache. Update for changes, document cairo_matrix_t, cairo_glyph_t, etc. src/cairo.h src/cairo-atsui.h src/cairo-ft.h src/cairo-glitz.h src/cairo-pdf.h src/cairo-png.h src/cairo-ps.h src/cairo-quartz.h src/cairo-xcb.h src/cairo-xlib.h: Add CAIRO_BEGIN/END_DECLS for extern "C", use it on all public headers. Move header guards outermost. Fix encoding.
2005-01-20Created new public header cairo-atsui.h.Carl Worth1-0/+2
Build fixes for Quartz backend courtesy of Geoff Norton <gnorton@customerdna.com>: Fix check for atsui font backend. Add conditional compilation for cairo_atsui_font.c and cairo_ft_font.c. Add missing include of cairo-quartz.h. Add include of Carbon/Carbon.h. Advertise availability of Quartz surface. Install cairo-quartz.h, and conditionally compile cairo_quartz_surface.c. Add autofoo checks to detect quartz backend.
2005-01-20Track various renamings.Carl Worth1-0/+56
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.