[librsvg: 27/38] 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: 27/38] Note that push_new_viewport() also sets a clip rectangle
- Date: Tue, 29 Sep 2020 23:37:21 +0000 (UTC)
commit 331244b8717b7e97191a7e4d7097f6d519e55395
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]