svgedit/cypress/integration/ui/__snapshots__/scenario.js.snap

1009 lines
20 KiB
Plaintext
Raw Normal View History

2020-09-12 23:32:13 +00:00
exports[`use various parts of svg-edit > check tool_source #0`] = `
2020-09-13 21:56:45 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
>
<g class="layer"><title>Layer 1</title></g>
2020-09-12 23:32:13 +00:00
</svg>
`;
exports[`use various parts of svg-edit > check tool_fhpath #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
</g>
</svg>
`;
2020-09-12 23:32:13 +00:00
exports[`use various parts of svg-edit > check tool_text #0`] = `
2020-09-13 21:56:45 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-09-13 21:56:45 +00:00
>
2020-10-16 22:51:22 +00:00
<g class="layer">
<title>Layer 1</title>
2020-09-13 21:56:45 +00:00
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="46"
y="35"
2020-09-13 21:56:45 +00:00
id="svg_1"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_clone #0`] = `
2020-09-13 21:56:45 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-09-13 21:56:45 +00:00
>
2020-10-16 22:51:22 +00:00
<g class="layer">
<title>Layer 1</title>
2020-09-13 21:56:45 +00:00
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="46"
y="35"
2020-09-13 21:56:45 +00:00
id="svg_1"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="66"
y="55"
2020-09-13 21:56:45 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_italic #0`] = `
2020-09-13 21:56:45 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-09-13 21:56:45 +00:00
>
2020-10-16 22:51:22 +00:00
<g class="layer">
<title>Layer 1</title>
2020-09-13 21:56:45 +00:00
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="46"
y="35"
2020-09-13 21:56:45 +00:00
id="svg_1"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
2020-10-16 22:51:22 +00:00
font-=""
2020-09-13 21:56:45 +00:00
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="66"
y="55"
2020-09-13 21:56:45 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_bold #0`] = `
2020-09-13 21:56:45 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-09-13 21:56:45 +00:00
>
2020-10-16 22:51:22 +00:00
<g class="layer">
<title>Layer 1</title>
2020-09-13 21:56:45 +00:00
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="46"
y="35"
2020-09-13 21:56:45 +00:00
id="svg_1"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
2020-10-16 22:51:22 +00:00
font-=""
2020-09-13 21:56:45 +00:00
font-weight="bold"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="66"
y="55"
2020-09-13 21:56:45 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-13 21:56:45 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-13 21:56:45 +00:00
</text>
</g>
2020-09-12 23:32:13 +00:00
</svg>
`;
2020-09-21 22:18:52 +00:00
exports[`use various parts of svg-edit > check tool_text_change_x_y_coordinate #0`] = `
2020-09-21 22:18:52 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-09-21 22:18:52 +00:00
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#000000"
2020-09-21 22:18:52 +00:00
stroke="#000000"
stroke-width="0"
x="46"
y="35"
id="svg_1"
font-size="24"
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
2020-09-21 22:18:52 +00:00
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
>
AB
</text>
2020-09-21 22:18:52 +00:00
<text
fill="#000000"
2020-09-21 22:18:52 +00:00
stroke="#000000"
stroke-width="0"
x="91"
y="80"
2020-09-21 22:18:52 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-21 22:18:52 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_font_size #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
2020-09-21 22:18:52 +00:00
font-weight="bold"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-21 22:18:52 +00:00
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
2020-09-21 22:18:52 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-09-21 22:18:52 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
2021-05-09 17:29:45 +00:00
AB
2020-09-21 22:18:52 +00:00
</text>
</g>
</svg>
`;
Refactor canvas in multiple pieces to increase maintainability (#446) * #refactor-canvas getJsonFromSvgElement and svgroot code moved to separate file * #refactor-canvas build files changes * #refactor-canvas addSVGElementsFromJson move to json file * #refactor-canvas selected element option function move separate file * #refactor-canvas moveUpDownSelected move to select-elem * ##refactor-canvas build file updated * #refactor-canvas moveSelectedElements move to selected-elem * #refactor-canvas cloneSelectedElements move to slected-elem * #refactor-canvas alignSelectedElements move to selected-elem * #refactor-canvas deleteSelectedElements move to selected-elem * #refactor-canvas copySelectedElements and groupSelectedElements move to selected-elem * #refactor-canvas pushGroupProperty, ungroupSelectedElement move to selected-elem * #refactor-canvas comment changes * #refactor-canvas UndoManager move to separate file * #refactor-canvas event file move to mouseMove, mouseUpEvent and dblClickEvent * #refactor-canvas mouseDown move to event * #refactor-canvas move to undo file * #refactor alignment changes and set function revert return * #refactor-canvas textaction move to separate file * #refactor-canvas paste-element function move to separate file * #refactor-canvas set and get method move to separate file * #refactor-canvas set and get function moved changes * #refactor clear file import and regaring function moved changes changes * #refactor-canvas svg related function move to separate file * #refactor-canvas setBackground methos move to elem-get-set file * #refactor-canvas getBsplinePoint method move to event file * #refactor-canvas export functions move to svg-exec * #refactor-canvas svg related function moved separate file * #refactor-canvas updateCanvas, cycleElement move to selected-elem file * #refactor-canvas removeUnusedDefElems move to svg-exec file * #refactor-canvas blur method move to separate file blur-event.js * #refactor-canvas selection related function move to separate file slection.js * #refactor-canvas convertGradients, mousewheelmove event bind function move to other files * #refactor-canvas extension function move to selection file * #refactor-canvas svg tag long string changes to es6 format * eslint fixes * eslint and test fixes * add netlify logo per their requirements * #refactor-canvas path file separate to path-method.js and path-actions.js * #refactor-canvas lint issue fixed * #refactor-canvas path.js file class and const move to path-method.js * #refactor-canvas eslint issue fixed. 'jsdoc/check-examples': 'off' already so removed eslint-disable jsdoc/check-examples * #refactor-canvas path class moved changes and copy-elem.js file cypress test issue fixed * #refactor-canvas UI - Clipboard paste element cypress issue fixed * #refactor-canvas cypress test cases issue fixed changes * #refactor-canvas cypress test cases issue fixed changes * #refactor-canvas cypress test case issue fixed * npm update and fix a few eslint new errors * fix snapshot and run tests * add star tool to cypress * #refactor-canvas shapelibrary, star, polygon and panning tool issue fixed * build * Update layer.js * revert proper declarations Authored-by OptimistikSAS
2020-11-11 10:38:45 +00:00
exports[`use various parts of svg-edit > check tool_text_change_font_family #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#000000"
2020-12-08 09:37:48 +00:00
stroke="#000000"
stroke-width="0"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
2020-12-08 09:37:48 +00:00
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
>
AB
</text>
<text
fill="#000000"
2020-12-08 09:37:48 +00:00
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
2020-12-08 09:37:48 +00:00
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_stroke_width #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#000000"
stroke="#000000"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
2020-12-08 09:37:48 +00:00
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
2020-12-08 09:37:48 +00:00
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
2020-12-08 09:37:48 +00:00
>
2021-05-09 17:29:45 +00:00
AB
</text>
2020-12-08 09:37:48 +00:00
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_stroke_style #0`] = `
2020-12-08 09:37:48 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
2020-12-08 09:37:48 +00:00
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#000000"
2020-12-08 09:37:48 +00:00
stroke="#000000"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="middle"
xml:space="preserve"
2020-12-08 09:37:48 +00:00
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
>
AB
</text>
2020-12-08 09:37:48 +00:00
<text
fill="#000000"
2020-12-08 09:37:48 +00:00
stroke="#000000"
stroke-width="0"
x="91"
y="80"
2020-12-08 09:37:48 +00:00
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
2020-12-08 09:37:48 +00:00
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_stoke_fill_color #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
2020-12-08 09:37:48 +00:00
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
2020-12-08 09:37:48 +00:00
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
2020-12-08 09:37:48 +00:00
>
2021-05-09 17:29:45 +00:00
AB
</text>
2020-12-08 09:37:48 +00:00
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_anchor_start #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer">
<title>Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="start"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-=""
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_anchor_middle #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer">
<title>Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-=""
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_anchor_end #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer">
<title>Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-=""
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_rotation #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
transform="rotate(25 91 72)"
>
AB
</text>
</g>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_blur #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
transform="rotate(25 91 72)"
filter="url(#svg_2_blur)"
>
AB
</text>
</g>
<defs>
<filter id="svg_2_blur" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
</filter>
</defs>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_change_opacity #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
filter="url(#svg_2_blur)"
opacity="0.5"
transform="rotate(25 91 72)"
>
AB
</text>
</g>
<defs>
<filter id="svg_2_blur" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
</filter>
</defs>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_align_to_page #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
2021-05-09 17:29:45 +00:00
AB
</text>
<text
fill="#000000"
stroke="#000000"
stroke-width="0"
x="91"
y="80"
font-size="24"
2021-05-09 17:29:45 +00:00
font-family="Serif"
text-anchor="middle"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
filter="url(#svg_2_blur)"
opacity="0.5"
transform="rotate(25 91 72)"
>
2021-05-09 17:29:45 +00:00
AB
</text>
</g>
<defs>
<filter id="svg_2_blur" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
</filter>
</defs>
</svg>
`;
exports[`use various parts of svg-edit > check tool_text_delete #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
width="640"
height="480"
id="svgcontent"
overflow="visible"
x="640"
y="480"
viewBox="0 0 640 480"
fill-opacity="1"
stroke-opacity="1"
>
<g class="layer" style="pointer-events:all">
<title style="pointer-events:inherit">Layer 1</title>
<text
fill="#bf0000"
stroke="#0000bf"
stroke-width="1"
x="46"
y="35"
id="svg_1"
font-size="34"
font-family="Cursive"
text-anchor="end"
xml:space="preserve"
fill-opacity="1"
stroke-opacity="1"
font-style="italic"
font-weight="bold"
stroke-dasharray="5,2,2,2"
>
AB
</text>
</g>
<defs>
<filter id="svg_2_blur" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
</filter>
</defs>
</svg>
`;