Wed, 25 May 2022 20:36:34 +0300
Fix pick() picking from weird places on the screen with high DPI scaling
glReadPixels reads data from the frame buffer, which contains data after
high DPI scaling, so any reads to that need to take this scaling into account
163 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | <svg | |
3 | xmlns:dc="http://purl.org/dc/elements/1.1/" | |
4 | xmlns:cc="http://creativecommons.org/ns#" | |
5 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
6 | xmlns:svg="http://www.w3.org/2000/svg" | |
7 | xmlns="http://www.w3.org/2000/svg" | |
8 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
9 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
10 | width="512" | |
11 | height="512" | |
12 | viewBox="0 0 512 512" | |
13 | version="1.1" | |
14 | id="svg6" | |
15 | sodipodi:docname="navigate-outline.svg" | |
16 | inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> | |
17 | <metadata | |
18 | id="metadata12"> | |
19 | <rdf:RDF> | |
20 | <cc:Work | |
21 | rdf:about=""> | |
22 | <dc:format>image/svg+xml</dc:format> | |
23 | <dc:type | |
24 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
25 | </cc:Work> | |
26 | </rdf:RDF> | |
27 | </metadata> | |
28 | <defs | |
29 | id="defs10" /> | |
30 | <sodipodi:namedview | |
31 | pagecolor="#ffffff" | |
32 | bordercolor="#666666" | |
33 | borderopacity="1" | |
34 | objecttolerance="10" | |
35 | gridtolerance="10" | |
36 | guidetolerance="10" | |
37 | inkscape:pageopacity="0" | |
38 | inkscape:pageshadow="2" | |
39 | inkscape:window-width="1920" | |
40 | inkscape:window-height="970" | |
41 | id="namedview8" | |
42 | showgrid="false" | |
43 | inkscape:zoom="1.546875" | |
44 | inkscape:cx="256" | |
45 | inkscape:cy="256" | |
46 | inkscape:window-x="0" | |
47 | inkscape:window-y="29" | |
48 | inkscape:window-maximized="1" | |
49 | inkscape:current-layer="svg6" /> | |
50 | <title | |
51 | id="title2">ionicons-v5-f</title> | |
52 | <path | |
53 | d="M448,64,64,240.14H264a8,8,0,0,1,8,8V448Z" | |
54 | style="fill:#ffffff;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px;fill-opacity:1" | |
55 | id="path4" /> | |
56 | </svg> |