Skip to content

Resize svg to fit path#36

Open
partoa wants to merge 4 commits intokartsims:masterfrom
partoa:resize_svg_to_fit_path
Open

Resize svg to fit path#36
partoa wants to merge 4 commits intokartsims:masterfrom
partoa:resize_svg_to_fit_path

Conversation

@partoa
Copy link

@partoa partoa commented Mar 19, 2023

Added resizing of the SVG output using InkScape. The path of InkScape has to be set for this feature to be used.

Closes #35.

partoa added 4 commits March 19, 2023 17:41
 1- Working resizing in demo using default netscape command
 2- In line 316 of EasySVG.php, were making sure that $d is a string
 1- Working resizing in demo using inkscape
 2- In line 316 of EasySVG.php, were making sure that $d is a string
 - Added a property and setter for inkscape command path
 - Added a method for getting the resized SVG
 - Changed the demo to reflect these changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SVG size to match SVG content

1 participant