mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-23 09:41:04 +00:00
Adds crisp shape rendering for svg file format
This commit is contained in:
parent
6bfdada9ac
commit
4b0d527505
@ -93,7 +93,7 @@ bool SvgFormat::onSave(FileOp* fop)
|
|||||||
fprintf(f, "/>\n");
|
fprintf(f, "/>\n");
|
||||||
};
|
};
|
||||||
fprintf(f, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
|
fprintf(f, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
|
||||||
fprintf(f, "<svg version=\"1.1\" width=\"%d\" height=\"%d\" xmlns=\"http://www.w3.org/2000/svg\">\n",
|
fprintf(f, "<svg version=\"1.1\" width=\"%d\" height=\"%d\" xmlns=\"http://www.w3.org/2000/svg\" shape-rendering=\"crispEdges\">\n",
|
||||||
image->width()*pixelScaleValue, image->height()*pixelScaleValue);
|
image->width()*pixelScaleValue, image->height()*pixelScaleValue);
|
||||||
|
|
||||||
switch (image->pixelFormat()) {
|
switch (image->pixelFormat()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user