[librsvg: 2/5] Copy the SpecifiedValues.transform to ComputedValues




commit bb54fc321b8989f8f4006b16353004915171e435
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Aug 3 17:02:24 2021 -0500

    Copy the SpecifiedValues.transform to ComputedValues
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/575>

 src/properties.rs | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/properties.rs b/src/properties.rs
index 02097a4c..2e1d73ac 100644
--- a/src/properties.rs
+++ b/src/properties.rs
@@ -240,6 +240,9 @@ macro_rules! make_properties {
             $(
                 $nonprop_field: $nonprop_name,
             )+
+
+            // TODO for madds: this will go away
+            transform: Transform,
         }
 
         impl ParsedProperty {
@@ -638,6 +641,9 @@ impl SpecifiedValues {
         compute!(WritingMode, writing_mode);
         compute!(XmlLang, xml_lang);
         compute!(XmlSpace, xml_space);
+
+        // TODO for madds: this will go away
+        computed.transform = self.transform;
     }
 
     pub fn is_overflow(&self) -> bool {


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