mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-02 22:20:50 -06:00
SVG export: rectangles, circles, ellipses, lines and straight paths as SVG shape elements (#4652)
This commit is contained in:
@@ -495,7 +495,7 @@ fn svg_export_writes_pattern_def() {
|
||||
// The tile art is inside the pattern.
|
||||
let start = svg.find("<pattern").unwrap();
|
||||
let end = svg.find("</pattern>").unwrap();
|
||||
assert!(svg[start..end].contains("<path"));
|
||||
assert!(vectorcraft_testkit::svg_shapes(&svg[start..end]) > 0);
|
||||
}
|
||||
|
||||
/// A pattern fill is written as a PDF tiling pattern, which PDF import reads back as a pattern
|
||||
|
||||
Reference in New Issue
Block a user