Gets the scale of pixels per line in a scrolling event source.
- macOS 10.5+
- Mac Catalyst 13.0+
- Core Graphics
The event source to access.
The scale of pixels per line in a scrolling event.
This function returns the scale of pixels per line in the specified event source. For example, if the scale in the event source is 10.5 pixels per line, this function would return 10.5. Every scrolling event can be interpreted to be scrolling by pixel or by line. By default, the scale is about ten pixels per line. You can alter the scale with the function