[librsvg] shapes: shorten code
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] shapes: shorten code
- Date: Mon, 6 Jan 2020 14:42:59 +0000 (UTC)
commit f64fec7bad92f1149dc6147dca7667655be07b9b
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jan 6 15:21:33 2020 +0100
shapes: shorten code
rsvg_internals/src/shapes.rs | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/rsvg_internals/src/shapes.rs b/rsvg_internals/src/shapes.rs
index cbf51701..323f3c61 100644
--- a/rsvg_internals/src/shapes.rs
+++ b/rsvg_internals/src/shapes.rs
@@ -40,13 +40,7 @@ impl Shape {
draw_ctx: &mut DrawingCtx,
clipping: bool,
) -> Result<BoundingBox, RenderingError> {
- draw_ctx.draw_path(
- &self.builder,
- node,
- values,
- self.markers,
- clipping,
- )
+ draw_ctx.draw_path(&self.builder, node, values, self.markers, clipping)
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]