Sets 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 the specified event source.
This function sets the scale of pixels per line in the specified event source. For example, if you pass the value 12.0 in the
pixels parameter, the scale of pixels per line in the event source would be changed to 12.0. 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 retrieve the scale with the function