* #issue-fix The new menu will ask if you want to erase the current content but it will ignore the answer * #issue-fix dialog needs to be closer than the original * #issue-fix main menu alignment changes * #issue_fix double click and opensvg issue fixed * #issue-fix process_cancel change to seConfirm * #issue-fix review how the top toolbar display when many buttons are displayed * #issue-fix unwanted css reoved * #issue-fix BOTTOM TOOLS Make sure all features of the bottom toolbar are working * #issue-fix IMPORT IMAGE menu open issue fixed * #issue-fix alert dialog overwrite style * #issue-fix lint issue fixed * npm update + associated fixes * #36 look of opacity button should like the zoom button (without the dropdown button) * #37 Clicking anywhere on the bottom bar (for example below the opacity button is displaying the “color popup”.) * #38 The opacity button does not update with the current element * #42 When you import an image, it works well but the dialog should disappear automatically * Fixes #53: 4th option for the background display fixed * Fixes #53: 4th option for the background fixed * #49 the x button does not work * Fixes #41: Alignment fixes in bottom bar * fix test scenario * #39 opacity button/stroke size/radius button don’t allow the 0 value * #41 The look and alignment of stroke size and stroke style should be consistent with the rest of the bottom bar. * #44 Text font dropdown is broken * #52 Fix the export * Fixes #44: Text font dropdown fixed * Fixes #44: Text font dropdown fixed * Fixes #44: Text font dropdown fixed * Fixes #44: Text font dropdown fixed * Update index.html * update husky * fixes * moves from index.html to js * fix #66 * fix #48 first set of new icons * Reorganize tools in left panel to be more intuitive * Update button styles to adapt to new icons * Fix #48 new set of icons for alignments * Variabilisation of icon bkgd colors Update of color choice to fit new icons design * Update canvas and rulers colors * Improve layer handle design * Modernize SVG Logo but keeping original spirit * Fix #48 continue improve icons * Continue to reorganise left panel * Update right panel handle for layers * Fix #48 new set of icons for main menu * Improve main menu design * Rework menu organisation * Rework menu organisation * Update input element design * New icons * Improve Zoom Module * Improve Color Picker Module * New icons * New icons * #65 restore the feature of start/end marker lines partially did * #64 The export dialog needs to include the quality options (except for PDF) * #39 opacity button/stroke size/radius button don’t allow the 0 value * #39 eslint changes * #69 menu button style overwrite * #65 restore the feature of start/end marker lines * #43 With a small window, the look of the top toolbar is broken * #43 tool top alignment revert * #46 Move this jQuery component to a web component for graduate and picker components * #46 Move this jQuery component to a web component * remove some non standard lint rules * #46 picker convert as pure javascript changes * #46 jquery plugin convert to pure javascript * #46 jquery plugin change to pure javascript * #46 jquery remove and convert to pure javascript * #46 slider issue fixed * #46 ColorValuePicker and js convertion * #46 globals $ remov from slider class * #46 jquery convert pure javascript changes * #46 jquery to js convertion changes * #46 paintbox and current element color set issue fixed * #46 unwanted files removed * #46 $.extend modify changes * #46 extend modifiey changes * #46 $.extend change to pure javascript * #46 extend and data changes * #46 jquery removed * #45 These buttons don't work and dropdown is broken * #45 These buttons don't work and dropdown is broken * #45 These buttons don't work and dropdown is broken commit reverted * #43 With a small window, the look of the top toolbar is broken * Update jQuery.jPicker.js * #76 draggable modification changes * #76 jquery-ui-1.8.17.custom.min.js removed from editor * #76 jquery ui file removed * npm update * #77 console issue fixed * #77 <SVG> button issue fixed * #77 shortkey issue fixed * #77 jquery hotkeys plugin changes * #77 hotkey plugin related changes * #78 hotkey related code comment. * #78 js-hotkeys/jquery.hotkeys.min.js file removed from svgedit.js * #51 Rewrite the color palette without elix * #81 unwanted files removed * #81 folder name renamed * #81 folder rename changes * #81 jquery-ui folder renamed * #81 jquery modify changes * #81 globals $ removed * remove licence-badger (breaks ci) * build * fix tests * fix folder spelling * skip accessibility for now * Update onpush.yml * use npm dragmove * #82 jquery convertion changes * #82 javascript convertion changes * #82 workarea related javascript convertion changes * #82 javascript convertion cahnges * #82 ungroup button added changes * #82 menu unwanted code removed and button changes * Update .gitignore * refactor with Panel classes * add MainMenu class * move handlers * fix lint * fix test Co-authored-by: Agriya Dev5 <agriya.dev5@agriya.in> Co-authored-by: mathieucura <mathieu@optimistik.fr>
1060 lines
23 KiB
Plaintext
1060 lines
23 KiB
Plaintext
exports[`use various parts of svg-edit > check tool_source #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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
></rect>
|
|
</g>
|
|
</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"
|
|
>
|
|
<g class="layer" style="pointer-events:all">
|
|
<title style="pointer-events:inherit">Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
style="pointer-events:inherit"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_text #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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
>
|
|
AB
|
|
</text>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_clone #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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
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_italic #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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_bold #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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check change 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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_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"
|
|
>
|
|
<g class="layer" style="pointer-events:all">
|
|
<title style="pointer-events:inherit">Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
style="pointer-events:inherit"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-style="italic"
|
|
font-weight="bold"
|
|
>
|
|
B
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
B
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokeWidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_star #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"
|
|
>
|
|
<g class="layer" style="pointer-events:all">
|
|
<title style="pointer-events:inherit">Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
style="pointer-events:inherit"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-style="italic"
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokeWidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</g>
|
|
</svg>
|
|
`;
|
|
|
|
exports[`use various parts of svg-edit > check tool_polygon #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"
|
|
>
|
|
<g class="layer" style="pointer-events:all">
|
|
<title style="pointer-events:inherit">Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
style="pointer-events:inherit"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-style="italic"
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokeWidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
style="pointer-events:inherit"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="457"
|
|
cy="95"
|
|
id="svg_4"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="6.666666666666667"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokeWidth="5"
|
|
points="462.6710053890136,95 458.7524370403971,100.39344662916632 452.4120602650961,98.33333333333333 452.4120602650961,91.66666666666667 458.7524370403971,89.60655337083368 462.6710053890136,95 "
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="457"
|
|
cy="95"
|
|
id="svg_4"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="6.666666666666667"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
points="462.6710053890136,95 458.7524370403971,100.39344662916632 452.4120602650961,98.33333333333333 452.4120602650961,91.66666666666667 458.7524370403971,89.60655337083368 462.6710053890136,95 "
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_5"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="457"
|
|
cy="95"
|
|
id="svg_4"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="6.666666666666667"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
points="462.6710053890136,95 458.7524370403971,100.39344662916632 452.4120602650961,98.33333333333333 452.4120602650961,91.66666666666667 458.7524370403971,89.60655337083368 462.6710053890136,95 "
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_5"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
stroke="none"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_6"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="none"
|
|
strokewidth="5"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</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"
|
|
>
|
|
<g class="layer">
|
|
<title>Layer 1</title>
|
|
<rect
|
|
id="rect"
|
|
fill="#FF0000"
|
|
height="70"
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
width="94"
|
|
x="69.5"
|
|
y="51.5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></rect>
|
|
<text
|
|
fill="#ffff00"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="116"
|
|
y="87"
|
|
id="svg_1"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
font-=""
|
|
font-weight="bold"
|
|
>
|
|
AB
|
|
</text>
|
|
<text
|
|
fill="#000000"
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
x="136"
|
|
y="107"
|
|
font-size="24"
|
|
font-family="Serif"
|
|
text-anchor="middle"
|
|
xml:space="preserve"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
id="svg_2"
|
|
transform="matrix(1 0 0 1 0 0)"
|
|
>
|
|
AB
|
|
</text>
|
|
<polygon
|
|
cx="407"
|
|
cy="45"
|
|
id="svg_3"
|
|
shape="star"
|
|
point="5"
|
|
r="13.333333333333334"
|
|
radialshift=""
|
|
r2="5.333333333333334"
|
|
orient="point"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="0"
|
|
points="407,31.666666666666664 410.1348546788932,40.68524269666695 419.68075355060205,40.87977340833403 412.0723014202408,46.64809063666639 414.83713669723295,55.78689325833263 407,50.333333333333336 399.16286330276705,55.78689325833263 401.9276985797592,46.64809063666639 394.31924644939795,40.87977340833404 403.8651453211068,40.68524269666695 407,31.666666666666664 410.1348546788932,40.68524269666695 "
|
|
stroke="#000000"
|
|
stroke-width="0"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="457"
|
|
cy="95"
|
|
id="svg_4"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="6.666666666666667"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
points="462.6710053890136,95 458.7524370403971,100.39344662916632 452.4120602650961,98.33333333333333 452.4120602650961,91.66666666666667 458.7524370403971,89.60655337083368 462.6710053890136,95 "
|
|
stroke="#000000"
|
|
stroke-width="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_5"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="#000000"
|
|
strokewidth="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
stroke="none"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_6"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="none"
|
|
strokewidth="5"
|
|
fill-opacity="1"
|
|
stroke-opacity="1"
|
|
stroke="none"
|
|
></polygon>
|
|
<polygon
|
|
cx="115"
|
|
cy="79"
|
|
id="svg_7"
|
|
shape="regularPoly"
|
|
sides="5"
|
|
orient="x"
|
|
edge="0"
|
|
fill="#000000"
|
|
strokecolor="none"
|
|
strokewidth="5"
|
|
>
|
|
<animate
|
|
attributeName="opacity"
|
|
begin="indefinite"
|
|
dur="0.2"
|
|
fill="freeze"
|
|
to="1"
|
|
></animate>
|
|
</polygon>
|
|
</g>
|
|
</svg>
|
|
`;
|