Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="32"
height="32"
viewBox="0 0 32 32"
version="1.1"
id="svg5"
xml:space="preserve"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="tool_polygonal_selection_cursor.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
id="namedview7"
pagecolor="#818181"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
showgrid="true"
inkscape:zoom="6.2205"
inkscape:cx="21.622056"
inkscape:cy="24.596094"
inkscape:window-width="1920"
inkscape:window-height="1010"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"><inkscape:grid
type="xygrid"
id="grid4281"
empspacing="4"
spacingx="0.13229166"
spacingy="0.13229166" /></sodipodi:namedview><defs
id="defs2" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"><g
id="g4577"
inkscape:label="reticule"
transform="scale(3.779528)"><path
id="rect4381-7-56-9"
style="fill:#ffffff;stroke-width:0.916544;stroke-linejoin:round;paint-order:stroke fill markers"
transform="rotate(90)"
d="m 1.3229169,-3.4395833 h 0.7937499 v 1.3229166 H 1.3229169 Z m -3e-7,2.1166667 h 0.79375 V 0 h -0.79375 z m 0.79375,0 v -0.79375 h 1.3229166 v 0.79375 z m -2.116666560263569,0 v -0.79375 H 1.3229167 v 0.79375 z"
inkscape:label="caret-stroke" /><path
id="rect4381-2-1"
style="stroke-width:0.529167;stroke-linejoin:round;paint-order:stroke fill markers"
transform="rotate(90)"
d="m 1.5875,-3.4395833 h 0.2645833 v 1.3229166 H 1.5875 Z m -3e-7,2.1166667 H 1.8520831 V 0 H 1.5874997 Z M 2.1166666,-1.5875 V -1.8520833 H 3.4395832 V -1.5875 Z M 0,-1.5875 V -1.8520833 H 1.3229166 V -1.5875 Z"
inkscape:label="caret-fill" /></g><path
id="path8818-9"
style="color:#000000;fill:#ffffff;stroke-width:3.77953;-inkscape-stroke:none;paint-order:markers fill stroke"
d="m 18.734375,10.681641 -0.265625,0.265625 -1.308594,1.310546 0.705078,0.705079 1.046876,-1.048829 1.199218,0.654297 0.466797,-0.878906 z m 3.158203,1.724609 -0.46875,0.880859 1.529297,0.835938 0.46875,-0.88086 z m -6.005859,1.125 -1.244141,1.246094 0.707032,0.705078 1.24414,-1.246094 z m 8.851562,0.429688 -0.470703,0.878906 1.808594,0.988281 0.46875,-0.880859 z m 3.128907,1.707031 -0.472657,0.880859 1.400391,0.765625 0.46875,-0.882812 z m -14.525391,0.412109 -1.253906,1.253906 0.708984,0.708985 1.251953,-1.25586 z m 17.242187,1.072266 -0.472656,0.880859 0.56836,0.310547 -0.142578,1.060547 0.992187,0.138672 0.234375,-1.746094 z m -19.810546,1.496094 -1.2148443,1.216796 1.0078123,1.373047 0.804688,-0.589843 -0.498047,-0.679688 0.609375,-0.609375 z m 19.533203,2.464843 -0.246094,1.820313 0.992187,0.138671 0.246094,-1.820312 z m -18.046875,0.746094 -0.804688,0.587891 1.253907,1.710937 0.80664,-0.589843 z m 9.722656,2.287109 -0.646485,0.519532 0.619141,0.773437 0.0078,-0.0039 0.638672,-0.779297 z m 7.832031,0.609375 -0.246094,1.832032 0.992188,0.136718 0.246094,-1.833984 z m -15.412109,0.02148 -0.804688,0.589844 0.914063,1.246093 0.804687,-0.589843 z m 5.763672,0.826172 -1.28125,1.027343 0.61914,0.773438 1.283204,-1.027344 z m 3.921875,0.27539 -0.634766,0.773438 1.945313,1.601562 0.636718,-0.773437 z m -7.884766,1.353516 -0.804687,0.589844 1.328125,1.808593 1.609375,-1.289062 -0.621094,-0.771485 -0.794922,0.636719 z m 13.132812,1.078125 -0.228515,1.697266 -1.34375,-1.105469 -0.636719,0.77539 2.732422,2.248047 0.46875,-3.480469 z" /><path
id="path8818"
style="color:#000000;fill:#000000;stroke-width:3.77953;-inkscape-stroke:none;paint-order:markers fill stroke"
d="m 18.904297,11.884765 -0.257813,0.257813 -0.800781,0.800781 0.708985,0.708985 0.535156,-0.535156 0.568359,0.302734 0.46875,-0.882813 z m 2.542969,1.357422 -0.470703,0.882813 1.539062,0.822266 0.46875,-0.882813 z m -4.873047,0.97461 -1.244141,1.246094 0.707032,0.707031 1.246093,-1.246094 z m 7.732422,0.552734 -0.470703,0.882813 1.816406,0.970703 0.470703,-0.882813 z m 3.142578,1.677735 -0.47461,0.882812 1.410157,0.751953 0.470703,-0.882812 z m -13.421875,0.318359 -1.251953,1.25586 0.705078,0.705078 1.253906,-1.253907 z m 16.152344,1.140625 -0.472657,0.882812 0.01172,0.0059 -0.06641,0.488281 0.988281,0.136717 0.164062,-1.179687 z m -18.71875,1.429687 -0.617188,0.617188 0.515625,0.703125 0.810547,-0.591797 -0.01172,-0.01561 0.0078,-0.0078 z m 17.955078,1.654297 -0.251953,1.81836 0.988281,0.138672 0.251953,-1.820313 z m -16.359375,0.285157 -0.808594,0.591797 1.253906,1.708984 0.808594,-0.591797 z m 8.919922,1.585937 -1.269532,1.019532 0.626954,0.783202 0.634765,-0.509765 0.625,0.513672 0.638672,-0.777344 z m -6.779297,1.332031 -0.806641,0.593751 0.914063,1.246093 0.80664,-0.59375 z m 13.716797,0.441407 -0.251955,1.826171 0.984375,0.136717 0.253905,-1.830078 z m -9.376954,0.185547 -1.281249,1.029296 0.624999,0.779297 1.283204,-1.027343 z m 5.181641,0.291016 -0.638672,0.777344 1.947266,1.599609 0.640625,-0.777344 z m -7.736328,1.548827 -0.791016,0.580078 0.712891,0.972657 0.80664,-0.646485 z m 11.376953,1.517578 -0.601563,0.732422 1.408204,1.15625 0.242187,-1.746094 z" /><g
id="g45205"
inkscape:label="symmetric_difference"
style="display:inline"
transform="translate(1.7719137e-4,-4)"><path
id="path45159-6"
style="fill:#ffffff;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers"
d="m 20.5,18.5 c -0.554172,5.02e-4 -1.094987,0.335855 -1.341797,0.832031 l -3,5.998047 v 0.002 c -0.226059,0.454713 -0.200839,1.025238 0.06641,1.457031 0.267246,0.431794 0.765633,0.710428 1.273438,0.710938 h 0.002 6 0.002 c 0.507805,-5.1e-4 1.006192,-0.279144 1.273438,-0.710938 0.267245,-0.431793 0.292465,-1.002318 0.06641,-1.457031 v -0.002 l -3,-5.998047 C 21.594987,18.835855 21.054172,18.500502 20.5,18.5 Z"
sodipodi:nodetypes="ccccssccsscccc"
inkscape:label="stroke" /><path
style="color:#000000;fill:#000000;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke fill markers"
d="m 20.5,19.5 a 0.50005,0.50005 0 0 0 -0.447266,0.277344 l -3,6 A 0.50005,0.50005 0 0 0 17.5,26.5 h 6 a 0.50005,0.50005 0 0 0 0.447266,-0.722656 l -3,-6 A 0.50005,0.50005 0 0 0 20.5,19.5 Z m 0,1.617187 L 22.691406,25.5 h -4.382812 z"
id="path45159"
inkscape:label="fill" /></g></g><metadata
id="metadata6383"><rdf:RDF><cc:Work
rdf:about=""><dc:contributor><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier (Vectorization)
Tomtomtom (eraser)
David Revoy (add/subtract icons)
Deif Lou(symmetric difference, intersect icons)</dc:title></cc:Agent></dc:contributor></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/><cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/><cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike"/></cc:License></rdf:RDF></metadata></svg>