diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2022-12-28 14:00:33 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2022-12-28 14:00:33 +1030 |
commit | 3e8b9a7cf4417d862917ec3c50fe8f0f58142e46 (patch) | |
tree | fa155948e8c10f32ec398d13ea460551a50a1ed1 | |
parent | 1ba3e40d9c4a51d9697b6d9ff90a75bb419dd43e (diff) |
Add some missing slim_hidden entries
-rw-r--r-- | src/cairo-matrix.c | 1 | ||||
-rw-r--r-- | src/cairo-pattern.c | 5 | ||||
-rw-r--r-- | src/cairo-png.c | 1 | ||||
-rw-r--r-- | src/cairo-recording-surface.c | 1 | ||||
-rw-r--r-- | src/cairo.c | 17 | ||||
-rw-r--r-- | src/cairoint.h | 101 |
6 files changed, 88 insertions, 38 deletions
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c index f3cf684c9..cb49adcbe 100644 --- a/src/cairo-matrix.c +++ b/src/cairo-matrix.c @@ -304,6 +304,7 @@ cairo_matrix_rotate (cairo_matrix_t *matrix, double radians) cairo_matrix_multiply (matrix, &tmp, matrix); } +slim_hidden_def (cairo_matrix_rotate); /** * cairo_matrix_multiply: diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c index e969f0a17..2cbd52b2c 100644 --- a/src/cairo-pattern.c +++ b/src/cairo-pattern.c @@ -812,6 +812,7 @@ cairo_pattern_create_linear (double x0, double y0, double x1, double y1) return &pattern->base.base; } +slim_hidden_def (cairo_pattern_create_linear); /** * cairo_pattern_create_radial: @@ -866,6 +867,7 @@ cairo_pattern_create_radial (double cx0, double cy0, double radius0, return &pattern->base.base; } +slim_hidden_def (cairo_pattern_create_radial); /* This order is specified in the diagram in the documentation for * cairo_pattern_create_mesh() */ @@ -1093,6 +1095,7 @@ cairo_pattern_get_type (cairo_pattern_t *pattern) { return pattern->type; } +slim_hidden_def (cairo_pattern_get_type); /** * cairo_pattern_status: @@ -2117,6 +2120,7 @@ cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend) pattern->extend = extend; _cairo_pattern_notify_observers (pattern, CAIRO_PATTERN_NOTIFY_EXTEND); } +slim_hidden_def (cairo_pattern_set_extend); /** * cairo_pattern_get_extend: @@ -4197,6 +4201,7 @@ cairo_pattern_get_rgba (cairo_pattern_t *pattern, return CAIRO_STATUS_SUCCESS; } +slim_hidden_def (cairo_pattern_get_rgba); /** * cairo_pattern_get_surface: diff --git a/src/cairo-png.c b/src/cairo-png.c index 4b7c34081..5b9c58447 100644 --- a/src/cairo-png.c +++ b/src/cairo-png.c @@ -987,3 +987,4 @@ cairo_image_surface_create_from_png_stream (cairo_read_func_t read_func, return read_png (&png_closure); } +slim_hidden_def (cairo_image_surface_create_from_png_stream); diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index 065e62c46..d6b6ab337 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -2309,6 +2309,7 @@ DONE: if (height) *height = _cairo_fixed_to_double (bbox.p2.y - bbox.p1.y); } +slim_hidden_def (cairo_recording_surface_ink_extents); cairo_status_t _cairo_recording_surface_get_bbox (cairo_recording_surface_t *surface, diff --git a/src/cairo.c b/src/cairo.c index e9c4bb9a8..7bfc6a143 100644 --- a/src/cairo.c +++ b/src/cairo.c @@ -706,6 +706,7 @@ cairo_push_group (cairo_t *cr) { cairo_push_group_with_content (cr, CAIRO_CONTENT_COLOR_ALPHA); } +slim_hidden_def (cairo_push_group); /** * cairo_push_group_with_content: @@ -813,6 +814,7 @@ cairo_pop_group_to_source (cairo_t *cr) cairo_set_source (cr, group_pattern); cairo_pattern_destroy (group_pattern); } +slim_hidden_def (cairo_pop_group_to_source); /** * cairo_set_operator: @@ -939,6 +941,7 @@ cairo_set_source_rgba (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_set_source_rgba); /** * cairo_set_source_surface: @@ -1052,6 +1055,7 @@ cairo_get_source (cairo_t *cr) return cr->backend->get_source (cr); } +slim_hidden_def (cairo_get_source); /** * cairo_set_tolerance: @@ -1340,6 +1344,7 @@ cairo_set_dash (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_set_dash); /** * cairo_get_dash_count: @@ -1514,6 +1519,7 @@ cairo_rotate (cairo_t *cr, double angle) if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_rotate); /** * cairo_transform: @@ -1903,6 +1909,7 @@ cairo_arc (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_arc); /** * cairo_arc_negative: @@ -1948,6 +1955,7 @@ cairo_arc_negative (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_arc_negative); /* XXX: NYI void @@ -2130,6 +2138,7 @@ cairo_rectangle (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_rectangle); #if 0 /* XXX: NYI */ @@ -2290,6 +2299,7 @@ cairo_paint_with_alpha (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_paint_with_alpha); /** * cairo_mask: @@ -2465,6 +2475,7 @@ cairo_fill (cairo_t *cr) if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_fill); /** * cairo_fill_preserve: @@ -2756,6 +2767,7 @@ cairo_clip (cairo_t *cr) if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_clip); /** * cairo_clip_preserve: @@ -4006,6 +4018,7 @@ cairo_has_current_point (cairo_t *cr) return cr->backend->has_current_point (cr); } +slim_hidden_def (cairo_has_current_point); /** * cairo_get_current_point: @@ -4076,6 +4089,7 @@ cairo_get_fill_rule (cairo_t *cr) return cr->backend->get_fill_rule (cr); } +slim_hidden_def (cairo_set_fill_rule); /** * cairo_get_line_width: @@ -4176,6 +4190,7 @@ cairo_get_miter_limit (cairo_t *cr) return cr->backend->get_miter_limit (cr); } +slim_hidden_def (cairo_set_miter_limit); /** * cairo_get_matrix: @@ -4291,6 +4306,7 @@ cairo_copy_path (cairo_t *cr) return cr->backend->copy_path (cr); } +slim_hidden_def (cairo_copy_path); /** * cairo_copy_path_flat: @@ -4385,6 +4401,7 @@ cairo_append_path (cairo_t *cr, if (unlikely (status)) _cairo_set_error (cr, status); } +slim_hidden_def (cairo_append_path); /** * cairo_status: diff --git a/src/cairoint.h b/src/cairoint.h index 987bf9a58..af0f0fadc 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -1939,11 +1939,18 @@ cairo_private cairo_status_t _cairo_fopen (const char *filename, const char *mode, FILE **file_out); /* Avoid unnecessary PLT entries. */ +slim_hidden_proto (cairo_append_path); +slim_hidden_proto (cairo_arc); +slim_hidden_proto (cairo_arc_negative); +slim_hidden_proto (cairo_clip); slim_hidden_proto (cairo_clip_preserve); slim_hidden_proto (cairo_close_path); +slim_hidden_proto (cairo_copy_path); slim_hidden_proto (cairo_create); slim_hidden_proto (cairo_curve_to); slim_hidden_proto (cairo_destroy); +slim_hidden_proto (cairo_device_to_user); +slim_hidden_proto (cairo_fill); slim_hidden_proto (cairo_fill_preserve); slim_hidden_proto (cairo_font_face_destroy); slim_hidden_proto (cairo_font_face_get_user_data); @@ -1959,14 +1966,16 @@ slim_hidden_proto (cairo_font_options_set_subpixel_order); slim_hidden_proto (cairo_font_options_status); slim_hidden_proto (cairo_format_stride_for_width); slim_hidden_proto (cairo_get_current_point); -slim_hidden_proto (cairo_get_line_width); slim_hidden_proto (cairo_get_hairline); +slim_hidden_proto (cairo_get_line_width); slim_hidden_proto (cairo_get_matrix); slim_hidden_proto (cairo_get_scaled_font); +slim_hidden_proto (cairo_get_source); slim_hidden_proto (cairo_get_target); slim_hidden_proto (cairo_get_tolerance); slim_hidden_proto (cairo_glyph_allocate); slim_hidden_proto (cairo_glyph_free); +slim_hidden_proto (cairo_has_current_point); slim_hidden_proto (cairo_image_surface_create); slim_hidden_proto (cairo_image_surface_create_for_data); slim_hidden_proto (cairo_image_surface_get_data); @@ -1983,35 +1992,70 @@ slim_hidden_proto (cairo_matrix_init_scale); slim_hidden_proto (cairo_matrix_init_translate); slim_hidden_proto (cairo_matrix_invert); slim_hidden_proto (cairo_matrix_multiply); +slim_hidden_proto (cairo_matrix_rotate); slim_hidden_proto (cairo_matrix_scale); slim_hidden_proto (cairo_matrix_transform_distance); slim_hidden_proto (cairo_matrix_transform_point); slim_hidden_proto (cairo_matrix_translate); +slim_hidden_proto (cairo_mesh_pattern_curve_to); +slim_hidden_proto (cairo_mesh_pattern_get_control_point); +slim_hidden_proto (cairo_mesh_pattern_get_corner_color_rgba); +slim_hidden_proto (cairo_mesh_pattern_get_patch_count); +slim_hidden_proto (cairo_mesh_pattern_get_path); +slim_hidden_proto (cairo_mesh_pattern_line_to); +slim_hidden_proto (cairo_mesh_pattern_move_to); +slim_hidden_proto (cairo_mesh_pattern_set_corner_color_rgba); slim_hidden_proto (cairo_move_to); slim_hidden_proto (cairo_new_path); slim_hidden_proto (cairo_paint); +slim_hidden_proto (cairo_paint_with_alpha); +slim_hidden_proto_no_warn (cairo_path_destroy); slim_hidden_proto (cairo_pattern_add_color_stop_rgba); slim_hidden_proto (cairo_pattern_create_for_surface); +slim_hidden_proto (cairo_pattern_create_linear); +slim_hidden_proto (cairo_pattern_create_radial); slim_hidden_proto (cairo_pattern_create_rgb); slim_hidden_proto (cairo_pattern_create_rgba); slim_hidden_proto (cairo_pattern_destroy); slim_hidden_proto (cairo_pattern_get_extend); -slim_hidden_proto (cairo_mesh_pattern_curve_to); -slim_hidden_proto (cairo_mesh_pattern_get_control_point); -slim_hidden_proto (cairo_mesh_pattern_get_corner_color_rgba); -slim_hidden_proto (cairo_mesh_pattern_get_patch_count); -slim_hidden_proto (cairo_mesh_pattern_get_path); -slim_hidden_proto (cairo_mesh_pattern_line_to); -slim_hidden_proto (cairo_mesh_pattern_move_to); -slim_hidden_proto (cairo_mesh_pattern_set_corner_color_rgba); +slim_hidden_proto (cairo_pattern_get_rgba); +slim_hidden_proto (cairo_pattern_get_type); slim_hidden_proto_no_warn (cairo_pattern_reference); +slim_hidden_proto (cairo_pattern_set_extend); slim_hidden_proto (cairo_pattern_set_matrix); slim_hidden_proto (cairo_pop_group); +slim_hidden_proto (cairo_pop_group_to_source); +slim_hidden_proto (cairo_push_group); slim_hidden_proto (cairo_push_group_with_content); -slim_hidden_proto_no_warn (cairo_path_destroy); slim_hidden_proto (cairo_recording_surface_create); +slim_hidden_proto (cairo_recording_surface_ink_extents); +slim_hidden_proto (cairo_rectangle); +slim_hidden_proto (cairo_region_contains_point); +slim_hidden_proto (cairo_region_contains_rectangle); +slim_hidden_proto (cairo_region_copy); +slim_hidden_proto (cairo_region_create); +slim_hidden_proto (cairo_region_create_rectangle); +slim_hidden_proto (cairo_region_create_rectangles); +slim_hidden_proto (cairo_region_destroy); +slim_hidden_proto (cairo_region_equal); +slim_hidden_proto (cairo_region_get_extents); +slim_hidden_proto (cairo_region_get_rectangle); +slim_hidden_proto (cairo_region_intersect); +slim_hidden_proto (cairo_region_intersect_rectangle); +slim_hidden_proto (cairo_region_is_empty); +slim_hidden_proto (cairo_region_num_rectangles); +slim_hidden_proto (cairo_region_reference); +slim_hidden_proto (cairo_region_status); +slim_hidden_proto (cairo_region_subtract); +slim_hidden_proto (cairo_region_subtract_rectangle); +slim_hidden_proto (cairo_region_translate); +slim_hidden_proto (cairo_region_union); +slim_hidden_proto (cairo_region_union_rectangle); +slim_hidden_proto (cairo_region_xor); +slim_hidden_proto (cairo_region_xor_rectangle); slim_hidden_proto (cairo_rel_line_to); slim_hidden_proto (cairo_restore); +slim_hidden_proto (cairo_rotate); slim_hidden_proto (cairo_save); slim_hidden_proto (cairo_scale); slim_hidden_proto (cairo_scaled_font_create); @@ -2021,23 +2065,27 @@ slim_hidden_proto (cairo_scaled_font_get_ctm); slim_hidden_proto (cairo_scaled_font_get_font_face); slim_hidden_proto (cairo_scaled_font_get_font_matrix); slim_hidden_proto (cairo_scaled_font_get_font_options); +slim_hidden_proto (cairo_scaled_font_get_user_data); slim_hidden_proto (cairo_scaled_font_glyph_extents); slim_hidden_proto_no_warn (cairo_scaled_font_reference); -slim_hidden_proto (cairo_scaled_font_status); -slim_hidden_proto (cairo_scaled_font_get_user_data); slim_hidden_proto (cairo_scaled_font_set_user_data); +slim_hidden_proto (cairo_scaled_font_status); slim_hidden_proto (cairo_scaled_font_text_to_glyphs); +slim_hidden_proto (cairo_set_dash); +slim_hidden_proto (cairo_set_fill_rule); slim_hidden_proto (cairo_set_font_matrix); slim_hidden_proto (cairo_set_font_options); slim_hidden_proto (cairo_set_font_size); +slim_hidden_proto (cairo_set_hairline); slim_hidden_proto (cairo_set_line_cap); slim_hidden_proto (cairo_set_line_join); slim_hidden_proto (cairo_set_line_width); -slim_hidden_proto (cairo_set_hairline); slim_hidden_proto (cairo_set_matrix); +slim_hidden_proto (cairo_set_miter_limit); slim_hidden_proto (cairo_set_operator); slim_hidden_proto (cairo_set_source); slim_hidden_proto (cairo_set_source_rgb); +slim_hidden_proto (cairo_set_source_rgba); slim_hidden_proto (cairo_set_source_surface); slim_hidden_proto (cairo_set_tolerance); slim_hidden_proto (cairo_status); @@ -2068,43 +2116,20 @@ slim_hidden_proto (cairo_text_cluster_free); slim_hidden_proto (cairo_toy_font_face_create); slim_hidden_proto (cairo_toy_font_face_get_slant); slim_hidden_proto (cairo_toy_font_face_get_weight); -slim_hidden_proto (cairo_translate); slim_hidden_proto (cairo_transform); +slim_hidden_proto (cairo_translate); slim_hidden_proto (cairo_user_font_face_create); slim_hidden_proto (cairo_user_font_face_set_init_func); slim_hidden_proto (cairo_user_font_face_set_render_color_glyph_func); slim_hidden_proto (cairo_user_font_face_set_render_glyph_func); slim_hidden_proto (cairo_user_font_face_set_unicode_to_glyph_func); -slim_hidden_proto (cairo_device_to_user); slim_hidden_proto (cairo_user_to_device); slim_hidden_proto (cairo_user_to_device_distance); slim_hidden_proto (cairo_version_string); -slim_hidden_proto (cairo_region_create); -slim_hidden_proto (cairo_region_create_rectangle); -slim_hidden_proto (cairo_region_create_rectangles); -slim_hidden_proto (cairo_region_copy); -slim_hidden_proto (cairo_region_reference); -slim_hidden_proto (cairo_region_destroy); -slim_hidden_proto (cairo_region_equal); -slim_hidden_proto (cairo_region_status); -slim_hidden_proto (cairo_region_get_extents); -slim_hidden_proto (cairo_region_num_rectangles); -slim_hidden_proto (cairo_region_get_rectangle); -slim_hidden_proto (cairo_region_is_empty); -slim_hidden_proto (cairo_region_contains_rectangle); -slim_hidden_proto (cairo_region_contains_point); -slim_hidden_proto (cairo_region_translate); -slim_hidden_proto (cairo_region_subtract); -slim_hidden_proto (cairo_region_subtract_rectangle); -slim_hidden_proto (cairo_region_intersect); -slim_hidden_proto (cairo_region_intersect_rectangle); -slim_hidden_proto (cairo_region_union); -slim_hidden_proto (cairo_region_union_rectangle); -slim_hidden_proto (cairo_region_xor); -slim_hidden_proto (cairo_region_xor_rectangle); #if CAIRO_HAS_PNG_FUNCTIONS +slim_hidden_proto (cairo_image_surface_create_from_png_stream); slim_hidden_proto (cairo_surface_write_to_png_stream); #endif |