mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 03:48:11 +08:00
Export current document as SVG when pressing Ctrl+Shift+S (#160)
* Export current document when pressing Ctrl+Shift+S * Use a blob for download * Add Ctrl + E shortcut, match on lower case * Don't mount element in DOM * Polish some keybindings * Add initialization for MappingEntries * Implement svg coloring * Add newline after svg tag * Add spaces to svg style format * Fix more svg formatting * Add space before /> * Remove duplicate whitespace
This commit is contained in:
@@ -39,6 +39,9 @@ impl ShapePoints {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: The display impl and iter impl share large amounts of code and should be refactored. (Display should use the Iterator)
|
||||
// TODO: Once that is done, the trailing space from the display impl should be removed
|
||||
// Also consider implementing index
|
||||
impl std::fmt::Display for ShapePoints {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
fn rotate(v: &Vec2, theta: f64) -> Vec2 {
|
||||
|
||||
Reference in New Issue
Block a user