This PR replaces our current custom mouse cursors (defined in wm_cursors.cc using bitmaps and masks that we edit with a python program) with SVG sources that are rasterized at the exact size when needed. For Windows this would also replace the 29 platform-specific "cur" files, although this PR does not actually remove those. For Linux this creates the same kind of cursor as now (1bpp XBitMap) but at a better size. Pull Request: https://projects.blender.org/blender/blender/pulls/140990
109 lines
3.0 KiB
XML
109 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg
|
|
width="1100"
|
|
height="1600"
|
|
viewBox="0 0 1100 1599.9999"
|
|
fill="none"
|
|
version="1.1"
|
|
id="svg4"
|
|
sodipodi:docname="cursor_pointer.svg"
|
|
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
|
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">
|
|
<sodipodi:namedview
|
|
id="namedview4"
|
|
pagecolor="#777777"
|
|
bordercolor="#000000"
|
|
borderopacity="0.25"
|
|
inkscape:showpageshadow="2"
|
|
inkscape:pageopacity="0.0"
|
|
inkscape:pagecheckerboard="0"
|
|
inkscape:deskcolor="#d1d1d1"
|
|
showgrid="true"
|
|
showguides="true"
|
|
inkscape:zoom="0.56140412"
|
|
inkscape:cx="561.09314"
|
|
inkscape:cy="843.42096"
|
|
inkscape:window-width="1920"
|
|
inkscape:window-height="1009"
|
|
inkscape:window-x="1912"
|
|
inkscape:window-y="-8"
|
|
inkscape:window-maximized="1"
|
|
inkscape:current-layer="svg4">
|
|
<inkscape:grid
|
|
id="grid4"
|
|
units="px"
|
|
originx="0"
|
|
originy="0"
|
|
spacingx="99.999997"
|
|
spacingy="99.999997"
|
|
empcolor="#0099e5"
|
|
empopacity="0.30196078"
|
|
color="#0099e5"
|
|
opacity="0.14901961"
|
|
empspacing="0"
|
|
dotted="false"
|
|
gridanglex="30"
|
|
gridanglez="30"
|
|
visible="true" />
|
|
<sodipodi:guide
|
|
position="1171.1706,433.28249"
|
|
orientation="0,-1"
|
|
id="guide1"
|
|
inkscape:locked="false" />
|
|
</sodipodi:namedview>
|
|
<path
|
|
d="M 51.042662,122.80084 50.538618,1421.9965 319.10738,1160.0058 474.38493,1534.8463 739.8603,1425.7952 584.90994,1049.0247 l 394.23538,0.1624 z"
|
|
stroke="#0000FF"
|
|
stroke-width="77.3938"
|
|
id="path2"
|
|
style="fill:#ffffff;stroke:#000000;stroke-width:100.286;stroke-dasharray:none;stroke-opacity:1"
|
|
sodipodi:nodetypes="cccccccc" />
|
|
<defs
|
|
id="defs4">
|
|
<filter
|
|
id="filter0_d_40_365"
|
|
x="55.100101"
|
|
y="13.6218"
|
|
width="155.883"
|
|
height="230.843"
|
|
filterUnits="userSpaceOnUse"
|
|
color-interpolation-filters="sRGB">
|
|
<feFlood
|
|
flood-opacity="0"
|
|
result="BackgroundImageFix"
|
|
id="feFlood2" />
|
|
<feColorMatrix
|
|
in="SourceAlpha"
|
|
type="matrix"
|
|
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
result="hardAlpha"
|
|
id="feColorMatrix2" />
|
|
<feOffset
|
|
dx="-3"
|
|
dy="7"
|
|
id="feOffset2" />
|
|
<feGaussianBlur
|
|
stdDeviation="7.5"
|
|
id="feGaussianBlur2" />
|
|
<feColorMatrix
|
|
type="matrix"
|
|
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"
|
|
id="feColorMatrix3" />
|
|
<feBlend
|
|
mode="normal"
|
|
in2="BackgroundImageFix"
|
|
result="effect1_dropShadow_40_365"
|
|
id="feBlend3" />
|
|
<feBlend
|
|
mode="normal"
|
|
in="SourceGraphic"
|
|
in2="effect1_dropShadow_40_365"
|
|
result="shape"
|
|
id="feBlend4" />
|
|
</filter>
|
|
</defs>
|
|
</svg>
|