Stock cursors are scaled on MSW, but custom cursors are not

Description

Windows has a cursor size setting:

image.png

For anything other than 1, we have some kicad cursor scaled and some not. E.g.

  • Placing footptint (A) pencil cursor is not scaled.
  • "Delete clicked item " rubber is not scaled up
  • Ratnest Length tuning bullseye cursor is scaled. Kicad 7, doesn't have the icon there.
  • "Toggle ratnest display of selected items(s) is also scaled up bullseye. Kicad 7 has the that icon icon there.

I would say, don't scale any of them.

The cursor bitmap is low resolution, looks bad and it only occludes things underneath if scaled up.

I don't know how to take a screenshot with the cursor.

Steps to reproduce

  1. Change cursor size to 5 in Windows Pointer Size settings
  2. Launch length tuning tool in PCBEditor
  3. Observe huge ugly cursor

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 7.99.0-3748-ga352bd4a25, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.2.1
	FontConfig 2.14.2
	libcurl/8.4.0-DEV Schannel zlib/1.3

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Nov 29 2023 06:18:09
	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.4.0-DEV
	ngspice: 41
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: