rsvg_drawing_ctx_draw_node_on_surface() - Take an optional node to cascade from

parent 3ebdaf9a
......@@ -69,6 +69,7 @@ rsvg_filter_primitive_image_render_in (RsvgFilterPrimitiveImage *image, RsvgFilt
rsvg_drawing_ctx_draw_node_on_surface (ctx,
drawable,
NULL,
result,
rsvg_filter_context_get_width (context),
rsvg_filter_context_get_height (context));
......
......@@ -465,6 +465,7 @@ rsvg_drawing_ctx_is_testing (RsvgDrawingCtx *ctx)
void
rsvg_drawing_ctx_draw_node_on_surface (RsvgDrawingCtx *ctx,
RsvgNode *node,
RsvgNode *cascade_from,
cairo_surface_t *surface,
double width,
double height)
......@@ -485,7 +486,7 @@ rsvg_drawing_ctx_draw_node_on_surface (RsvgDrawingCtx *ctx,
ctx->rect.width = width;
ctx->rect.height = height;
rsvg_drawing_ctx_draw_node_from_stack (ctx, node, NULL, FALSE);
rsvg_drawing_ctx_draw_node_from_stack (ctx, node, cascade_from, FALSE);
cairo_destroy (ctx->cr);
ctx->cr = save_cr;
......
......@@ -136,6 +136,7 @@ void rsvg_drawing_ctx_get_dpi (RsvgDrawingCtx *ctx, double *out_dpi_x, double *o
G_GNUC_INTERNAL
void rsvg_drawing_ctx_draw_node_on_surface (RsvgDrawingCtx *ctx,
RsvgNode *node,
RsvgNode *cascade_from,
cairo_surface_t *surface,
double width,
double height);
......
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