Make SVG ouptut of neper -T show actual result on screen
#1048
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request consists of two commits editing the file
src/neut/neut_tess/neut_tess_fprintf/neut_tess_fprintf1.c.stroke=\"none\"tostroke=\"black\"since withstroke=\"none\"no lines are shown on screen.viewBoxso that no strokes have been clipped.An instructional example is
neper -T -n 10 -domain "square(400,300)" -dim 2 -format svg:Note that the situation is still not good for small regions.$1{\rm px} \times 1{\rm px}$ that can barely be seen.
For instance, running
neper -T -n 10 -dim 2 -format svgtesselates a square of sizeFurthermore, because the size of the strokes is bigger than 1 pixel, the result is a filled black square.
So, for a better output, some scaling will be necessary, like the visualisation module does for PNG output.