[librsvg/librsvg-2.50] Note that push_new_viewport() also sets a clip rectangle
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.50] Note that push_new_viewport() also sets a clip rectangle
- Date: Fri, 2 Oct 2020 19:24:37 +0000 (UTC)
commit 9538dfd78e44f1282659a5c4546e3d64f585dd89
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Sep 25 18:31:20 2020 -0500
Note that push_new_viewport() also sets a clip rectangle
rsvg_internals/src/drawing_ctx.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index 5c34d0b4..7f78aaf2 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -352,7 +352,7 @@ impl DrawingCtx {
self.push_viewport(Viewport { transform, vbox })
}
- /// Creates a new coordinate space inside a viewport.
+ /// Creates a new coordinate space inside a viewport and sets a clipping rectangle.
///
/// Note that this actually changes the `draw_ctx.cr`'s transformation to match
/// the new coordinate space, but the old one is not restored after the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]