Inkscape gradient without black2/25/2023 ![]() ![]() Open in the same window (new behaviour in 1.1-dev), same as 3.If you saves the file before, the pattern should be rendered on the new shape Opening in new window gives same as 1 (since you're doing the same thing).Applying the pattern gives you no rendering.The pattern is still invisible, turning black if you zoom in too far On ungrouping/nudging, the linear gradient is rendered correctly.Without deleting the pattern, zooming in causes it to render all black. On grouping, the pattern appears to vanish, the linear gradient is treated as if it were defined in userSpaceonUse units instead (deleting the rectangle with a pattern and zooming in, you see image). ![]() On the initial open, you get the correct appearance (see above).Proper rendering (resvg 0.11.0), see #2123 (comment 470840216) for comparisons in Inkscape: pattern_units_test_resvg_cairo What happened? 1. Video (paused the recording during the save step):Īnd an example file from #2123 which uses a mix of patternUnits and patternContentUnits: pattern_units_test.svg Note, I did increase the size of the rectangle after it had been turned to a pattern, so you could see more of the pattern. Ctrl+A, Ctrl+G (Select that rectangle and group it)Įxample file, using steps above. Change width/height to something smaller, e.g. Delete patternUnits (so now defaults to objectBoundingBox) Go to defs, select the pattern (not the rectangle) Ctrl+shift+x (Xml editor), with the Nodes and Attributes tab open. Create a rectangle with a stroke and no fill (so we can see what happens) I also tried to recreate the file from scratch, steps and video below open the document again, without closing (this is like the first open, and opens into a new window.Set the fill to the custom pattern Pattern.Ungroup the rectangles (or nudge left/right).group the rectangles together (Ctrl+A, Ctrl+G).Above it is a rectangle with a pattern defined by patternUnits=objectBoundingBox The lower one has a gradient defined by gradientUnits=objectBoundingBox. bg.svg contains two rectangles that cover the full page. ![]() Updated based off #2123 (comment 470840216) and changes to behaviour. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |