cairo/doc/reference/xml
Owen Taylor 97424a3c2a Change cairo_font_t to refer to a font scaled to a particular output device 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-21 14:33:47 +00:00
..
cairo_arc.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_arc_negative.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_clip.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_close_path.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_copy.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_create.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_current_alpha.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_fill_rule.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_current_font.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_current_font_extents.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_current_line_cap.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_current_line_join.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_line_width.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_matrix.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_miter_limit.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_operator.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_current_point.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_rgb_color.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_target_surface.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_current_tolerance.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_curve_to.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_default_matrix.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_destroy.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_fill.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_fill_rule_t.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_font_glyph_extents.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_font_t.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_format_t.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_ft_font_create.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_ft_font_create_for_ft_face.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_ft_font_get_pattern.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_ft_font_lock_face.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_ft_font_unlock_face.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_glyph_t.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_hit.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_identity_matrix.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_in_fill.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_in_stroke.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_inverse_transform_distance.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_inverse_transform_point.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_line_cap_t.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_line_to.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_copy.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_create.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_destroy.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_invert.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_multiply.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_rotate.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_scale.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_set_identity.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_t.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_matrix_transform_distance.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_transform_point.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_matrix_translate.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_move_to.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_new_path.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_operator_t.xml added and updated documentation concerning text handling 2004-01-23 14:13:20 +00:00
cairo_pop_group.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_push_group.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_rectangle.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_reference.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_rel_curve_to.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_rel_line_to.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_rel_move_to.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_restore.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_rotate.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_save.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
cairo_scale.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_scale_font.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_select_font.xml added and updated documentation concerning text handling 2004-01-23 14:13:20 +00:00
cairo_set_alpha.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_dash.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_set_fill_rule.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_font.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_set_line_cap.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_line_join.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_set_line_width.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_miter_limit.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_set_operator.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_pattern.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_rgb_color.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_set_target_drawable.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_set_target_image.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_set_target_png.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_set_target_ps.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_set_target_surface.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_set_target_xcb.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_set_tolerance.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_show_glyphs.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_show_text.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_status.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_status_string.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_stroke.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_stroke_path.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_clip_restore.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_destroy.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_get_matrix.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_reference.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_set_filter.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_set_matrix.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_set_repeat.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_surface_t.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_t.xml added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
cairo_text_extents.xml added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
cairo_text_extents_t.xml Change cairo_font_t to refer to a font scaled to a particular output device resolution. 2005-01-21 14:33:47 +00:00
cairo_transform_distance.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_transform_font.xml added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
cairo_transform_point.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
cairo_translate.xml updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
skeleton.xml started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00