[lasem] Revert "svg_view: remove useless parameter to lsm_svg_view_creat_surface_pattern."
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] Revert "svg_view: remove useless parameter to lsm_svg_view_creat_surface_pattern."
- Date: Sat, 28 Aug 2010 07:57:04 +0000 (UTC)
commit 53602a6f10d9c0621bb67e493c9735ff5827cf57
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Fri Aug 27 23:45:44 2010 +0200
Revert "svg_view: remove useless parameter to lsm_svg_view_creat_surface_pattern."
This reverts commit 5e5ca0735025a2eb2d11cc5914cd535bcbea3af2.
src/lsmsvgmaskelement.c | 1 +
src/lsmsvgpatternelement.c | 1 +
src/lsmsvgview.c | 1 +
src/lsmsvgview.h | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmsvgmaskelement.c b/src/lsmsvgmaskelement.c
index a85f8d9..1213bff 100644
--- a/src/lsmsvgmaskelement.c
+++ b/src/lsmsvgmaskelement.c
@@ -93,6 +93,7 @@ lsm_svg_mask_element_render (LsmSvgElement *self, LsmSvgView *view)
}
if (!lsm_svg_view_create_surface_pattern (view, &viewport,
+ mask->units.value,
NULL,
LSM_SVG_VIEW_SURFACE_TYPE_IMAGE)) {
lsm_debug ("render", "[LsmSvgMaskElement::render] Intermediate surface creation failed");
diff --git a/src/lsmsvgpatternelement.c b/src/lsmsvgpatternelement.c
index a10d737..8fdf819 100644
--- a/src/lsmsvgpatternelement.c
+++ b/src/lsmsvgpatternelement.c
@@ -209,6 +209,7 @@ lsm_svg_pattern_element_render (LsmSvgElement *self, LsmSvgView *view)
viewport.x, viewport.y, viewport.width, viewport.height);
if (!lsm_svg_view_create_surface_pattern (view, &image_box,
+ pattern->units.value,
&pattern->transform.matrix,
LSM_SVG_VIEW_SURFACE_TYPE_AUTO)) {
lsm_debug ("render", "[LsmSvgPatternElement::render] Intermediate surface creation failed");
diff --git a/src/lsmsvgview.c b/src/lsmsvgview.c
index 4fb81b1..3e35c7d 100644
--- a/src/lsmsvgview.c
+++ b/src/lsmsvgview.c
@@ -248,6 +248,7 @@ lsm_svg_view_set_gradient_properties (LsmSvgView *view,
gboolean
lsm_svg_view_create_surface_pattern (LsmSvgView *view,
const LsmBox *viewport,
+ LsmSvgPatternUnits units,
const LsmSvgMatrix *matrix,
LsmSvgViewSurfaceType surface_type)
{
diff --git a/src/lsmsvgview.h b/src/lsmsvgview.h
index 390d2c3..f5be44a 100644
--- a/src/lsmsvgview.h
+++ b/src/lsmsvgview.h
@@ -102,6 +102,7 @@ void lsm_svg_view_set_gradient_properties (LsmSvgView *view,
const LsmSvgMatrix *matrix);
gboolean lsm_svg_view_create_surface_pattern (LsmSvgView *view, const LsmBox *viewport,
+ LsmSvgPatternUnits units,
const LsmSvgMatrix *matrix,
LsmSvgViewSurfaceType surface_type) G_GNUC_WARN_UNUSED_RESULT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]