init(withDataAllocator:data:)
Returns a Quartz event created from a flattened data representation of the event.
Declaration
init?(withDataAllocator allocator: CFAllocator?, data: CFData?)Parameters
- allocator:
The allocator to use to allocate memory for the event object. To use the current default allocator, pass
NULLorkCFAllocatorDefault. - data:
The flattened data representation of the event to reconstruct.
Return Value
An event built from the flattened data representation, or NULL if the eventData parameter is invalid.
Discussion
You can use this function to reconstruct a Quartz event received by network transport from another system.
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()