rsvg-filter.[ch]: Move over to rsvg_rust_cnode_new()

parent a971a55a
......@@ -831,7 +831,7 @@ rsvg_cairo_pop_render_stack (RsvgDrawingCtx * ctx)
filter = rsvg_drawing_ctx_acquire_node_of_type (ctx, state->filter, RSVG_NODE_TYPE_FILTER);
if (filter) {
needs_destroy = TRUE;
surface = rsvg_filter_render ((RsvgFilter *) filter, output, ctx, &render->bbox, "2103");
surface = rsvg_filter_render (filter, output, ctx, &render->bbox, "2103");
rsvg_drawing_ctx_release_node (ctx, filter);
/* Don't destroy the output surface, it's owned by child_cr */
......
This diff is collapsed.
......@@ -38,59 +38,58 @@ typedef struct {
typedef RsvgCoordUnits RsvgFilterUnits;
struct _RsvgFilter {
RsvgNode super;
RsvgLength x, y, width, height;
RsvgFilterUnits filterunits;
RsvgFilterUnits primitiveunits;
};
G_GNUC_INTERNAL
cairo_surface_t *rsvg_filter_render (RsvgFilter *self,
cairo_surface_t *rsvg_filter_render (RsvgNode *node,
cairo_surface_t *source,
RsvgDrawingCtx *context,
RsvgBbox *dimentions,
char *channelmap);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter (const char *element_name);
RsvgNode *rsvg_new_filter (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_blend (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_blend (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_convolve_matrix (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_convolve_matrix (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_gaussian_blur (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_gaussian_blur (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_offset (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_offset (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_merge (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_merge (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_merge_node (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_merge_node (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_color_matrix (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_color_matrix (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_component_transfer (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_component_transfer (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_node_component_transfer_function (const char *element_name);
RsvgNode *rsvg_new_node_component_transfer_function (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_erode (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_erode (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_composite (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_composite (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_flood (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_flood (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_displacement_map (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_displacement_map (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_turbulence (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_turbulence (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_image (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_image (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_diffuse_lighting (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_diffuse_lighting (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_node_light_source (const char *element_name);
RsvgNode *rsvg_new_node_light_source (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_specular_lighting (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_specular_lighting (const char *element_name, RsvgNode *parent);
G_GNUC_INTERNAL
RsvgNode *rsvg_new_filter_primitive_tile (const char *element_name);
RsvgNode *rsvg_new_filter_primitive_tile (const char *element_name, RsvgNode *parent);
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