No overview available.
Framework
- Core Graphics
No overview available.
Framework
CGAcquire Display Fade Reservation
Reserves the fade hardware for a specified time interval.
CGAssociate Mouse And Mouse Cursor Position
Connects or disconnects the mouse and cursor while an application is in the foreground.
CGBegin Display Configuration
Begins a new set of display configuration changes.
CGCancel Display Configuration
Cancels a set of display configuration changes.
CGCapture All Displays
Captures all attached displays.
CGCapture All Displays With Options
Captures all attached displays, using the specified options.
CGColor Conversion Info Create From List
Creates a conversion between an arbitrary number of specified color spaces.
CGComplete Display Configuration
Completes a set of display configuration changes.
CGConfigure Display Fade Effect
Modifies the settings of the built-in fade effect that occurs during a display configuration.
CGConfigure Display Mirror Of Display
Changes the configuration of a mirroring set.
CGConfigure Display Origin
Configures the origin of a display in the global display coordinate space.
CGConfigure Display Stereo Operation
Enables or disables stereo operation for a display, as part of a display configuration.
CGConfigure Display With Display Mode
Configures the display mode of a display.
CGContext Draw PDFDocument
DeprecatedCGCursor Is Drawn In Framebuffer
Returns a Boolean value indicating whether the mouse cursor is drawn in framebuffer memory.
CGDirect Display Copy Current Metal Device
Returns a reference to the Metal device currently driving a given display.
CGDisplay Best Mode For Parameters
Returns information about the display mode closest to a specified depth and screen size.
CGDisplay Best Mode For Parameters And Refresh Rate
Returns information about the display mode closest to a specified depth, screen size, and refresh rate.
CGDisplay Bounds
Returns the bounds of a display in the global display coordinate space.
CGDisplay Capture
Captures a display for exclusive use by an application.
CGDisplay Capture With Options
Captures a display for exclusive use by an application, using the specified options.
CGDisplay Copy All Display Modes
Returns information about the currently available display modes.
CGDisplay Copy Color Space
Returns the color space for a display.
CGDisplay Copy Display Mode
Returns information about a display’s current configuration.
CGDisplay Create Image
Returns an image containing the contents of the specified display.
CGDisplay Create Image For Rect
Returns an image containing the contents of a portion of the specified display.
CGDisplay Fade
Performs a single fade operation.
CGDisplay Fade Operation In Progress
Returns a Boolean value indicating whether a fade operation is currently in progress.
CGDisplay Gamma Table Capacity
Returns the capacity, or number of entries, in the gamma table for a display.
CGDisplay Get Drawing Context
Returns a graphics context suitable for drawing to a captured display.
CGDisplay Hide Cursor
Hides the mouse cursor, and increments the hide cursor count.
CGDisplay IDTo Open GLDisplay Mask
Maps a display ID to an OpenGL display mask.
CGDisplay Is Active
Returns a Boolean value indicating whether a display is active.
CGDisplay Is Always In Mirror Set
Returns a Boolean value indicating whether a display is always in a mirroring set.
CGDisplay Is Asleep
Returns a Boolean value indicating whether a display is sleeping (and is therefore not drawable).
CGDisplay Is Builtin
Returns a Boolean value indicating whether a display is built-in, such as the internal display in portable systems.
CGDisplay Is In HWMirror Set
Returns a Boolean value indicating whether a display is in a hardware mirroring set.
CGDisplay Is In Mirror Set
Returns a Boolean value indicating whether a display is in a mirroring set.
CGDisplay Is Main
Returns a Boolean value indicating whether a display is the main display.
CGDisplay Is Online
Returns a Boolean value indicating whether a display is connected or online.
CGDisplay Is Stereo
Returns a Boolean value indicating whether a display is running in a stereo graphics mode.
CGDisplay Mirrors Display
For a secondary display in a mirroring set, returns the primary display.
CGDisplay Mode Get Height
Returns the height of the specified display mode.
CGDisplay Mode Get IODisplay Mode ID
Returns the I/O Kit display mode ID of the specified display mode.
CGDisplay Mode Get IOFlags
Returns the I/O Kit flags of the specified display mode.
CGDisplay Mode Get Refresh Rate
Returns the refresh rate of the specified display mode.
CGDisplay Mode Get Type ID
Returns the type identifier of Quartz display modes.
CGDisplay Mode Get Width
Returns the width of the specified display mode.
CGDisplay Mode Is Usable For Desktop GUI
Returns a Boolean value indicating whether the specified display mode is usable for a desktop graphical user interface.
CGDisplay Mode Release
Releases a Core Graphics display mode.
CGDisplay Mode Retain
Retains a Core Graphics display mode.
CGDisplay Model Number
Returns the model number of a display monitor.
CGDisplay Move Cursor To Point
Moves the mouse cursor to a specified point relative to the display origin (the upper-left corner of the display).
CGDisplay Pixels High
Returns the display height in pixel units.
CGDisplay Pixels Wide
Returns the display width in pixel units.
CGDisplay Primary Display
Returns the primary display in a hardware mirroring set.
CGDisplay Register Reconfiguration Callback
Registers a callback function to be invoked whenever a local display is reconfigured.
CGDisplay Release
Releases a captured display.
CGDisplay Remove Reconfiguration Callback
Removes the registration of a callback function that’s invoked whenever a local display is reconfigured.
CGDisplay Restore Color Sync Settings
Restores the gamma tables to the values in the user’s ColorSync display profile.
CGDisplay Rotation
Returns the rotation angle of a display in degrees.
CGDisplay Screen Size
Returns the width and height of a display in millimeters.
CGDisplay Serial Number
Returns the serial number of a display monitor.
CGDisplay Set Display Mode
Switches a display to a different mode.
CGDisplay Set Stereo Operation
Immediately enables or disables stereo operation for a display.
CGDisplay Show Cursor
Decrements the hide cursor count, and shows the mouse cursor if the count is 0.
CGDisplay Stream Create
Creates a new display stream to be used with a CFRunloop
.
CGDisplay Stream Create With Dispatch Queue
Creates a new display stream whose updates are delivered to a dispatch queue.
CGDisplay Stream Get Run Loop Source
Gets the run loop source for a display stream.
CGDisplay Stream Start
Tells a stream to start sending updates.
CGDisplay Stream Stop
Tells a stream to stop sending updates.
CGDisplay Stream Update Create Merged Update
Combines two updates into a new update that includes the metadata for both source updates.
CGDisplay Stream Update Get Drop Count
Returns the number of frames that have been dropped since the last call to your update handler.
CGDisplay Stream Update Get Moved Rects Delta
Return the movement delta values for a single update.
CGDisplay Stream Update Get Rects
Returns an array of rectangles that describe where the frame has changed since the previous frame.
CGDisplay Stream Update Get Type ID
Returns the type identifier of a Quartz display stream update.
CGDisplay Unit Number
Returns the logical unit number of a display.
CGDisplay Uses Open GLAcceleration
Returns a Boolean value indicating whether Quartz is using OpenGL-based window acceleration (Quartz Extreme) to render in a display.
CGDisplay Vendor Number
Returns the vendor number of the specified display’s monitor.
CGEnable Event State Combining
Enables or disables the merging of actual key and mouse state with the application-specified state in a synthetic event.
CGEvent Create
Returns a new Quartz event.
CGEvent Create Copy
Returns a copy of an existing Quartz event.
CGEvent Create Data
Returns a flattened data representation of a Quartz event.
CGEvent Create From Data
Returns a Quartz event created from a flattened data representation of the event.
CGEvent Create Keyboard Event
Returns a new Quartz keyboard event.
CGEvent Create Mouse Event
Returns a new Quartz mouse event.
CGEvent Create Scroll Wheel Event
Returns a new Quartz scrolling event.
CGEvent Create Source From Event
Returns a Quartz event source created from an existing Quartz event.
CGEvent Get Double Value Field
Returns the floating-point value of a field in a Quartz event.
CGEvent Get Flags
Returns the event flags of a Quartz event.
CGEvent Get Integer Value Field
Returns the integer value of a field in a Quartz event.
CGEvent Get Location
Returns the location of a Quartz mouse event.
CGEvent Get Timestamp
Returns the timestamp of a Quartz event.
CGEvent Get Type
Returns the event type of a Quartz event (left mouse down, for example).
CGEvent Get Type ID
Returns the type identifier for the opaque type CGEvent
.
CGEvent Get Unflipped Location
Returns the location of a Quartz mouse event.
CGEvent Keyboard Get Unicode String
Returns the Unicode string associated with a Quartz keyboard event.
CGEvent Keyboard Set Unicode String
Sets the Unicode string associated with a Quartz keyboard event.
CGEvent Post
Posts a Quartz event into the event stream at a specified location.
CGEvent Post To PSN
Posts a Quartz event into the event stream for a specific application.
CGEvent Set Double Value Field
Sets the floating-point value of a field in a Quartz event.
CGEvent Set Flags
Sets the event flags of a Quartz event.
CGEvent Set Integer Value Field
Sets the integer value of a field in a Quartz event.
CGEvent Set Location
Sets the location of a Quartz mouse event.
CGEvent Set Source
Sets the event source of a Quartz event.
CGEvent Set Timestamp
Sets the timestamp of a Quartz event.
CGEvent Set Type
Sets the event type of a Quartz event (left mouse down, for example).
CGEvent Source Button State
Returns a Boolean value indicating the current button state of a Quartz event source.
CGEvent Source Counter For Event Type
Returns a count of events of a given type seen since the window server started.
CGEvent Source Create
Returns a Quartz event source created with a specified source state.
CGEvent Source Flags State
Returns the current flags of a Quartz event source.
CGEvent Source Get Keyboard Type
Returns the keyboard type to be used with a Quartz event source.
CGEvent Source Get Local Events Filter During Suppression State
Returns the mask that indicates which classes of local hardware events are enabled during event suppression.
CGEvent Source Get Pixels Per Line
Gets the scale of pixels per line in a scrolling event source.
CGEvent Source Get Source State ID
Returns the source state associated with a Quartz event source.
CGEvent Source Get Type ID
Returns the type identifier for the opaque type CGEvent
.
CGEvent Source Get User Data
Returns the 64-bit user-specified data for a Quartz event source.
CGEvent Source Key State
Returns a Boolean value indicating the current keyboard state of a Quartz event source.
CGEvent Source Seconds Since Last Event Type
Returns the elapsed time since the last event for a Quartz event source.
CGEvent Source Set Keyboard Type
Sets the keyboard type to be used with a Quartz event source.
CGEvent Source Set Local Events Filter During Suppression State
Sets the mask that indicates which classes of local hardware events are enabled during event suppression.
CGEvent Source Set Local Events Suppression Interval
Sets the interval that local hardware events may be suppressed following the posting of a Quartz event.
CGEvent Source Set Pixels Per Line
Sets the scale of pixels per line in a scrolling event source.
CGEvent Source Set User Data
Sets the 64-bit user-specified data for a Quartz event source.
CGEvent Tap Create
Creates an event tap.
CGEvent Tap Create For PSN
Creates an event tap for a specified process.
CGEvent Tap Enable
Enables or disables an event tap.
CGEvent Tap Is Enabled
Returns a Boolean value indicating whether an event tap is enabled.
CGEvent Tap Post Event
Posts a Quartz event from an event tap into the event stream.
CGGet Active Display List
Provides a list of displays that are active (or drawable).
CGGet Display Transfer By Formula
Gets the coefficients of the gamma transfer formula for a display.
CGGet Display Transfer By Table
Gets the values in the RGB gamma tables for a display.
CGGet Displays With Open GLDisplay Mask
Provides a list of displays that corresponds to the bits set in an OpenGL display mask.
CGGet Displays With Point
Provides a list of online displays with bounds that include the specified point.
CGGet Displays With Rect
Gets a list of online displays with bounds that intersect the specified rectangle.
CGGet Event Tap List
Gets a list of currently installed event taps.
CGGet Last Mouse Delta
Reports the change in mouse position since the last mouse movement event received by the application.
CGGet Online Display List
Provides a list of displays that are online (active, mirrored, or sleeping).
CGImage Get UTType
The Universal Type Identifier for the image.
CGMain Display ID
Returns the display ID of the main display.
CGOpen GLDisplay Mask To Display ID
Maps an OpenGL display mask to a display ID.
CGPoint Equal To Point
Returns whether two points are equal.
CGRegister Screen Refresh Callback
Registers a callback function to be invoked when local displays are refreshed or modified.
CGRelease All Displays
Releases all captured displays.
CGRelease Display Fade Reservation
Releases a display fade reservation, and unfades the display if needed.
CGRelease Screen Refresh Rects
Deallocates a list of rectangles that represent changed areas on local displays.
CGRestore Permanent Display Configuration
Restores the permanent display configuration settings for the current user.
CGScreen Register Move Callback
Registers a callback function to be invoked when an area of the display is moved.
CGScreen Unregister Move Callback
Removes a previously registered callback function invoked when an area of the display is moved.
CGSession Copy Current Dictionary
Returns information about the caller’s window server session.
CGSet Display Transfer By Byte Table
Sets the byte values in the 8-bit RGB gamma tables for a display.
CGSet Display Transfer By Formula
Sets the gamma function for a display by specifying the coefficients of the gamma transfer formula.
CGSet Display Transfer By Table
Sets the color gamma function for a display by specifying the values in the RGB gamma tables.
CGSet Local Events Filter During Suppression State
Filters local hardware events from the keyboard and mouse during the short interval after a synthetic event is posted.
CGSet Local Events Suppression Interval
Sets the time interval in seconds that local hardware events are suppressed after posting a synthetic event.
CGShielding Window ID
Returns the window ID of the shield window for a captured display.
CGShielding Window Level
Returns the window level of the shield window for a captured display.
CGSize Equal To Size
Returns whether two sizes are equal.
CGUnregister Screen Refresh Callback
Removes a previously registered callback function invoked when local displays are refreshed or modified.
CGWarp Mouse Cursor Position
Moves the mouse cursor without generating events.
CGWindow Level For Key
Returns the window level that corresponds to one of the standard window types.
CGWindow List Copy Window Info
Generates and returns information about the selected windows in the current user session.
CGWindow List Create
Returns the list of window IDs associated with the specified windows in the current user session.
CGWindow List Create Description From Array
Generates and returns information about windows with the specified window IDs.
CGWindow List Create Image
Returns a composite image based on a dynamically generated list of windows.
CGWindow List Create Image From Array
Returns a composite image of the specified windows.
CGWindow Server CFMach Port
Returns a Core Foundation Mach port (CFMachPort) that corresponds to the macOS window server.
CGColor Conversion Info Create
Creates a conversion between two specified color spaces.
CGEvent Source Get Local Events Suppression Interval
Returns the interval that local hardware events may be suppressed following the posting of a Quartz event.
CGDisplay Stream Get Type ID
Returns the type identifier of a Quartz display stream.
CGColor Conversion Info Get Type ID
Returns the Core Foundation type identifier for a color conversion info data type.