]> de.git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/crosshairs/luma/gfx/common.filters
Render Luma crosshairs with Inkscape to avoid rsvg inconsistencies
[xonotic/mediasource.git] / gfx / crosshairs / luma / gfx / common.filters
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64">
3         <defs>
4                 <filter id="shadow" x="-0.5" y="-0.5" width="2" height="2" color-interpolation-filters="sRGB">
5                         <feMorphology operator="dilate" radius="1" in="SourceGraphic"/>
6                         <feColorMatrix values="0.25 0 0 0 0 0 0.25 0 0 0 0 0 0.25 0 0 0 0 0 0.5 0"/>
7                         <feGaussianBlur stdDeviation="1" result="shadow"/>
8                         <feMerge>
9                                 <feMergeNode in="shadow"/>
10                                 <feMergeNode in="SourceGraphic"/>
11                         </feMerge>
12                 </filter>
13                 <filter id="shadowdot" x="-0.5" y="-0.5" width="2" height="2" color-interpolation-filters="sRGB">
14                         <feMorphology operator="dilate" radius="1" in="SourceGraphic"/>
15                         <feColorMatrix values="0.25 0 0 0 0 0 0.25 0 0 0 0 0 0.25 0 0 0 0 0 0.875 0"/>
16                         <feGaussianBlur stdDeviation="2" result="shadow"/>
17                         <feMerge>
18                                 <feMergeNode in="shadow"/>
19                                 <feMergeNode in="SourceGraphic"/>
20                         </feMerge>
21                 </filter>
22         </defs>
23 </svg>