Sets the floating-point value of a field in a Quartz event.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
The event to access.
A field in the specified event. Pass one of the constants listed in
The new value of the specified field.
Before calling this function, the event type must be set using a typed event creation function such as
init(mouse, or by calling
In cases where the field’s value is represented within the event by a fixed point number or integer, the
value parameter is scaled as needed and converted to the appropriate type.