[librsvg: 6/45] CommonGradientData::set_on_cairo_pattern(): rename from set_on_pattern()
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 6/45] CommonGradientData::set_on_cairo_pattern(): rename from set_on_pattern()
- Date: Tue, 1 Oct 2019 15:07:26 +0000 (UTC)
commit bb767230f5adb17efaf8f2401bd8cb8becac7507
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Sep 26 17:43:34 2019 -0500
CommonGradientData::set_on_cairo_pattern(): rename from set_on_pattern()
rsvg_internals/src/gradient.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/gradient.rs b/rsvg_internals/src/gradient.rs
index 799b6814..18ab20e2 100644
--- a/rsvg_internals/src/gradient.rs
+++ b/rsvg_internals/src/gradient.rs
@@ -239,7 +239,7 @@ impl CommonGradientData {
}
}
- fn set_on_pattern(
+ fn set_on_cairo_pattern(
&self,
pattern: &cairo::Gradient,
bbox: &BoundingBox,
@@ -632,7 +632,7 @@ macro_rules! impl_paint_source {
};
let p = gradient.variant.to_cairo_gradient(values, ¶ms);
- gradient.common.set_on_pattern(&p, bbox, opacity);
+ gradient.common.set_on_cairo_pattern(&p, bbox, opacity);
let cr = draw_ctx.get_cairo_context();
cr.set_source(&p);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]