PR #3712: HighDPI and Sketcher cursors

Post here if you have re-based and finalised code to integrate into master, which was discussed, agreed to and tested in other forums. You can also submit your PR directly on github.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
vanuan
Posts: 539
Joined: Wed Oct 24, 2018 9:49 pm

PR #3712: HighDPI and Sketcher cursors

Post by vanuan »

This is a part of a larger project, https://wiki.freecadweb.org/HiDPI_support

This PR contains a fix for cursor size in the Sketcher Workbench.

It includes:
  • Replace XPM icons with SVG
  • Scale up 32x32 cursors to appropriate device pixel ratio (from 125% to 400%, depending on the corresponding OS setting).
  • Add helpers to Bitmap factory for color mapping (e.g. crosshair cursor in Sketcher color preferences)
https://github.com/FreeCAD/FreeCAD/pull/3712
Post Reply