[cairo-commit] src/cairo-gstate-private.h src/cairoint.h src/cairo-recording-surface-private.h src/cairo-scaled-font-subsets-private.h

Andrea Canciani ranma42 at kemper.freedesktop.org
Sat Mar 19 07:27:51 PDT 2011


 src/cairo-gstate-private.h              |    8 --------
 src/cairo-recording-surface-private.h   |    5 -----
 src/cairo-scaled-font-subsets-private.h |   17 -----------------
 src/cairoint.h                          |    7 -------
 4 files changed, 37 deletions(-)

New commits:
commit 058227004e2eabc99ccfbebe3fcf86b0a13b96b4
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Thu Jan 20 15:45:04 2011 +0100

    Remove unused function declarations
    
    These functions have no implementation and are never called.

diff --git a/src/cairo-gstate-private.h b/src/cairo-gstate-private.h
index 293953b..f1e03b3 100644
--- a/src/cairo-gstate-private.h
+++ b/src/cairo-gstate-private.h
@@ -289,14 +289,6 @@ cairo_private cairo_rectangle_list_t*
 _cairo_gstate_copy_clip_rectangle_list (cairo_gstate_t *gstate);
 
 cairo_private cairo_status_t
-_cairo_gstate_show_surface (cairo_gstate_t	*gstate,
-			    cairo_surface_t	*surface,
-			    double		 x,
-			    double		 y,
-			    double		width,
-			    double		height);
-
-cairo_private cairo_status_t
 _cairo_gstate_select_font_face (cairo_gstate_t *gstate,
 				const char *family,
 				cairo_font_slant_t slant,
diff --git a/src/cairo-recording-surface-private.h b/src/cairo-recording-surface-private.h
index 4ec5f88..d08b709 100644
--- a/src/cairo-recording-surface-private.h
+++ b/src/cairo-recording-surface-private.h
@@ -146,11 +146,6 @@ cairo_private cairo_status_t
 _cairo_recording_surface_replay (cairo_surface_t *surface,
 				 cairo_surface_t *target);
 
-
-cairo_private cairo_status_t
-_cairo_recording_surface_replay_analyze_recording_pattern (cairo_surface_t *surface,
-							   cairo_surface_t *target);
-
 cairo_private cairo_status_t
 _cairo_recording_surface_replay_and_create_regions (cairo_surface_t *surface,
 						    cairo_surface_t *target);
diff --git a/src/cairo-scaled-font-subsets-private.h b/src/cairo-scaled-font-subsets-private.h
index 5277394..1f952c4 100644
--- a/src/cairo-scaled-font-subsets-private.h
+++ b/src/cairo-scaled-font-subsets-private.h
@@ -650,23 +650,6 @@ cairo_private void
 _cairo_type2_charstrings_fini (cairo_type2_charstrings_t *charstrings);
 
 /**
- * _cairo_truetype_create_glyph_to_unicode_map:
- * @font_subset: the #cairo_scaled_font_subset_t to initialize from
- *
- * If possible (depending on the format of the underlying
- * #cairo_scaled_font_t and the font backend in use) assign
- * the unicode character of each glyph in font_subset to
- * fontsubset->to_unicode.
- *
- * Return value: %CAIRO_STATUS_SUCCESS if successful,
- * %CAIRO_INT_STATUS_UNSUPPORTED if the unicode encoding of
- * the glyphs is not available.  Possible  errors include
- * %CAIRO_STATUS_NO_MEMORY.
- **/
-cairo_private cairo_int_status_t
-_cairo_truetype_create_glyph_to_unicode_map (cairo_scaled_font_subset_t	*font_subset);
-
-/**
  * _cairo_truetype_index_to_ucs4:
  * @scaled_font: the #cairo_scaled_font_t
  * @index: the glyph index
diff --git a/src/cairoint.h b/src/cairoint.h
index afd7de2..3e338ff 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -1965,13 +1965,6 @@ _cairo_pen_fini (cairo_pen_t *pen);
 cairo_private cairo_status_t
 _cairo_pen_add_points (cairo_pen_t *pen, cairo_point_t *point, int num_points);
 
-cairo_private cairo_status_t
-_cairo_pen_add_points_for_slopes (cairo_pen_t *pen,
-				  cairo_point_t *a,
-				  cairo_point_t *b,
-				  cairo_point_t *c,
-				  cairo_point_t *d);
-
 cairo_private int
 _cairo_pen_find_active_cw_vertex_index (const cairo_pen_t *pen,
 					const cairo_slope_t *slope);


More information about the cairo-commit mailing list