[librsvg] pattern: remove misleading comment



commit be6afb9119deadf8f4f0faa957fb0c4b19b34aa3
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Aug 28 22:36:34 2020 +0200

    pattern: remove misleading comment
    
    This is cut&paste from the unresolved pattern, but does not apply
    to the resolved pattern.

 rsvg_internals/src/pattern.rs | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/rsvg_internals/src/pattern.rs b/rsvg_internals/src/pattern.rs
index e366036d..3baad79d 100644
--- a/rsvg_internals/src/pattern.rs
+++ b/rsvg_internals/src/pattern.rs
@@ -96,10 +96,6 @@ struct UnresolvedPattern {
 pub struct ResolvedPattern {
     units: PatternUnits,
     content_units: PatternContentUnits,
-    // This Option<Option<ViewBox>> is a bit strange.  We want a field
-    // with value None to mean, "this field isn't resolved yet".  However,
-    // the vbox can very well be *not* specified in the SVG file.
-    // In that case, the fully resolved pattern will have a .vbox=Some(None) value.
     vbox: Option<ViewBox>,
     preserve_aspect_ratio: AspectRatio,
     affine: Transform,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]