Mark non-exported functions with G_GNUC_INTERNAL

And regenerate librsvg.def.
parent f31e5df5
......@@ -92,7 +92,7 @@ librsvg_@RSVG_API_MAJOR_VERSION@_la_LDFLAGS = \
-version-info @RSVG_LT_VERSION_INFO@ \
-export-dynamic \
-no-undefined \
-export-symbols $(srcdir)/librsvg.def \
-export-symbols-regex "^rsvg_.*" \
$(AM_LDFLAGS)
librsvg_@RSVG_API_MAJOR_VERSION@_la_LIBADD = \
......
rsvg_error_quark
rsvg_error_get_type
rsvg_init
rsvg_term
rsvg_cairo_to_pixbuf
rsvg_cleanup
rsvg_set_default_dpi
rsvg_set_default_dpi_x_y
rsvg_handle_set_dpi
rsvg_handle_set_dpi_x_y
rsvg_handle_new
rsvg_handle_write
rsvg_css_parse_color
rsvg_defs_lookup
rsvg_error_get_type
rsvg_error_quark
rsvg_handle_close
rsvg_handle_get_pixbuf
rsvg_handle_get_pixbuf_sub
rsvg_handle_flags_get_type
rsvg_handle_free
rsvg_handle_get_base_uri
rsvg_handle_set_base_uri
rsvg_handle_set_base_gfile
rsvg_handle_get_desc
rsvg_handle_get_dimensions
rsvg_handle_get_dimensions_sub
rsvg_handle_get_metadata
rsvg_handle_get_pixbuf
rsvg_handle_get_pixbuf_sub
rsvg_handle_get_position_sub
rsvg_handle_get_title
rsvg_handle_get_desc
rsvg_handle_get_metadata
rsvg_handle_get_type
rsvg_handle_has_sub
rsvg_handle_new
rsvg_handle_new_from_data
rsvg_handle_new_from_file
rsvg_handle_new_from_gfile_sync
rsvg_handle_new_from_stream_sync
rsvg_handle_new_with_flags
rsvg_handle_read_stream_sync
rsvg_handle_render_cairo
rsvg_handle_render_cairo_sub
rsvg_handle_set_base_gfile
rsvg_handle_set_base_uri
rsvg_handle_set_dpi
rsvg_handle_set_dpi_x_y
rsvg_handle_set_size_callback
rsvg_handle_write
rsvg_init
rsvg_pixbuf_from_data_with_size_data
rsvg_pixbuf_from_file
rsvg_pixbuf_from_file_at_zoom
rsvg_pixbuf_from_file_at_size
rsvg_pixbuf_from_file_at_max_size
rsvg_pixbuf_from_file_at_size
rsvg_pixbuf_from_file_at_zoom
rsvg_pixbuf_from_file_at_zoom_with_max
rsvg_handle_render_cairo
rsvg_handle_render_cairo_sub
rsvg_handle_get_type
rsvg_defs_lookup
rsvg_pixbuf_from_data_with_size_data
rsvg_css_parse_color
rsvg_cairo_to_pixbuf
rsvg_handle_read_stream_sync
rsvg_handle_new_from_gfile_sync
rsvg_handle_new_from_stream_sync
rsvg_error_get_type
rsvg_handle_flags_get_type
rsvg_set_default_dpi
rsvg_set_default_dpi_x_y
rsvg_term
......@@ -59,7 +59,10 @@
*/
#define RSVG_DEFAULT_DPI_X 90.0
#define RSVG_DEFAULT_DPI_Y 90.0
G_GNUC_INTERNAL
double rsvg_internal_dpi_x = RSVG_DEFAULT_DPI_X;
G_GNUC_INTERNAL
double rsvg_internal_dpi_y = RSVG_DEFAULT_DPI_Y;
static xmlSAXHandler rsvgSAXHandlerStruct;
......
......@@ -34,6 +34,7 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
void rsvg_cairo_clip (RsvgDrawingCtx * ctx, RsvgClipPath * clip, RsvgBbox * bbox);
G_END_DECLS
......
......@@ -32,18 +32,25 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
PangoContext *rsvg_cairo_create_pango_context (RsvgDrawingCtx *ctx);
G_GNUC_INTERNAL
void rsvg_cairo_render_pango_layout (RsvgDrawingCtx *ctx, PangoLayout *layout,
double x, double y);
G_GNUC_INTERNAL
void rsvg_cairo_render_path (RsvgDrawingCtx *ctx,
const cairo_path_t *path);
G_GNUC_INTERNAL
void rsvg_cairo_render_surface (RsvgDrawingCtx *ctx, cairo_surface_t *surface,
double x, double y, double w, double h);
G_GNUC_INTERNAL
void rsvg_cairo_push_discrete_layer (RsvgDrawingCtx *ctx);
G_GNUC_INTERNAL
void rsvg_cairo_pop_discrete_layer (RsvgDrawingCtx *ctx);
G_GNUC_INTERNAL
void rsvg_cairo_add_clipping_rect (RsvgDrawingCtx *ctx,
double x, double y, double width, double height);
G_GNUC_INTERNAL
cairo_surface_t*rsvg_cairo_get_surface_of_node (RsvgDrawingCtx *ctx, RsvgNode *drawable,
double width, double height);
......
......@@ -52,8 +52,11 @@ struct _RsvgCairoRender {
#define RSVG_CAIRO_RENDER(render) (_RSVG_RENDER_CIC ((render), RSVG_RENDER_TYPE_CAIRO, RsvgCairoRender))
G_GNUC_INTERNAL
RsvgCairoRender *rsvg_cairo_render_new (cairo_t * cr, double width, double height);
G_GNUC_INTERNAL
void rsvg_cairo_render_rsvg_handle (cairo_t * cr, RsvgHandle * handle);
G_GNUC_INTERNAL
RsvgDrawingCtx *rsvg_cairo_new_drawing_ctx (cairo_t * cr, RsvgHandle * handle);
G_END_DECLS
......
......@@ -44,27 +44,39 @@ G_BEGIN_DECLS
#define RSVG_ASPECT_RATIO_XMAX_YMAX (1 << 8)
#define RSVG_ASPECT_RATIO_SLICE (1 << 31)
G_GNUC_INTERNAL
int rsvg_css_parse_aspect_ratio (const char *str);
/* for some reason this one's public... */
guint32 rsvg_css_parse_color (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
guint rsvg_css_parse_opacity (const char *str);
G_GNUC_INTERNAL
double rsvg_css_parse_angle (const char *str);
G_GNUC_INTERNAL
double rsvg_css_parse_frequency (const char *str);
G_GNUC_INTERNAL
double rsvg_css_parse_time (const char *str);
G_GNUC_INTERNAL
PangoStyle rsvg_css_parse_font_style (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
PangoVariant rsvg_css_parse_font_variant (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
PangoWeight rsvg_css_parse_font_weight (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
PangoStretch rsvg_css_parse_font_stretch (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
const char *rsvg_css_parse_font_family (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
RsvgViewBox rsvg_css_parse_vbox (const char *vbox);
G_GNUC_INTERNAL
void rsvg_css_parse_number_optional_number (const char *str, double *x, double *y);
G_GNUC_INTERNAL
gchar **rsvg_css_parse_list (const char *in_str, guint * out_list_len);
G_GNUC_INTERNAL
gdouble *rsvg_css_parse_number_list (const char *in_str, guint * out_list_len);
G_GNUC_INTERNAL
gboolean rsvg_css_parse_overflow (const char *str, gboolean * inherit);
G_GNUC_INTERNAL
char **rsvg_css_parse_xml_attribute_string (const char *attribute_string);
G_END_DECLS
......
......@@ -33,14 +33,23 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
RsvgDefs *rsvg_defs_new (void);
/* for some reason this one's public... */
RsvgNode *rsvg_defs_lookup (const RsvgDefs * defs, const char *name);
G_GNUC_INTERNAL
void rsvg_defs_set (RsvgDefs * defs, const char *name, RsvgNode * val);
G_GNUC_INTERNAL
void rsvg_defs_free (RsvgDefs * defs);
G_GNUC_INTERNAL
void rsvg_defs_set_base_uri (RsvgDefs * self, gchar * base_uri);
G_GNUC_INTERNAL
void rsvg_defs_add_resolver (RsvgDefs * defs, RsvgNode ** tochange, const gchar * name);
G_GNUC_INTERNAL
void rsvg_defs_resolve_all (RsvgDefs * defs);
G_GNUC_INTERNAL
void rsvg_defs_register_name (RsvgDefs * defs, const char *name, RsvgNode * val);
G_GNUC_INTERNAL
void rsvg_defs_register_memory (RsvgDefs * defs, RsvgNode * val);
G_END_DECLS
......
......@@ -44,33 +44,54 @@ struct _RsvgFilter {
RsvgFilterUnits primitiveunits;
};
G_GNUC_INTERNAL
cairo_surface_t *rsvg_filter_render (RsvgFilter *self,
cairo_surface_t *source,
RsvgDrawingCtx *context,
RsvgBbox *dimentions,
char *channelmap);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter (void);
G_GNUC_INTERNAL
RsvgFilter *rsvg_filter_parse (const RsvgDefs * defs, const char *str);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_blend (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_convolve_matrix (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_gaussian_blur (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_offset (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_merge (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_merge_node (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_colour_matrix (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_component_transfer (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_node_component_transfer_function (char channel);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_erode (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_composite (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_flood (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_displacement_map (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_turbulence (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_image (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_diffuse_lighting (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_node_light_source (char type);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_specular_lighting (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_tile (void);
G_END_DECLS
......
......@@ -36,6 +36,7 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
RsvgNode *rsvg_new_image (void);
typedef struct _RsvgNodeImage RsvgNodeImage;
......@@ -47,12 +48,12 @@ struct _RsvgNodeImage {
cairo_surface_t *surface; /* a cairo image surface */
};
G_GNUC_INTERNAL
void rsvg_preserve_aspect_ratio (unsigned int aspect_ratio, double width,
double height, double *w, double *h, double *x, double *y);
G_GNUC_INTERNAL
gchar *rsvg_get_file_path (const gchar * filename, const gchar * basedir);
G_GNUC_INTERNAL
cairo_surface_t *rsvg_cairo_surface_new_from_href (const char *href, const char *base_uri, GError ** error);
G_END_DECLS
......
......@@ -26,11 +26,13 @@
#include <glib.h>
#include <gio/gio.h>
G_GNUC_INTERNAL
guint8* _rsvg_io_acquire_data (const char *uri,
const char *base_uri,
gsize *len,
GError **error);
G_GNUC_INTERNAL
GInputStream *_rsvg_io_acquire_stream (const char *uri,
const char *base_uri,
GError **error);
......
......@@ -42,10 +42,14 @@ struct _RsvgMarker {
RsvgViewBox vbox;
};
G_GNUC_INTERNAL
RsvgNode *rsvg_new_marker (void);
G_GNUC_INTERNAL
void rsvg_marker_render (RsvgMarker * self, gdouble x, gdouble y,
gdouble orient, gdouble linewidth, RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
RsvgNode *rsvg_marker_parse (const RsvgDefs * defs, const char *str);
G_GNUC_INTERNAL
void rsvg_render_markers (RsvgDrawingCtx *ctx, const cairo_path_t *path);
G_END_DECLS
......
......@@ -46,7 +46,9 @@ struct _RsvgMask {
RsvgMaskUnits contentunits;
};
G_GNUC_INTERNAL
RsvgNode *rsvg_new_mask (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_mask_parse (const RsvgDefs * defs, const char *str);
typedef struct _RsvgClipPath RsvgClipPath;
......@@ -56,7 +58,9 @@ struct _RsvgClipPath {
RsvgCoordUnits units;
};
G_GNUC_INTERNAL
RsvgNode *rsvg_new_clip_path (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_clip_path_parse (const RsvgDefs * defs, const char *str);
G_END_DECLS
......
......@@ -137,20 +137,32 @@ struct _RsvgPaintServer {
};
/* Create a new paint server based on a specification string. */
G_GNUC_INTERNAL
RsvgPaintServer *rsvg_paint_server_parse (gboolean * inherit, const RsvgDefs * defs,
const char *str, guint32 current_color);
G_GNUC_INTERNAL
void rsvg_paint_server_ref (RsvgPaintServer * ps);
G_GNUC_INTERNAL
void rsvg_paint_server_unref (RsvgPaintServer * ps);
G_GNUC_INTERNAL
RsvgRadialGradient *rsvg_clone_radial_gradient (const RsvgRadialGradient * grad,
gboolean * shallow_cloned);
G_GNUC_INTERNAL
RsvgLinearGradient *rsvg_clone_linear_gradient (const RsvgLinearGradient * grad,
gboolean * shallow_cloned);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_linear_gradient (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_radial_gradient (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_stop (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_pattern (void);
G_GNUC_INTERNAL
void rsvg_pattern_fix_fallback (RsvgPattern * pattern);
G_GNUC_INTERNAL
void rsvg_linear_gradient_fix_fallback (RsvgLinearGradient * grad);
G_GNUC_INTERNAL
void rsvg_radial_gradient_fix_fallback (RsvgRadialGradient * grad);
G_END_DECLS
......
......@@ -37,15 +37,18 @@ typedef struct {
int last_move_to_index;
} RsvgPathBuilder;
G_GNUC_INTERNAL
void rsvg_path_builder_init (RsvgPathBuilder *builder,
int n_elements);
G_GNUC_INTERNAL
void rsvg_path_builder_move_to (RsvgPathBuilder *builder,
double x,
double y);
G_GNUC_INTERNAL
void rsvg_path_builder_line_to (RsvgPathBuilder *builder,
double x,
double y);
G_GNUC_INTERNAL
void rsvg_path_builder_curve_to (RsvgPathBuilder *builder,
double x1,
double y1,
......@@ -53,12 +56,13 @@ void rsvg_path_builder_curve_to (RsvgPathBuilder *builder,
double y2,
double x3,
double y3);
G_GNUC_INTERNAL
void rsvg_path_builder_close_path (RsvgPathBuilder *builder);
G_GNUC_INTERNAL
cairo_path_t *rsvg_path_builder_finish (RsvgPathBuilder *builder);
G_GNUC_INTERNAL
cairo_path_t *rsvg_parse_path (const char *path_str);
G_GNUC_INTERNAL
void rsvg_cairo_path_destroy (cairo_path_t *path);
G_END_DECLS
......
......@@ -324,55 +324,74 @@ struct _RsvgNodeChars {
typedef void (*RsvgPropertyBagEnumFunc) (const char *key, const char *value, gpointer user_data);
G_GNUC_INTERNAL
RsvgPropertyBag *rsvg_property_bag_new (const char **atts);
G_GNUC_INTERNAL
RsvgPropertyBag *rsvg_property_bag_dup (RsvgPropertyBag * bag);
G_GNUC_INTERNAL
void rsvg_property_bag_free (RsvgPropertyBag * bag);
G_GNUC_INTERNAL
const char *rsvg_property_bag_lookup (RsvgPropertyBag * bag, const char *key);
G_GNUC_INTERNAL
guint rsvg_property_bag_size (RsvgPropertyBag * bag);
G_GNUC_INTERNAL
void rsvg_property_bag_enumerate (RsvgPropertyBag * bag, RsvgPropertyBagEnumFunc func,
gpointer user_data);
/* for some reason this one's public... */
GdkPixbuf *rsvg_pixbuf_from_data_with_size_data (const guchar * buff,
size_t len,
gpointer data,
const char *base_uri, GError ** error);
G_GNUC_INTERNAL
gboolean rsvg_eval_switch_attributes (RsvgPropertyBag * atts, gboolean * p_has_cond);
G_GNUC_INTERNAL
gchar *rsvg_get_base_uri_from_filename (const gchar * file_name);
G_GNUC_INTERNAL
void rsvg_pop_discrete_layer (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
void rsvg_push_discrete_layer (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
void rsvg_render_path (RsvgDrawingCtx * ctx, const cairo_path_t *path);
G_GNUC_INTERNAL
void rsvg_render_surface (RsvgDrawingCtx * ctx, cairo_surface_t *surface,
double x, double y, double w, double h);
G_GNUC_INTERNAL
void rsvg_render_free (RsvgRender * render);
G_GNUC_INTERNAL
void rsvg_add_clipping_rect (RsvgDrawingCtx * ctx, double x, double y, double w, double h);
G_GNUC_INTERNAL
cairo_surface_t *rsvg_cairo_surface_from_pixbuf (const GdkPixbuf *pixbuf);
G_GNUC_INTERNAL
GdkPixbuf *rsvg_cairo_surface_to_pixbuf (cairo_surface_t *surface);
G_GNUC_INTERNAL
cairo_surface_t *rsvg_get_surface_of_node (RsvgDrawingCtx * ctx, RsvgNode * drawable, double w, double h);
G_GNUC_INTERNAL
void rsvg_node_set_atts (RsvgNode * node, RsvgHandle * ctx, RsvgPropertyBag * atts);
G_GNUC_INTERNAL
void rsvg_drawing_ctx_free (RsvgDrawingCtx * handle);
G_GNUC_INTERNAL
void rsvg_bbox_init (RsvgBbox * self, cairo_matrix_t *matrix);
G_GNUC_INTERNAL
void rsvg_bbox_insert (RsvgBbox * dst, RsvgBbox * src);
G_GNUC_INTERNAL
void rsvg_bbox_clip (RsvgBbox * dst, RsvgBbox * src);
G_GNUC_INTERNAL
double _rsvg_css_normalize_length (const RsvgLength * in, RsvgDrawingCtx * ctx, char dir);
G_GNUC_INTERNAL
double _rsvg_css_hand_normalize_length (const RsvgLength * in, gdouble pixels_per_inch,
gdouble width_or_height, gdouble font_size);
double _rsvg_css_normalize_font_size (RsvgState * state, RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
RsvgLength _rsvg_css_parse_length (const char *str);
G_GNUC_INTERNAL
void _rsvg_push_view_box (RsvgDrawingCtx * ctx, double w, double h);
G_GNUC_INTERNAL
void _rsvg_pop_view_box (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
void rsvg_SAX_handler_struct_init (void);
G_GNUC_INTERNAL
char *rsvg_get_url_string (const char *str);
G_GNUC_INTERNAL
void rsvg_return_if_fail_warning (const char *pretty_function,
const char *expression, GError ** error);
......
......@@ -36,12 +36,19 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
RsvgNode *rsvg_new_path (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_polygon (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_polyline (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_line (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_rect (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_circle (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_ellipse (void);
typedef struct _RsvgNodePath RsvgNodePath;
......
......@@ -36,11 +36,17 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
RsvgNode *rsvg_new_use (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_symbol (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_svg (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_defs (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_group (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_switch (void);
typedef struct _RsvgNodeGroup RsvgNodeGroup;
......@@ -73,14 +79,21 @@ struct _RsvgNodeSvg {
RsvgPropertyBag *atts;
};
G_GNUC_INTERNAL
void rsvg_pop_def_group (RsvgHandle * ctx);
G_GNUC_INTERNAL
void rsvg_node_group_pack (RsvgNode * self, RsvgNode * child);
G_GNUC_INTERNAL
void rsvg_node_draw (RsvgNode * self, RsvgDrawingCtx * ctx, int dominate);
G_GNUC_INTERNAL
void _rsvg_node_draw_children (RsvgNode * self, RsvgDrawingCtx * ctx, int dominate);
G_GNUC_INTERNAL
void _rsvg_node_finalize (RsvgNode * self);
G_GNUC_INTERNAL
void _rsvg_node_free (RsvgNode * self);
G_GNUC_INTERNAL
void _rsvg_node_init (RsvgNode * self, RsvgNodeType type);
G_GNUC_INTERNAL
void _rsvg_node_svg_apply_atts (RsvgNodeSvg * self, RsvgHandle * ctx);
G_END_DECLS
......
......@@ -186,37 +186,60 @@ struct _RsvgState {
GHashTable *styles;
};
G_GNUC_INTERNAL
RsvgState *rsvg_state_new (void);
G_GNUC_INTERNAL
void rsvg_state_init (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_state_reinit (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_state_clone (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_inherit (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_reinherit (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_dominate (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_override (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_finalize (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_state_free_all (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_parse_style_pairs (RsvgHandle * ctx, RsvgState * state, RsvgPropertyBag * atts);
G_GNUC_INTERNAL
void rsvg_parse_style (RsvgHandle * ctx, RsvgState * state, const char *str);
G_GNUC_INTERNAL
void rsvg_parse_cssbuffer (RsvgHandle * ctx, const char *buff, size_t buflen);
G_GNUC_INTERNAL
void rsvg_parse_style_attrs (RsvgHandle * ctx, RsvgState * state, const char *tag,
const char *klazz, const char *id, RsvgPropertyBag * atts);
G_GNUC_INTERNAL
gdouble rsvg_viewport_percentage (gdouble width, gdouble height);
G_GNUC_INTERNAL
gdouble rsvg_dpi_percentage (RsvgHandle * ctx);
G_GNUC_INTERNAL
gboolean rsvg_parse_transform (cairo_matrix_t *matrix, const char *src);
G_GNUC_INTERNAL
RsvgState *rsvg_state_parent (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_state_pop (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
void rsvg_state_push (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
RsvgState *rsvg_current_state (RsvgDrawingCtx * ctx);
G_GNUC_INTERNAL
void rsvg_state_reinherit_top (RsvgDrawingCtx * ctx, RsvgState * state, int dominate);
G_GNUC_INTERNAL
void rsvg_state_reconstruct (RsvgState * state, RsvgNode * current);
G_END_DECLS
......
......@@ -149,7 +149,7 @@ _rsvg_node_text_set_atts (RsvgNode * self, RsvgHandle * ctx, RsvgPropertyBag * a
}
}
void
static void
rsvg_text_render_text (RsvgDrawingCtx * ctx, const char *text, gdouble * x, gdouble * y);
......
......@@ -32,9 +32,13 @@
G_BEGIN_DECLS
G_GNUC_INTERNAL
RsvgNode *rsvg_new_text (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_tspan (void);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_tref (void);
G_GNUC_INTERNAL
char *rsvg_make_valid_utf8 (const char *str, int len);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment