package core:sys/darwin/CoreGraphics

Warning: This was generated for -target:windows_amd64 and might not represent every target this package supports.

⌘K
Ctrl+K
or
/

    Index

    Types (222)
    Variables (130)
    Procedures (729)
    Procedure Groups (0)

    This section is empty.

    Types

    AffineTransformComponents ¶

    AffineTransformComponents :: struct #align (8) {
    	scale:           Size,
    	horizontalShear: f64,
    	rotation:        f64,
    	translation:     Vector,
    }

    BitmapContextReleaseDataCallback ¶

    BitmapContextReleaseDataCallback :: proc "c" (releaseInfo: rawptr, data: rawptr)

    BitmapInfo ¶

    BitmapInfo :: enum u32 {
    	AlphaInfoMask       = 31, 
    	ComponentInfoMask   = 3840, 
    	ByteOrderInfoMask   = 28672, 
    	PixelFormatInfoMask = 983040, 
    	FloatInfoMask       = 3840, 
    	ByteOrderMask       = 28672, 
    	FloatComponents     = 256, 
    	ByteOrderDefault    = 0, 
    	ByteOrder16Little   = 4096, 
    	ByteOrder32Little   = 8192, 
    	ByteOrder16Big      = 12288, 
    	ByteOrder32Big      = 16384, 
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    BitmapLayout ¶

    BitmapLayout :: enum u32 {
    	AlphaOnly = 0, 
    	Gray      = 1, 
    	GrayAlpha = 2, 
    	RGBA      = 3, 
    	ARGB      = 4, 
    	RGBX      = 5, 
    	XRGB      = 6, 
    	BGRA      = 7, 
    	BGRX      = 8, 
    	ABGR      = 9, 
    	XBGR      = 10, 
    	CMYK      = 11, 
    }

    BitmapParameters ¶

    BitmapParameters :: struct #align (8) {
    	width:                 uint,
    	height:                uint,
    	bytesPerPixel:         uint,
    	alignedBytesPerRow:    uint,
    	component:             Component,
    	layout:                BitmapLayout,
    	format:                ImagePixelFormatInfo,
    	colorSpace:            ColorSpaceRef,
    	hasPremultipliedAlpha: bool,
    	byteOrder:             i64,
    	edrTargetHeadroom:     f32,
    }

    BlendMode ¶

    BlendMode :: enum i32 {
    	Normal          = 0, 
    	Multiply        = 1, 
    	Screen          = 2, 
    	Overlay         = 3, 
    	Darken          = 4, 
    	Lighten         = 5, 
    	ColorDodge      = 6, 
    	ColorBurn       = 7, 
    	SoftLight       = 8, 
    	HardLight       = 9, 
    	Difference      = 10, 
    	Exclusion       = 11, 
    	Hue             = 12, 
    	Saturation      = 13, 
    	Color           = 14, 
    	Luminosity      = 15, 
    	Clear           = 16, 
    	Copy            = 17, 
    	SourceIn        = 18, 
    	SourceOut       = 19, 
    	SourceAtop      = 20, 
    	DestinationOver = 21, 
    	DestinationIn   = 22, 
    	DestinationOut  = 23, 
    	DestinationAtop = 24, 
    	XOR             = 25, 
    	PlusDarker      = 26, 
    	PlusLighter     = 27, 
    }

    ButtonCount ¶

    ButtonCount :: distinct u32

    CaptureOption ¶

    CaptureOption :: enum u32 {
    	NoFill = 0, 
    }

    CharCode ¶

    CharCode :: distinct u16

    ColorBufferFormat ¶

    ColorBufferFormat :: struct #align (8) {
    	version:          u32,
    	bitmapInfo:       BitmapInfo,
    	bitsPerComponent: uint,
    	bitsPerPixel:     uint,
    	bytesPerRow:      uint,
    }

    ColorConversionInfoTransformType ¶

    ColorConversionInfoTransformType :: enum u32 {
    	FromSpace  = 0, 
    	ToSpace    = 1, 
    	ApplySpace = 2, 
    }

    Related Procedures With Parameters

    ColorDataFormat ¶

    ColorDataFormat :: struct #align (8) {
    	version:            u32,
    	colorspace_info:    rawptr,
    	bitmap_info:        BitmapInfo,
    	bits_per_component: uint,
    	bytes_per_row:      uint,
    	intent:             ColorRenderingIntent,
    	decode:             ^f64,
    }

    ColorModelFlag ¶

    ColorModelFlag :: enum u32 {
    	Gray    = 0, 
    	RGB     = 1, 
    	CMYK    = 2, 
    	Lab     = 3, 
    	DeviceN = 4, 
    }

    ColorSpaceModel ¶

    ColorSpaceModel :: enum i32 {
    	Unknown    = -1, 
    	Monochrome = 0, 
    	RGB        = 1, 
    	CMYK       = 2, 
    	Lab        = 3, 
    	DeviceN    = 4, 
    	Indexed    = 5, 
    	Pattern    = 6, 
    	XYZ        = 7, 
    }

    ColorSpaceRef ¶

    ColorSpaceRef :: distinct ^ColorSpace

    Related Procedures With Parameters

    Related Procedures With Returns

    ColorSyncProfileRef ¶

    ColorSyncProfileRef :: distinct ^ColorSyncProfile

    Component ¶

    Component :: enum u32 {
    	Unknown      = 0, 
    	Integer8Bit  = 1, 
    	Integer10Bit = 6, 
    	Integer16Bit = 2, 
    	Integer32Bit = 3, 
    	Float16Bit   = 5, 
    	Float32Bit   = 4, 
    }

    ConfigureOption ¶

    ConfigureOption :: enum u32 {
    	ForAppOnly  = 0, 
    	ForSession  = 1, 
    	Permanently = 2, 
    }

    Related Procedures With Parameters

    ContentInfo ¶

    ContentInfo :: struct #align (4) {
    	deepestImageComponent:  Component,
    	contentColorModels:     bit_set[ColorModelFlag; u32],
    	hasWideGamut:           bool,
    	hasTransparency:        bool,
    	largestContentHeadroom: f32,
    }

    ContentToneMappingInfo ¶

    ContentToneMappingInfo :: struct #align (8) {
    	method:  ToneMapping,
    	options: ^darwin_CoreFoundation.__CFDictionary,
    }

    DataConsumerCallbacks ¶

    DataConsumerCallbacks :: struct #align (8) {
    	putBytes:        DataConsumerPutBytesCallback,
    	releaseConsumer: DataConsumerReleaseInfoCallback,
    }

    DataConsumerPutBytesCallback ¶

    DataConsumerPutBytesCallback :: proc "c" (info: rawptr, buffer: rawptr, count: uint) -> uint

    DataConsumerReleaseInfoCallback ¶

    DataConsumerReleaseInfoCallback :: proc "c" (info: rawptr)

    DataProviderDirectCallbacks ¶

    DataProviderDirectCallbacks :: struct #align (8) {
    	version:            u32,
    	getBytePointer:     proc "c" (info: rawptr) -> rawptr,
    	releaseBytePointer: proc "c" (info: rawptr, pointer: rawptr),
    	getBytesAtPosition: DataProviderGetBytesAtPositionCallback,
    	releaseInfo:        DataProviderReleaseInfoCallback,
    }

    DataProviderGetBytesAtPositionCallback ¶

    DataProviderGetBytesAtPositionCallback :: proc "c" (info: rawptr, buffer: rawptr, pos: posix.off_t, cnt: uint) -> uint

    DataProviderGetBytesCallback ¶

    DataProviderGetBytesCallback :: proc "c" (info: rawptr, buffer: rawptr, count: uint) -> uint

    DataProviderReleaseDataCallback ¶

    DataProviderReleaseDataCallback :: proc "c" (info: rawptr, data: rawptr, size: uint)

    DataProviderReleaseInfoCallback ¶

    DataProviderReleaseInfoCallback :: proc "c" (info: rawptr)

    DataProviderRewindCallback ¶

    DataProviderRewindCallback :: proc "c" (info: rawptr)

    DataProviderSequentialCallbacks ¶

    DataProviderSequentialCallbacks :: struct #align (8) {
    	version:     u32,
    	getBytes:    DataProviderGetBytesCallback,
    	skipForward: DataProviderSkipForwardCallback,
    	rewind:      DataProviderRewindCallback,
    	releaseInfo: DataProviderReleaseInfoCallback,
    }

    DataProviderSkipForwardCallback ¶

    DataProviderSkipForwardCallback :: proc "c" (info: rawptr, count: posix.off_t) -> posix.off_t

    DeviceColor ¶

    DeviceColor :: struct #align (4) {
    	red:   f32,
    	green: f32,
    	blue:  f32,
    }

    DirectDisplayID ¶

    DirectDisplayID :: distinct u32

    Related Procedures With Parameters

    Related Procedures With Returns

    DisplayBlendFraction ¶

    DisplayBlendFraction :: distinct f32

    DisplayChangeSummaryFlag ¶

    DisplayChangeSummaryFlag :: enum u32 {
    	BeginConfigurationFlag  = 0, 
    	MovedFlag               = 1, 
    	SetMainFlag             = 2, 
    	SetModeFlag             = 3, 
    	AddFlag                 = 4, 
    	RemoveFlag              = 5, 
    	EnabledFlag             = 8, 
    	DisabledFlag            = 9, 
    	MirrorFlag              = 10, 
    	UnMirrorFlag            = 11, 
    	DesktopShapeChangedFlag = 12, 
    }

    DisplayErr ¶

    DisplayErr :: enum i32 {
    	Success           = 0, 
    	Failure           = 1000, 
    	IllegalArgument   = 1001, 
    	InvalidConnection = 1002, 
    	InvalidContext    = 1003, 
    	CannotComplete    = 1004, 
    	NotImplemented    = 1006, 
    	RangeCheck        = 1007, 
    	TypeCheck         = 1008, 
    	InvalidOperation  = 1010, 
    	NoneAvailable     = 1011, 
    }

    DisplayFadeInterval ¶

    DisplayFadeInterval :: distinct f32

    Related Procedures With Parameters

    DisplayReconfigurationCallBack ¶

    DisplayReconfigurationCallBack :: proc "c" (display: DirectDisplayID, flags: bit_set[DisplayChangeSummaryFlag; u32], userInfo: rawptr)

    Related Procedures With Parameters

    DisplayReservationInterval ¶

    DisplayReservationInterval :: distinct f32

    DisplayStreamFrameAvailableHandler ¶

    DisplayStreamFrameAvailableHandler :: ^runtime.Objc_Block($T=proc "cdecl" (DisplayStreamFrameStatus, u64, IOSurfaceRef, DisplayStreamUpdateRef))

    Related Procedures With Parameters

    DisplayStreamFrameStatus ¶

    DisplayStreamFrameStatus :: enum i32 {
    	FrameComplete = 0, 
    	FrameIdle     = 1, 
    	FrameBlank    = 2, 
    	Stopped       = 3, 
    }

    DisplayStreamUpdateRectType ¶

    DisplayStreamUpdateRectType :: enum i32 {
    	RefreshedRects    = 0, 
    	MovedRects        = 1, 
    	DirtyRects        = 2, 
    	ReducedDirtyRects = 3, 
    }

    Error ¶

    Error :: enum i32 {
    	Success           = 0, 
    	Failure           = 1000, 
    	IllegalArgument   = 1001, 
    	InvalidConnection = 1002, 
    	InvalidContext    = 1003, 
    	CannotComplete    = 1004, 
    	NotImplemented    = 1006, 
    	RangeCheck        = 1007, 
    	TypeCheck         = 1008, 
    	InvalidOperation  = 1010, 
    	NoneAvailable     = 1011, 
    }

    Related Procedures With Returns

    ErrorCallback ¶

    ErrorCallback :: proc "c" ()

    EventErr ¶

    EventErr :: enum i32 {
    	Success           = 0, 
    	Failure           = 1000, 
    	IllegalArgument   = 1001, 
    	InvalidConnection = 1002, 
    	InvalidContext    = 1003, 
    	CannotComplete    = 1004, 
    	NotImplemented    = 1006, 
    	RangeCheck        = 1007, 
    	TypeCheck         = 1008, 
    	InvalidOperation  = 1010, 
    	NoneAvailable     = 1011, 
    }

    EventField ¶

    EventField :: enum u32 {
    	MouseEventNumber                                        = 0, 
    	MouseEventClickState                                    = 1, 
    	MouseEventPressure                                      = 2, 
    	MouseEventButtonNumber                                  = 3, 
    	MouseEventDeltaX                                        = 4, 
    	MouseEventDeltaY                                        = 5, 
    	MouseEventInstantMouser                                 = 6, 
    	MouseEventSubtype                                       = 7, 
    	KeyboardEventAutorepeat                                 = 8, 
    	KeyboardEventKeycode                                    = 9, 
    	KeyboardEventKeyboardType                               = 10, 
    	ScrollWheelEventDeltaAxis1                              = 11, 
    	ScrollWheelEventDeltaAxis2                              = 12, 
    	ScrollWheelEventDeltaAxis3                              = 13, 
    	ScrollWheelEventFixedPtDeltaAxis1                       = 93, 
    	ScrollWheelEventFixedPtDeltaAxis2                       = 94, 
    	ScrollWheelEventFixedPtDeltaAxis3                       = 95, 
    	ScrollWheelEventPointDeltaAxis1                         = 96, 
    	ScrollWheelEventPointDeltaAxis2                         = 97, 
    	ScrollWheelEventPointDeltaAxis3                         = 98, 
    	ScrollWheelEventScrollPhase                             = 99, 
    	ScrollWheelEventScrollCount                             = 100, 
    	ScrollWheelEventMomentumPhase                           = 123, 
    	ScrollWheelEventInstantMouser                           = 14, 
    	TabletEventPointX                                       = 15, 
    	TabletEventPointY                                       = 16, 
    	TabletEventPointZ                                       = 17, 
    	TabletEventPointButtons                                 = 18, 
    	TabletEventPointPressure                                = 19, 
    	TabletEventTiltX                                        = 20, 
    	TabletEventTiltY                                        = 21, 
    	TabletEventRotation                                     = 22, 
    	TabletEventTangentialPressure                           = 23, 
    	TabletEventDeviceID                                     = 24, 
    	TabletEventVendor1                                      = 25, 
    	TabletEventVendor2                                      = 26, 
    	TabletEventVendor3                                      = 27, 
    	TabletProximityEventVendorID                            = 28, 
    	TabletProximityEventTabletID                            = 29, 
    	TabletProximityEventPointerID                           = 30, 
    	TabletProximityEventDeviceID                            = 31, 
    	TabletProximityEventSystemTabletID                      = 32, 
    	TabletProximityEventVendorPointerType                   = 33, 
    	TabletProximityEventVendorPointerSerialNumber           = 34, 
    	TabletProximityEventVendorUniqueID                      = 35, 
    	TabletProximityEventCapabilityMask                      = 36, 
    	TabletProximityEventPointerType                         = 37, 
    	TabletProximityEventEnterProximity                      = 38, 
    	TargetProcessSerialNumber                               = 39, 
    	TargetUnixProcessID                                     = 40, 
    	SourceUnixProcessID                                     = 41, 
    	SourceUserData                                          = 42, 
    	SourceUserID                                            = 43, 
    	SourceGroupID                                           = 44, 
    	SourceStateID                                           = 45, 
    	ScrollWheelEventIsContinuous                            = 88, 
    	MouseEventWindowUnderMousePointer                       = 91, 
    	MouseEventWindowUnderMousePointerThatCanHandleThisEvent = 92, 
    	UnacceleratedPointerMovementX                           = 170, 
    	UnacceleratedPointerMovementY                           = 171, 
    	ScrollWheelEventMomentumOptionPhase                     = 173, 
    	ScrollWheelEventAcceleratedDeltaAxis1                   = 176, 
    	ScrollWheelEventAcceleratedDeltaAxis2                   = 175, 
    	ScrollWheelEventRawDeltaAxis1                           = 178, 
    	ScrollWheelEventRawDeltaAxis2                           = 177, 
    }

    Related Procedures With Parameters

    EventFilterMaskFlag ¶

    EventFilterMaskFlag :: enum u32 {
    	PermitLocalMouseEvents    = 0, 
    	PermitLocalKeyboardEvents = 1, 
    	PermitSystemDefinedEvents = 2, 
    }

    EventFlag ¶

    EventFlag :: enum u64 {
    	FlagMaskAlphaShift   = 16, 
    	FlagMaskShift        = 17, 
    	FlagMaskControl      = 18, 
    	FlagMaskAlternate    = 19, 
    	FlagMaskCommand      = 20, 
    	FlagMaskHelp         = 22, 
    	FlagMaskSecondaryFn  = 23, 
    	FlagMaskNumericPad   = 21, 
    	FlagMaskNonCoalesced = 8, 
    }

    EventFlags ¶

    EventFlags :: bit_set[EventFlag; u64]

    Related Procedures With Returns

    EventMouseSubtype ¶

    EventMouseSubtype :: enum u32 {
    	Default         = 0, 
    	TabletPoint     = 1, 
    	TabletProximity = 2, 
    }

    EventSourceKeyboardType ¶

    EventSourceKeyboardType :: distinct u32

    EventSourceStateID ¶

    EventSourceStateID :: enum i32 {
    	Private              = -1, 
    	CombinedSessionState = 0, 
    	HIDSystemState       = 1, 
    }

    Related Procedures With Parameters

    EventSuppressionState ¶

    EventSuppressionState :: enum u32 {
    	SuppressionInterval            = 0, 
    	RemoteMouseDrag                = 1, 
    	NumberOfEventSuppressionStates = 2, 
    }

    Related Procedures With Parameters

    EventTapCallBack ¶

    EventTapCallBack :: proc "c" (proxy: EventTapProxy, type: EventType, event: EventRef, userInfo: rawptr) -> EventRef

    Related Procedures With Parameters

    EventTapInformation ¶

    EventTapInformation :: struct #align (8) {
    	eventTapID:         u32,
    	tapPoint:           EventTapLocation,
    	options:            bit_set[EventTapOption; u32],
    	eventsOfInterest:   EventMask,
    	tappingProcess:     posix.pid_t,
    	processBeingTapped: posix.pid_t,
    	enabled:            bool,
    	minUsecLatency:     f32,
    	avgUsecLatency:     f32,
    	maxUsecLatency:     f32,
    }

    EventTapLocation ¶

    EventTapLocation :: enum u32 {
    	HIDEventTap              = 0, 
    	SessionEventTap          = 1, 
    	AnnotatedSessionEventTap = 2, 
    }

    Related Procedures With Parameters

    EventTapOption ¶

    EventTapOption :: enum u32 {
    	ListenOnly = 0, 
    }

    EventTapPlacement ¶

    EventTapPlacement :: enum u32 {
    	HeadInsertEventTap = 0, 
    	TailAppendEventTap = 1, 
    }

    Related Procedures With Parameters

    EventTapProxy ¶

    EventTapProxy :: distinct ^__CGEventTapProxy

    EventTimestamp ¶

    EventTimestamp :: distinct u64

    EventType ¶

    EventType :: enum u32 {
    	Null                   = 0, 
    	LeftMouseDown          = 1, 
    	LeftMouseUp            = 2, 
    	RightMouseDown         = 3, 
    	RightMouseUp           = 4, 
    	MouseMoved             = 5, 
    	LeftMouseDragged       = 6, 
    	RightMouseDragged      = 7, 
    	KeyDown                = 10, 
    	KeyUp                  = 11, 
    	FlagsChanged           = 12, 
    	ScrollWheel            = 22, 
    	TabletPointer          = 23, 
    	TabletProximity        = 24, 
    	OtherMouseDown         = 25, 
    	OtherMouseUp           = 26, 
    	OtherMouseDragged      = 27, 
    	TapDisabledByTimeout   = 4294967294, 
    	TapDisabledByUserInput = 4294967295, 
    }

    Related Procedures With Parameters

    Float ¶

    Float :: f64

    Related Procedures With Parameters

    Related Procedures With Returns

    FontPostScriptFormat ¶

    FontPostScriptFormat :: enum i32 {
    	Type1  = 1, 
    	Type3  = 3, 
    	Type42 = 42, 
    }

    Related Procedures With Parameters

    FunctionCallbacks ¶

    FunctionCallbacks :: struct #align (8) {
    	version:     u32,
    	evaluate:    FunctionEvaluateCallback,
    	releaseInfo: FunctionReleaseInfoCallback,
    }

    FunctionEvaluateCallback ¶

    FunctionEvaluateCallback :: proc "c" (info: rawptr, _in: ^f64, out: ^f64)

    FunctionReleaseInfoCallback ¶

    FunctionReleaseInfoCallback :: proc "c" (info: rawptr)

    GesturePhase ¶

    GesturePhase :: enum u32 {
    	None      = 0, 
    	Began     = 1, 
    	Changed   = 2, 
    	Ended     = 4, 
    	Cancelled = 8, 
    	MayBegin  = 128, 
    }

    GlyphDeprecatedEnum ¶

    GlyphDeprecatedEnum :: enum i32 {
    	Min = 0, 
    	Max = 1, 
    }

    GradientDrawingOption ¶

    GradientDrawingOption :: enum u32 {
    	DrawsBeforeStartLocation = 0, 
    	DrawsAfterEndLocation    = 1, 
    }

    ImageAlphaInfo ¶

    ImageAlphaInfo :: enum u32 {
    	None               = 0, 
    	PremultipliedLast  = 1, 
    	PremultipliedFirst = 2, 
    	Last               = 3, 
    	First              = 4, 
    	NoneSkipLast       = 5, 
    	NoneSkipFirst      = 6, 
    	Only               = 7, 
    }

    Related Procedures With Returns

    ImageByteOrderInfo ¶

    ImageByteOrderInfo :: enum u32 {
    	Mask      = 28672, 
    	Default   = 0, 
    	_16Little = 4096, 
    	_32Little = 8192, 
    	_16Big    = 12288, 
    	_32Big    = 16384, 
    	_16Host   = 4096, 
    	_32Host   = 8192, 
    }

    ImageComponentInfo ¶

    ImageComponentInfo :: enum u32 {
    	Integer = 0, 
    	Float   = 256, 
    }

    ImagePixelFormatInfo ¶

    ImagePixelFormatInfo :: enum u32 {
    	Mask      = 983040, 
    	Packed    = 0, 
    	RGB555    = 65536, 
    	RGB565    = 131072, 
    	RGB101010 = 196608, 
    	RGBCIF10  = 262144, 
    }

    InterpolationQuality ¶

    InterpolationQuality :: enum i32 {
    	Default = 0, 
    	None    = 1, 
    	Low     = 2, 
    	Medium  = 4, 
    	High    = 3, 
    }

    LineCap ¶

    LineCap :: enum i32 {
    	Butt   = 0, 
    	Round  = 1, 
    	Square = 2, 
    }

    Related Procedures With Parameters

    LineJoin ¶

    LineJoin :: enum i32 {
    	Miter = 0, 
    	Round = 1, 
    	Bevel = 2, 
    }

    Related Procedures With Parameters

    MTLDevice ¶

    MTLDevice :: intrinsics.objc_object

    MomentumScrollPhase ¶

    MomentumScrollPhase :: enum u32 {
    	None     = 0, 
    	Begin    = 1, 
    	Continue = 2, 
    	End      = 3, 
    }

    MouseButton ¶

    MouseButton :: enum u32 {
    	Left   = 0, 
    	Right  = 1, 
    	Center = 2, 
    }

    Related Procedures With Parameters

    NSObject ¶

    NSObject :: intrinsics.objc_object

    OpenGLDisplayMask ¶

    OpenGLDisplayMask :: distinct u32

    Related Procedures With Parameters

    PDFAccessPermission ¶

    PDFAccessPermission :: enum u32 {
    	AllowsLowQualityPrinting   = 0, 
    	AllowsHighQualityPrinting  = 1, 
    	AllowsDocumentChanges      = 2, 
    	AllowsDocumentAssembly     = 3, 
    	AllowsContentCopying       = 4, 
    	AllowsContentAccessibility = 5, 
    	AllowsCommenting           = 6, 
    	AllowsFormFieldEntry       = 7, 
    }

    PDFArrayApplierBlock ¶

    PDFArrayApplierBlock :: ^runtime.Objc_Block($T=proc "cdecl" (uint, PDFObjectRef, rawptr) -> bool)

    PDFBox ¶

    PDFBox :: enum i32 {
    	MediaBox = 0, 
    	CropBox  = 1, 
    	BleedBox = 2, 
    	TrimBox  = 3, 
    	ArtBox   = 4, 
    }

    Related Procedures With Parameters

    PDFDataFormat ¶

    PDFDataFormat :: enum i32 {
    	Raw         = 0, 
    	JPEGEncoded = 1, 
    	JPEG2000    = 2, 
    }

    PDFDictionaryApplierBlock ¶

    PDFDictionaryApplierBlock :: ^runtime.Objc_Block($T=proc "cdecl" (cstring, PDFObjectRef, rawptr) -> bool)

    PDFDictionaryApplierFunction ¶

    PDFDictionaryApplierFunction :: proc "c" (key: cstring, value: PDFObjectRef, info: rawptr)

    PDFObjectType ¶

    PDFObjectType :: enum i32 {
    	Null       = 1, 
    	Boolean    = 2, 
    	Integer    = 3, 
    	Real       = 4, 
    	Name       = 5, 
    	String     = 6, 
    	Array      = 7, 
    	Dictionary = 8, 
    	Stream     = 9, 
    }

    PDFOperatorCallback ¶

    PDFOperatorCallback :: proc "c" (scanner: PDFScannerRef, info: rawptr)

    PDFTagProperty ¶

    PDFTagProperty :: distinct ^darwin_CoreFoundation.__CFString

    PDFTagType ¶

    PDFTagType :: enum i32 {
    	Document           = 100, 
    	Part               = 101, 
    	Art                = 102, 
    	Section            = 103, 
    	Div                = 104, 
    	BlockQuote         = 105, 
    	Caption            = 106, 
    	TOC                = 107, 
    	TOCI               = 108, 
    	Index              = 109, 
    	NonStructure       = 110, 
    	Private            = 111, 
    	Paragraph          = 200, 
    	Header             = 201, 
    	Header1            = 202, 
    	Header2            = 203, 
    	Header3            = 204, 
    	Header4            = 205, 
    	Header5            = 206, 
    	Header6            = 207, 
    	List               = 300, 
    	ListItem           = 301, 
    	Label              = 302, 
    	ListBody           = 303, 
    	Table              = 400, 
    	TableRow           = 401, 
    	TableHeaderCell    = 402, 
    	TableDataCell      = 403, 
    	TableHeader        = 404, 
    	TableBody          = 405, 
    	TableFooter        = 406, 
    	Span               = 500, 
    	Quote              = 501, 
    	Note               = 502, 
    	Reference          = 503, 
    	Bibliography       = 504, 
    	Code               = 505, 
    	Link               = 506, 
    	Annotation         = 507, 
    	Ruby               = 600, 
    	RubyBaseText       = 601, 
    	RubyAnnotationText = 602, 
    	RubyPunctuation    = 603, 
    	Warichu            = 604, 
    	WarichuText        = 605, 
    	WarichuPunctiation = 606, 
    	Figure             = 700, 
    	Formula            = 701, 
    	Form               = 702, 
    	Object             = 800, 
    }

    Related Procedures With Parameters

    PSConverterBeginDocumentCallback ¶

    PSConverterBeginDocumentCallback :: proc "c" (info: rawptr)

    PSConverterBeginPageCallback ¶

    PSConverterBeginPageCallback :: proc "c" (info: rawptr, pageNumber: uint, pageInfo: ^darwin_CoreFoundation.__CFDictionary)

    PSConverterCallbacks ¶

    PSConverterCallbacks :: struct #align (8) {
    	version:       u32,
    	beginDocument: PSConverterBeginDocumentCallback,
    	endDocument:   PSConverterEndDocumentCallback,
    	beginPage:     PSConverterBeginPageCallback,
    	endPage:       PSConverterEndPageCallback,
    	noteProgress:  PSConverterProgressCallback,
    	noteMessage:   PSConverterMessageCallback,
    	releaseInfo:   PSConverterReleaseInfoCallback,
    }

    PSConverterEndDocumentCallback ¶

    PSConverterEndDocumentCallback :: proc "c" (info: rawptr, success: bool)

    PSConverterEndPageCallback ¶

    PSConverterEndPageCallback :: proc "c" (info: rawptr, pageNumber: uint, pageInfo: ^darwin_CoreFoundation.__CFDictionary)

    PSConverterMessageCallback ¶

    PSConverterMessageCallback :: proc "c" (info: rawptr, message: ^darwin_CoreFoundation.__CFString)

    PSConverterProgressCallback ¶

    PSConverterProgressCallback :: proc "c" (info: rawptr)

    PSConverterRef ¶

    PSConverterRef :: distinct ^PSConverter

    Related Procedures With Parameters

    PSConverterReleaseInfoCallback ¶

    PSConverterReleaseInfoCallback :: proc "c" (info: rawptr)

    PathApplierFunction ¶

    PathApplierFunction :: proc "c" (info: rawptr, element: ^PathElement)

    PathApplyBlock ¶

    PathApplyBlock :: ^runtime.Objc_Block($T=proc "cdecl" (^PathElement))

    PathDrawingMode ¶

    PathDrawingMode :: enum i32 {
    	Fill         = 0, 
    	EOFill       = 1, 
    	Stroke       = 2, 
    	FillStroke   = 3, 
    	EOFillStroke = 4, 
    }

    Related Procedures With Parameters

    PathElement ¶

    PathElement :: struct #align (8) {
    	type:   PathElementType,
    	points: ^Point,
    }

    PathElementType ¶

    PathElementType :: enum i32 {
    	MoveToPoint         = 0, 
    	AddLineToPoint      = 1, 
    	AddQuadCurveToPoint = 2, 
    	AddCurveToPoint     = 3, 
    	CloseSubpath        = 4, 
    }

    PatternCallbacks ¶

    PatternCallbacks :: struct #align (8) {
    	version:     u32,
    	drawPattern: PatternDrawPatternCallback,
    	releaseInfo: PatternReleaseInfoCallback,
    }

    PatternDrawPatternCallback ¶

    PatternDrawPatternCallback :: proc "c" (info: rawptr, _context: ContextRef)

    PatternReleaseInfoCallback ¶

    PatternReleaseInfoCallback :: proc "c" (info: rawptr)

    PatternTiling ¶

    PatternTiling :: enum i32 {
    	NoDistortion                     = 0, 
    	ConstantSpacingMinimalDistortion = 1, 
    	ConstantSpacing                  = 2, 
    }

    Protocol ¶

    Protocol :: distinct ^intrinsics.objc_object

    Rect ¶

    Rect :: struct #align (8) {
    	origin: Point,
    	size:   Size,
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    RectEdge ¶

    RectEdge :: enum u32 {
    	MinXEdge = 0, 
    	MinYEdge = 1, 
    	MaxXEdge = 2, 
    	MaxYEdge = 3, 
    }

    RefreshRate ¶

    RefreshRate :: distinct f64

    ScreenRefreshCallback ¶

    ScreenRefreshCallback :: proc "c" (count: u32, rects: ^Rect, userInfo: rawptr)

    Related Procedures With Parameters

    ScreenUpdateMoveCallback ¶

    ScreenUpdateMoveCallback :: proc "c" (delta: ScreenUpdateMoveDelta, count: uint, rects: ^Rect, userInfo: rawptr)

    Related Procedures With Parameters

    ScreenUpdateMoveDelta ¶

    ScreenUpdateMoveDelta :: struct #align (4) {
    	dX: i32,
    	dY: i32,
    }

    ScreenUpdateOperation ¶

    ScreenUpdateOperation :: bit_set[ScreenUpdateOperationFlag; u32]

    Related Constants

    ScreenUpdateOperationFlag ¶

    ScreenUpdateOperationFlag :: enum u32 {
    	Move                       = 0, 
    	ReducedDirtyRectangleCount = 31, 
    }

    ScrollEventUnit ¶

    ScrollEventUnit :: enum u32 {
    	Pixel = 0, 
    	Line  = 1, 
    }

    Related Procedures With Parameters

    ScrollPhase ¶

    ScrollPhase :: enum u32 {
    	Began     = 1, 
    	Changed   = 2, 
    	Ended     = 4, 
    	Cancelled = 8, 
    	MayBegin  = 128, 
    }

    TextDrawingMode ¶

    TextDrawingMode :: enum i32 {
    	Fill           = 0, 
    	Stroke         = 1, 
    	FillStroke     = 2, 
    	Invisible      = 3, 
    	FillClip       = 4, 
    	StrokeClip     = 5, 
    	FillStrokeClip = 6, 
    	Clip           = 7, 
    }

    TextEncoding ¶

    TextEncoding :: enum i32 {
    	FontSpecific = 0, 
    	MacRoman     = 1, 
    }

    ToneMapping ¶

    ToneMapping :: enum u32 {
    	Default                  = 0, 
    	ImageSpecificLumaScaling = 1, 
    	ReferenceWhiteBased      = 2, 
    	ITURecommended           = 3, 
    	EXRGamma                 = 4, 
    	None                     = 5, 
    }

    Related Procedures With Parameters

    Vector ¶

    Vector :: struct #align (8) {
    	dx: f64,
    	dy: f64,
    }

    WheelCount ¶

    WheelCount :: distinct u32

    WindowBackingType ¶

    WindowBackingType :: enum u32 {
    	StoreRetained    = 0, 
    	StoreNonretained = 1, 
    	StoreBuffered    = 2, 
    }

    WindowID ¶

    WindowID :: distinct u32

    Related Procedures With Parameters

    WindowImageOption ¶

    WindowImageOption :: enum u32 {
    	Default             = 0, 
    	BoundsIgnoreFraming = 1, 
    	ShouldBeOpaque      = 2, 
    	OnlyShadows         = 4, 
    	BestResolution      = 8, 
    	NominalResolution   = 16, 
    }

    Related Procedures With Parameters

    WindowLevel ¶

    WindowLevel :: distinct i32

    Related Procedures With Returns

    WindowLevelKey ¶

    WindowLevelKey :: enum i32 {
    	BaseWindowLevelKey              = 0, 
    	MinimumWindowLevelKey           = 1, 
    	DesktopWindowLevelKey           = 2, 
    	BackstopMenuLevelKey            = 3, 
    	NormalWindowLevelKey            = 4, 
    	FloatingWindowLevelKey          = 5, 
    	TornOffMenuWindowLevelKey       = 6, 
    	DockWindowLevelKey              = 7, 
    	MainMenuWindowLevelKey          = 8, 
    	StatusWindowLevelKey            = 9, 
    	ModalPanelWindowLevelKey        = 10, 
    	PopUpMenuWindowLevelKey         = 11, 
    	DraggingWindowLevelKey          = 12, 
    	ScreenSaverWindowLevelKey       = 13, 
    	MaximumWindowLevelKey           = 14, 
    	OverlayWindowLevelKey           = 15, 
    	HelpWindowLevelKey              = 16, 
    	UtilityWindowLevelKey           = 17, 
    	DesktopIconWindowLevelKey       = 18, 
    	CursorWindowLevelKey            = 19, 
    	AssistiveTechHighWindowLevelKey = 20, 
    	NumberOfWindowLevelKeys         = 21, 
    }

    WindowListOption ¶

    WindowListOption :: enum u32 {
    	All                    = 0, 
    	OnScreenOnly           = 1, 
    	OnScreenAboveWindow    = 2, 
    	OnScreenBelowWindow    = 4, 
    	IncludingWindow        = 8, 
    	ExcludeDesktopElements = 16, 
    }

    Related Procedures With Parameters

    WindowSharingType ¶

    WindowSharingType :: enum u32 {
    	None      = 0, 
    	ReadOnly  = 1, 
    	ReadWrite = 2, 
    }

    Constants

    CaptureOptions_NoOptions ¶

    CaptureOptions_NoOptions: bit_set[CaptureOption; u32] : CaptureOptions{}

    ColorModel_NoColorant ¶

    ColorModel_NoColorant: bit_set[ColorModelFlag; u32] : ColorModel{}

    EventTapOptions_Default ¶

    EventTapOptions_Default: bit_set[EventTapOption; u32] : EventTapOptions{}

    ScreenUpdateOperation_Refresh ¶

    ScreenUpdateOperation_Refresh: bit_set[ScreenUpdateOperationFlag; u32] : ScreenUpdateOperation{}

    Variables

    AdaptiveMaximumBitDepth ¶

    @(link_name="kCGAdaptiveMaximumBitDepth")
    AdaptiveMaximumBitDepth: ^darwin_CoreFoundation.__CFString

    AffineTransformIdentity ¶

    @(link_name="CGAffineTransformIdentity")
    AffineTransformIdentity: AffineTransform

    ColorBlack ¶

    @(link_name="kCGColorBlack")
    ColorBlack: ^darwin_CoreFoundation.__CFString

    ColorClear ¶

    @(link_name="kCGColorClear")
    ColorClear: ^darwin_CoreFoundation.__CFString

    ColorConversionBlackPointCompensation ¶

    @(link_name="kCGColorConversionBlackPointCompensation")
    ColorConversionBlackPointCompensation: ^darwin_CoreFoundation.__CFString

    ColorConversionTRCSize ¶

    @(link_name="kCGColorConversionTRCSize")
    ColorConversionTRCSize: ^darwin_CoreFoundation.__CFString

    ColorSpaceACESCGLinear ¶

    @(link_name="kCGColorSpaceACESCGLinear")
    ColorSpaceACESCGLinear: ^darwin_CoreFoundation.__CFString

    ColorSpaceAdobeRGB1998 ¶

    @(link_name="kCGColorSpaceAdobeRGB1998")
    ColorSpaceAdobeRGB1998: ^darwin_CoreFoundation.__CFString

    ColorSpaceCoreMedia709 ¶

    @(link_name="kCGColorSpaceCoreMedia709")
    ColorSpaceCoreMedia709: ^darwin_CoreFoundation.__CFString

    ColorSpaceDCIP3 ¶

    @(link_name="kCGColorSpaceDCIP3")
    ColorSpaceDCIP3: ^darwin_CoreFoundation.__CFString

    ColorSpaceDisplayP3 ¶

    @(link_name="kCGColorSpaceDisplayP3")
    ColorSpaceDisplayP3: ^darwin_CoreFoundation.__CFString

    ColorSpaceDisplayP3_HLG ¶

    @(link_name="kCGColorSpaceDisplayP3_HLG")
    ColorSpaceDisplayP3_HLG: ^darwin_CoreFoundation.__CFString

    ColorSpaceDisplayP3_PQ ¶

    @(link_name="kCGColorSpaceDisplayP3_PQ")
    ColorSpaceDisplayP3_PQ: ^darwin_CoreFoundation.__CFString

    ColorSpaceDisplayP3_PQ_EOTF ¶

    @(link_name="kCGColorSpaceDisplayP3_PQ_EOTF")
    ColorSpaceDisplayP3_PQ_EOTF: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedDisplayP3 ¶

    @(link_name="kCGColorSpaceExtendedDisplayP3")
    ColorSpaceExtendedDisplayP3: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedGray ¶

    @(link_name="kCGColorSpaceExtendedGray")
    ColorSpaceExtendedGray: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedITUR_2020 ¶

    @(link_name="kCGColorSpaceExtendedITUR_2020")
    ColorSpaceExtendedITUR_2020: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedLinearDisplayP3 ¶

    @(link_name="kCGColorSpaceExtendedLinearDisplayP3")
    ColorSpaceExtendedLinearDisplayP3: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedLinearGray ¶

    @(link_name="kCGColorSpaceExtendedLinearGray")
    ColorSpaceExtendedLinearGray: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedLinearITUR_2020 ¶

    @(link_name="kCGColorSpaceExtendedLinearITUR_2020")
    ColorSpaceExtendedLinearITUR_2020: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedLinearSRGB ¶

    @(link_name="kCGColorSpaceExtendedLinearSRGB")
    ColorSpaceExtendedLinearSRGB: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedRange ¶

    @(link_name="kCGColorSpaceExtendedRange")
    ColorSpaceExtendedRange: ^darwin_CoreFoundation.__CFString

    ColorSpaceExtendedSRGB ¶

    @(link_name="kCGColorSpaceExtendedSRGB")
    ColorSpaceExtendedSRGB: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericCMYK ¶

    @(link_name="kCGColorSpaceGenericCMYK")
    ColorSpaceGenericCMYK: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericGray ¶

    @(link_name="kCGColorSpaceGenericGray")
    ColorSpaceGenericGray: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericGrayGamma2_2 ¶

    @(link_name="kCGColorSpaceGenericGrayGamma2_2")
    ColorSpaceGenericGrayGamma2_2: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericLab ¶

    @(link_name="kCGColorSpaceGenericLab")
    ColorSpaceGenericLab: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericRGB ¶

    @(link_name="kCGColorSpaceGenericRGB")
    ColorSpaceGenericRGB: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericRGBLinear ¶

    @(link_name="kCGColorSpaceGenericRGBLinear")
    ColorSpaceGenericRGBLinear: ^darwin_CoreFoundation.__CFString

    ColorSpaceGenericXYZ ¶

    @(link_name="kCGColorSpaceGenericXYZ")
    ColorSpaceGenericXYZ: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2020 ¶

    @(link_name="kCGColorSpaceITUR_2020")
    ColorSpaceITUR_2020: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2020_HLG ¶

    @(link_name="kCGColorSpaceITUR_2020_HLG")
    ColorSpaceITUR_2020_HLG: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2020_PQ ¶

    @(link_name="kCGColorSpaceITUR_2020_PQ")
    ColorSpaceITUR_2020_PQ: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2020_PQ_EOTF ¶

    @(link_name="kCGColorSpaceITUR_2020_PQ_EOTF")
    ColorSpaceITUR_2020_PQ_EOTF: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2020_sRGBGamma ¶

    @(link_name="kCGColorSpaceITUR_2020_sRGBGamma")
    ColorSpaceITUR_2020_sRGBGamma: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2100_HLG ¶

    @(link_name="kCGColorSpaceITUR_2100_HLG")
    ColorSpaceITUR_2100_HLG: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_2100_PQ ¶

    @(link_name="kCGColorSpaceITUR_2100_PQ")
    ColorSpaceITUR_2100_PQ: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_709 ¶

    @(link_name="kCGColorSpaceITUR_709")
    ColorSpaceITUR_709: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_709_HLG ¶

    @(link_name="kCGColorSpaceITUR_709_HLG")
    ColorSpaceITUR_709_HLG: ^darwin_CoreFoundation.__CFString

    ColorSpaceITUR_709_PQ ¶

    @(link_name="kCGColorSpaceITUR_709_PQ")
    ColorSpaceITUR_709_PQ: ^darwin_CoreFoundation.__CFString

    ColorSpaceLinearDisplayP3 ¶

    @(link_name="kCGColorSpaceLinearDisplayP3")
    ColorSpaceLinearDisplayP3: ^darwin_CoreFoundation.__CFString

    ColorSpaceLinearGray ¶

    @(link_name="kCGColorSpaceLinearGray")
    ColorSpaceLinearGray: ^darwin_CoreFoundation.__CFString

    ColorSpaceLinearITUR_2020 ¶

    @(link_name="kCGColorSpaceLinearITUR_2020")
    ColorSpaceLinearITUR_2020: ^darwin_CoreFoundation.__CFString

    ColorSpaceLinearSRGB ¶

    @(link_name="kCGColorSpaceLinearSRGB")
    ColorSpaceLinearSRGB: ^darwin_CoreFoundation.__CFString

    ColorSpaceROMMRGB ¶

    @(link_name="kCGColorSpaceROMMRGB")
    ColorSpaceROMMRGB: ^darwin_CoreFoundation.__CFString

    ColorSpaceSRGB ¶

    @(link_name="kCGColorSpaceSRGB")
    ColorSpaceSRGB: ^darwin_CoreFoundation.__CFString

    ColorWhite ¶

    @(link_name="kCGColorWhite")
    ColorWhite: ^darwin_CoreFoundation.__CFString

    ContentAverageLightLevel ¶

    @(link_name="kCGContentAverageLightLevel")
    ContentAverageLightLevel: ^darwin_CoreFoundation.__CFString

    ContentAverageLightLevelNits ¶

    @(link_name="kCGContentAverageLightLevelNits")
    ContentAverageLightLevelNits: ^darwin_CoreFoundation.__CFString

    DefaultHDRImageContentHeadroom ¶

    @(link_name="kCGDefaultHDRImageContentHeadroom")
    DefaultHDRImageContentHeadroom: f32

    DisplayShowDuplicateLowResolutionModes ¶

    @(link_name="kCGDisplayShowDuplicateLowResolutionModes")
    DisplayShowDuplicateLowResolutionModes: ^darwin_CoreFoundation.__CFString

    DisplayStreamColorSpace ¶

    @(link_name="kCGDisplayStreamColorSpace")
    DisplayStreamColorSpace: ^darwin_CoreFoundation.__CFString

    DisplayStreamDestinationRect ¶

    @(link_name="kCGDisplayStreamDestinationRect")
    DisplayStreamDestinationRect: ^darwin_CoreFoundation.__CFString

    DisplayStreamMinimumFrameTime ¶

    @(link_name="kCGDisplayStreamMinimumFrameTime")
    DisplayStreamMinimumFrameTime: ^darwin_CoreFoundation.__CFString

    DisplayStreamPreserveAspectRatio ¶

    @(link_name="kCGDisplayStreamPreserveAspectRatio")
    DisplayStreamPreserveAspectRatio: ^darwin_CoreFoundation.__CFString

    DisplayStreamQueueDepth ¶

    @(link_name="kCGDisplayStreamQueueDepth")
    DisplayStreamQueueDepth: ^darwin_CoreFoundation.__CFString

    DisplayStreamShowCursor ¶

    @(link_name="kCGDisplayStreamShowCursor")
    DisplayStreamShowCursor: ^darwin_CoreFoundation.__CFString

    DisplayStreamSourceRect ¶

    @(link_name="kCGDisplayStreamSourceRect")
    DisplayStreamSourceRect: ^darwin_CoreFoundation.__CFString

    DisplayStreamYCbCrMatrix ¶

    @(link_name="kCGDisplayStreamYCbCrMatrix")
    DisplayStreamYCbCrMatrix: ^darwin_CoreFoundation.__CFString

    DisplayStreamYCbCrMatrix_ITU_R_601_4 ¶

    @(link_name="kCGDisplayStreamYCbCrMatrix_ITU_R_601_4")
    DisplayStreamYCbCrMatrix_ITU_R_601_4: ^darwin_CoreFoundation.__CFString

    DisplayStreamYCbCrMatrix_ITU_R_709_2 ¶

    @(link_name="kCGDisplayStreamYCbCrMatrix_ITU_R_709_2")
    DisplayStreamYCbCrMatrix_ITU_R_709_2: ^darwin_CoreFoundation.__CFString

    DisplayStreamYCbCrMatrix_SMPTE_240M_1995 ¶

    @(link_name="kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995")
    DisplayStreamYCbCrMatrix_SMPTE_240M_1995: ^darwin_CoreFoundation.__CFString

    DynamicRangeConstrained ¶

    @(link_name="kCGDynamicRangeConstrained")
    DynamicRangeConstrained: ^darwin_CoreFoundation.__CFString

    DynamicRangeHigh ¶

    @(link_name="kCGDynamicRangeHigh")
    DynamicRangeHigh: ^darwin_CoreFoundation.__CFString

    DynamicRangeStandard ¶

    @(link_name="kCGDynamicRangeStandard")
    DynamicRangeStandard: ^darwin_CoreFoundation.__CFString

    EXRToneMappingGammaDefog ¶

    @(link_name="kCGEXRToneMappingGammaDefog")
    EXRToneMappingGammaDefog: ^darwin_CoreFoundation.__CFString

    EXRToneMappingGammaExposure ¶

    @(link_name="kCGEXRToneMappingGammaExposure")
    EXRToneMappingGammaExposure: ^darwin_CoreFoundation.__CFString

    EXRToneMappingGammaKneeHigh ¶

    @(link_name="kCGEXRToneMappingGammaKneeHigh")
    EXRToneMappingGammaKneeHigh: ^darwin_CoreFoundation.__CFString

    EXRToneMappingGammaKneeLow ¶

    @(link_name="kCGEXRToneMappingGammaKneeLow")
    EXRToneMappingGammaKneeLow: ^darwin_CoreFoundation.__CFString

    FontVariationAxisDefaultValue ¶

    @(link_name="kCGFontVariationAxisDefaultValue")
    FontVariationAxisDefaultValue: ^darwin_CoreFoundation.__CFString

    FontVariationAxisMaxValue ¶

    @(link_name="kCGFontVariationAxisMaxValue")
    FontVariationAxisMaxValue: ^darwin_CoreFoundation.__CFString

    FontVariationAxisMinValue ¶

    @(link_name="kCGFontVariationAxisMinValue")
    FontVariationAxisMinValue: ^darwin_CoreFoundation.__CFString

    FontVariationAxisName ¶

    @(link_name="kCGFontVariationAxisName")
    FontVariationAxisName: ^darwin_CoreFoundation.__CFString

    PDFContextAccessPermissions ¶

    @(link_name="kCGPDFContextAccessPermissions")
    PDFContextAccessPermissions: ^darwin_CoreFoundation.__CFString

    PDFContextAllowsCopying ¶

    @(link_name="kCGPDFContextAllowsCopying")
    PDFContextAllowsCopying: ^darwin_CoreFoundation.__CFString

    PDFContextAllowsPrinting ¶

    @(link_name="kCGPDFContextAllowsPrinting")
    PDFContextAllowsPrinting: ^darwin_CoreFoundation.__CFString

    PDFContextArtBox ¶

    @(link_name="kCGPDFContextArtBox")
    PDFContextArtBox: ^darwin_CoreFoundation.__CFString

    PDFContextAuthor ¶

    @(link_name="kCGPDFContextAuthor")
    PDFContextAuthor: ^darwin_CoreFoundation.__CFString

    PDFContextBleedBox ¶

    @(link_name="kCGPDFContextBleedBox")
    PDFContextBleedBox: ^darwin_CoreFoundation.__CFString

    PDFContextCreateLinearizedPDF ¶

    @(link_name="kCGPDFContextCreateLinearizedPDF")
    PDFContextCreateLinearizedPDF: ^darwin_CoreFoundation.__CFString

    PDFContextCreatePDFA ¶

    @(link_name="kCGPDFContextCreatePDFA")
    PDFContextCreatePDFA: ^darwin_CoreFoundation.__CFString

    PDFContextCreator ¶

    @(link_name="kCGPDFContextCreator")
    PDFContextCreator: ^darwin_CoreFoundation.__CFString

    PDFContextCropBox ¶

    @(link_name="kCGPDFContextCropBox")
    PDFContextCropBox: ^darwin_CoreFoundation.__CFString

    PDFContextEncryptionKeyLength ¶

    @(link_name="kCGPDFContextEncryptionKeyLength")
    PDFContextEncryptionKeyLength: ^darwin_CoreFoundation.__CFString

    PDFContextKeywords ¶

    @(link_name="kCGPDFContextKeywords")
    PDFContextKeywords: ^darwin_CoreFoundation.__CFString

    PDFContextMediaBox ¶

    @(link_name="kCGPDFContextMediaBox")
    PDFContextMediaBox: ^darwin_CoreFoundation.__CFString

    PDFContextOutputIntent ¶

    @(link_name="kCGPDFContextOutputIntent")
    PDFContextOutputIntent: ^darwin_CoreFoundation.__CFString

    PDFContextOutputIntents ¶

    @(link_name="kCGPDFContextOutputIntents")
    PDFContextOutputIntents: ^darwin_CoreFoundation.__CFString

    PDFContextOwnerPassword ¶

    @(link_name="kCGPDFContextOwnerPassword")
    PDFContextOwnerPassword: ^darwin_CoreFoundation.__CFString

    PDFContextSubject ¶

    @(link_name="kCGPDFContextSubject")
    PDFContextSubject: ^darwin_CoreFoundation.__CFString

    PDFContextTitle ¶

    @(link_name="kCGPDFContextTitle")
    PDFContextTitle: ^darwin_CoreFoundation.__CFString

    PDFContextTrimBox ¶

    @(link_name="kCGPDFContextTrimBox")
    PDFContextTrimBox: ^darwin_CoreFoundation.__CFString

    PDFContextUserPassword ¶

    @(link_name="kCGPDFContextUserPassword")
    PDFContextUserPassword: ^darwin_CoreFoundation.__CFString

    PDFOutlineChildren ¶

    @(link_name="kCGPDFOutlineChildren")
    PDFOutlineChildren: ^darwin_CoreFoundation.__CFString

    PDFOutlineDestination ¶

    @(link_name="kCGPDFOutlineDestination")
    PDFOutlineDestination: ^darwin_CoreFoundation.__CFString

    PDFOutlineDestinationRect ¶

    @(link_name="kCGPDFOutlineDestinationRect")
    PDFOutlineDestinationRect: ^darwin_CoreFoundation.__CFString

    PDFOutlineTitle ¶

    @(link_name="kCGPDFOutlineTitle")
    PDFOutlineTitle: ^darwin_CoreFoundation.__CFString

    PDFTagPropertyActualText ¶

    @(link_name="kCGPDFTagPropertyActualText")
    PDFTagPropertyActualText: PDFTagProperty

    PDFTagPropertyAlternativeText ¶

    @(link_name="kCGPDFTagPropertyAlternativeText")
    PDFTagPropertyAlternativeText: PDFTagProperty

    PDFTagPropertyLanguageText ¶

    @(link_name="kCGPDFTagPropertyLanguageText")
    PDFTagPropertyLanguageText: PDFTagProperty

    PDFTagPropertyTitleText ¶

    @(link_name="kCGPDFTagPropertyTitleText")
    PDFTagPropertyTitleText: PDFTagProperty

    PDFXDestinationOutputProfile ¶

    @(link_name="kCGPDFXDestinationOutputProfile")
    PDFXDestinationOutputProfile: ^darwin_CoreFoundation.__CFString

    PDFXInfo ¶

    @(link_name="kCGPDFXInfo")
    PDFXInfo: ^darwin_CoreFoundation.__CFString

    PDFXOutputCondition ¶

    @(link_name="kCGPDFXOutputCondition")
    PDFXOutputCondition: ^darwin_CoreFoundation.__CFString

    PDFXOutputConditionIdentifier ¶

    @(link_name="kCGPDFXOutputConditionIdentifier")
    PDFXOutputConditionIdentifier: ^darwin_CoreFoundation.__CFString

    PDFXOutputIntentSubtype ¶

    @(link_name="kCGPDFXOutputIntentSubtype")
    PDFXOutputIntentSubtype: ^darwin_CoreFoundation.__CFString

    PDFXRegistryName ¶

    @(link_name="kCGPDFXRegistryName")
    PDFXRegistryName: ^darwin_CoreFoundation.__CFString

    PointZero ¶

    @(link_name="CGPointZero")
    PointZero: Point

    PreferredDynamicRange ¶

    @(link_name="kCGPreferredDynamicRange")
    PreferredDynamicRange: ^darwin_CoreFoundation.__CFString

    RectInfinite ¶

    @(link_name="CGRectInfinite")
    RectInfinite: Rect

    RectNull ¶

    @(link_name="CGRectNull")
    RectNull: Rect

    RectZero ¶

    @(link_name="CGRectZero")
    RectZero: Rect

    SizeZero ¶

    @(link_name="CGSizeZero")
    SizeZero: Size

    SkipBoostToHDR ¶

    @(link_name="kCGSkipBoostToHDR")
    SkipBoostToHDR: ^darwin_CoreFoundation.__CFString

    Use100nitsHLGOOTF ¶

    @(link_name="kCGUse100nitsHLGOOTF")
    Use100nitsHLGOOTF: ^darwin_CoreFoundation.__CFString

    UseBT1886ForCoreVideoGamma ¶

    @(link_name="kCGUseBT1886ForCoreVideoGamma")
    UseBT1886ForCoreVideoGamma: ^darwin_CoreFoundation.__CFString

    UseLegacyHDREcosystem ¶

    @(link_name="kCGUseLegacyHDREcosystem")
    UseLegacyHDREcosystem: ^darwin_CoreFoundation.__CFString

    WindowAlpha ¶

    @(link_name="kCGWindowAlpha")
    WindowAlpha: ^darwin_CoreFoundation.__CFString

    WindowBackingLocationVideoMemory ¶

    @(link_name="kCGWindowBackingLocationVideoMemory")
    WindowBackingLocationVideoMemory: ^darwin_CoreFoundation.__CFString

    WindowBounds ¶

    @(link_name="kCGWindowBounds")
    WindowBounds: ^darwin_CoreFoundation.__CFString

    WindowIsOnscreen ¶

    @(link_name="kCGWindowIsOnscreen")
    WindowIsOnscreen: ^darwin_CoreFoundation.__CFString

    WindowLayer ¶

    @(link_name="kCGWindowLayer")
    WindowLayer: ^darwin_CoreFoundation.__CFString

    WindowMemoryUsage ¶

    @(link_name="kCGWindowMemoryUsage")
    WindowMemoryUsage: ^darwin_CoreFoundation.__CFString

    WindowName ¶

    @(link_name="kCGWindowName")
    WindowName: ^darwin_CoreFoundation.__CFString

    WindowNumber ¶

    @(link_name="kCGWindowNumber")
    WindowNumber: ^darwin_CoreFoundation.__CFString

    WindowOwnerName ¶

    @(link_name="kCGWindowOwnerName")
    WindowOwnerName: ^darwin_CoreFoundation.__CFString

    WindowOwnerPID ¶

    @(link_name="kCGWindowOwnerPID")
    WindowOwnerPID: ^darwin_CoreFoundation.__CFString

    WindowSharingState ¶

    @(link_name="kCGWindowSharingState")
    WindowSharingState: ^darwin_CoreFoundation.__CFString

    WindowStoreType ¶

    @(link_name="kCGWindowStoreType")
    WindowStoreType: ^darwin_CoreFoundation.__CFString

    WindowWorkspace ¶

    @(link_name="kCGWindowWorkspace")
    WindowWorkspace: ^darwin_CoreFoundation.__CFString

    Procedures

    AcquireDisplayFadeReservation ¶

    @(link_name="CGAcquireDisplayFadeReservation")
    AcquireDisplayFadeReservation :: proc "c" (
    	seconds: DisplayReservationInterval, 
    	token:   ^DisplayFadeReservationToken, 
    ) -> Error ---

    AffineTransformConcat ¶

    @(link_name="CGAffineTransformConcat")
    AffineTransformConcat :: proc "c" (
    	t1: AffineTransform, 
    	t2: AffineTransform, 
    ) -> AffineTransform ---

    AffineTransformDecompose ¶

    @(link_name="CGAffineTransformDecompose")
    AffineTransformDecompose :: proc "c" (transform: AffineTransform) -> AffineTransformComponents ---

    AffineTransformEqualToTransform ¶

    @(link_name="CGAffineTransformEqualToTransform")
    AffineTransformEqualToTransform :: proc "c" (t1: AffineTransform, t2: AffineTransform) -> bool ---

    AffineTransformInvert ¶

    @(link_name="CGAffineTransformInvert")
    AffineTransformInvert :: proc "c" (t: AffineTransform) -> AffineTransform ---

    AffineTransformIsIdentity ¶

    @(link_name="CGAffineTransformIsIdentity")
    AffineTransformIsIdentity :: proc "c" (t: AffineTransform) -> bool ---

    AffineTransformMake ¶

    @(link_name="CGAffineTransformMake")
    AffineTransformMake :: proc "c" (
    	a:  f64, 
    	b:  f64, 
    	c:  f64, 
    	d:  f64, 
    	tx: f64, 
    	ty: f64, 
    ) -> AffineTransform ---

    AffineTransformMakeRotation ¶

    @(link_name="CGAffineTransformMakeRotation")
    AffineTransformMakeRotation :: proc "c" (angle: f64) -> AffineTransform ---

    AffineTransformMakeScale ¶

    @(link_name="CGAffineTransformMakeScale")
    AffineTransformMakeScale :: proc "c" (sx: f64, sy: f64) -> AffineTransform ---

    AffineTransformMakeTranslation ¶

    @(link_name="CGAffineTransformMakeTranslation")
    AffineTransformMakeTranslation :: proc "c" (tx: f64, ty: f64) -> AffineTransform ---

    AffineTransformMakeWithComponents ¶

    @(link_name="CGAffineTransformMakeWithComponents")
    AffineTransformMakeWithComponents :: proc "c" (components: AffineTransformComponents) -> AffineTransform ---

    AffineTransformRotate ¶

    @(link_name="CGAffineTransformRotate")
    AffineTransformRotate :: proc "c" (t: AffineTransform, angle: f64) -> AffineTransform ---

    AffineTransformScale ¶

    @(link_name="CGAffineTransformScale")
    AffineTransformScale :: proc "c" (t: AffineTransform, sx: f64, sy: f64) -> AffineTransform ---

    AffineTransformTranslate ¶

    @(link_name="CGAffineTransformTranslate")
    AffineTransformTranslate :: proc "c" (t: AffineTransform, tx: f64, ty: f64) -> AffineTransform ---

    AssociateMouseAndMouseCursorPosition ¶

    @(link_name="CGAssociateMouseAndMouseCursorPosition")
    AssociateMouseAndMouseCursorPosition :: proc "c" (connected: b32) -> Error ---

    BeginDisplayConfiguration ¶

    @(link_name="CGBeginDisplayConfiguration")
    BeginDisplayConfiguration :: proc "c" (config: ^DisplayConfigRef) -> Error ---

    BitmapContextCreate ¶

    @(link_name="CGBitmapContextCreate")
    BitmapContextCreate :: proc "c" (
    	data:             rawptr, 
    	width:            uint, 
    	height:           uint, 
    	bitsPerComponent: uint, 
    	bytesPerRow:      uint, 
    	space:            ColorSpaceRef, 
    	bitmapInfo:       BitmapInfo, 
    ) -> ContextRef ---

    BitmapContextCreateAdaptive ¶

    @(link_name="CGBitmapContextCreateAdaptive")
    BitmapContextCreateAdaptive :: proc "c" (
    	width:         uint, 
    	height:        uint, 
    	auxiliaryInfo: ^darwin_CoreFoundation.__CFDictionary, 
    	onResolve:     ^runtime.Objc_Block($T=proc "cdecl" (^ContentInfo, ^BitmapParameters) -> bool), 
    	onAllocate:    ^runtime.Objc_Block($T=proc "cdecl" (^ContentInfo, ^BitmapParameters) -> RenderingBufferProviderRef), 
    	onFree:        ^runtime.Objc_Block($T=proc "cdecl" (RenderingBufferProviderRef, ^ContentInfo, ^BitmapParameters)), 
    	onError:       ^runtime.Objc_Block($T=proc "cdecl" (^__CFError, ^ContentInfo, ^BitmapParameters)), 
    ) -> ContextRef ---

    BitmapContextCreateImage ¶

    @(link_name="CGBitmapContextCreateImage")
    BitmapContextCreateImage :: proc "c" (_context: ContextRef) -> ImageRef ---

    BitmapContextCreateWithData ¶

    @(link_name="CGBitmapContextCreateWithData")
    BitmapContextCreateWithData :: proc "c" (
    	data:             rawptr, 
    	width:            uint, 
    	height:           uint, 
    	bitsPerComponent: uint, 
    	bytesPerRow:      uint, 
    	space:            ColorSpaceRef, 
    	bitmapInfo:       BitmapInfo, 
    	releaseCallback:  BitmapContextReleaseDataCallback, 
    	releaseInfo:      rawptr, 
    ) -> ContextRef ---

    BitmapContextGetAlphaInfo ¶

    @(link_name="CGBitmapContextGetAlphaInfo")
    BitmapContextGetAlphaInfo :: proc "c" (_context: ContextRef) -> ImageAlphaInfo ---

    BitmapContextGetBitmapInfo ¶

    @(link_name="CGBitmapContextGetBitmapInfo")
    BitmapContextGetBitmapInfo :: proc "c" (_context: ContextRef) -> BitmapInfo ---

    BitmapContextGetBitsPerComponent ¶

    @(link_name="CGBitmapContextGetBitsPerComponent")
    BitmapContextGetBitsPerComponent :: proc "c" (_context: ContextRef) -> uint ---

    BitmapContextGetBitsPerPixel ¶

    @(link_name="CGBitmapContextGetBitsPerPixel")
    BitmapContextGetBitsPerPixel :: proc "c" (_context: ContextRef) -> uint ---

    BitmapContextGetBytesPerRow ¶

    @(link_name="CGBitmapContextGetBytesPerRow")
    BitmapContextGetBytesPerRow :: proc "c" (_context: ContextRef) -> uint ---

    BitmapContextGetColorSpace ¶

    @(link_name="CGBitmapContextGetColorSpace")
    BitmapContextGetColorSpace :: proc "c" (_context: ContextRef) -> ColorSpaceRef ---

    BitmapContextGetData ¶

    @(link_name="CGBitmapContextGetData")
    BitmapContextGetData :: proc "c" (_context: ContextRef) -> rawptr ---

    BitmapContextGetHeight ¶

    @(link_name="CGBitmapContextGetHeight")
    BitmapContextGetHeight :: proc "c" (_context: ContextRef) -> uint ---

    BitmapContextGetWidth ¶

    @(link_name="CGBitmapContextGetWidth")
    BitmapContextGetWidth :: proc "c" (_context: ContextRef) -> uint ---

    CancelDisplayConfiguration ¶

    @(link_name="CGCancelDisplayConfiguration")
    CancelDisplayConfiguration :: proc "c" (config: DisplayConfigRef) -> Error ---

    CaptureAllDisplays ¶

    @(link_name="CGCaptureAllDisplays")
    CaptureAllDisplays :: proc "c" () -> Error ---

    CaptureAllDisplaysWithOptions ¶

    @(link_name="CGCaptureAllDisplaysWithOptions")
    CaptureAllDisplaysWithOptions :: proc "c" (options: bit_set[CaptureOption; u32]) -> Error ---

    ColorConversionInfoConvertData ¶

    @(link_name="CGColorConversionInfoConvertData")
    ColorConversionInfoConvertData :: proc "c" (
    	info:       ColorConversionInfoRef, 
    	width:      uint, 
    	height:     uint, 
    	dst_data:   rawptr, 
    	dst_format: ColorBufferFormat, 
    	src_data:   rawptr, 
    	src_format: ColorBufferFormat, 
    	options:    ^darwin_CoreFoundation.__CFDictionary, 
    ) -> bool ---

    ColorConversionInfoCreate ¶

    @(link_name="CGColorConversionInfoCreate")
    ColorConversionInfoCreate :: proc "c" (
    	src: ColorSpaceRef, 
    	dst: ColorSpaceRef, 
    ) -> ColorConversionInfoRef ---

    ColorConversionInfoCreateForToneMapping ¶

    @(link_name="CGColorConversionInfoCreateForToneMapping")
    ColorConversionInfoCreateForToneMapping :: proc "c" (
    	from:            ColorSpaceRef, 
    	source_headroom: f32, 
    	to:              ColorSpaceRef, 
    	target_headroom: f32, 
    	method:          ToneMapping, 
    	options:         ^darwin_CoreFoundation.__CFDictionary, 
    	error:           ^^darwin_CoreFoundation.__CFError, 
    ) -> ColorConversionInfoRef ---

    ColorConversionInfoCreateFromList ¶

    @(link_name="CGColorConversionInfoCreateFromList")
    ColorConversionInfoCreateFromList :: proc "c" (
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    	_0:      ColorSpaceRef, 
    	_1:      ColorConversionInfoTransformType, 
    	_2:      ColorRenderingIntent, 
    	args:    ..any, 
    ) -> ColorConversionInfoRef ---

    ColorConversionInfoCreateFromListWithArguments ¶

    @(link_name="CGColorConversionInfoCreateFromListWithArguments")
    ColorConversionInfoCreateFromListWithArguments :: proc "c" (
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    	_0:      ColorSpaceRef, 
    	_1:      ColorConversionInfoTransformType, 
    	_2:      ColorRenderingIntent, 
    	_3:      ^intrinsics.c_va_list, 
    ) -> ColorConversionInfoRef ---

    ColorConversionInfoCreateWithOptions ¶

    @(link_name="CGColorConversionInfoCreateWithOptions")
    ColorConversionInfoCreateWithOptions :: proc "c" (
    	src:     ColorSpaceRef, 
    	dst:     ColorSpaceRef, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ColorConversionInfoRef ---

    ColorConversionInfoGetTypeID ¶

    @(link_name="CGColorConversionInfoGetTypeID")
    ColorConversionInfoGetTypeID :: proc "c" () -> u64 ---

    ColorCreate ¶

    @(link_name="CGColorCreate")
    ColorCreate :: proc "c" (space: ColorSpaceRef, components: ^f64) -> ColorRef ---

    ColorCreateCopy ¶

    @(link_name="CGColorCreateCopy")
    ColorCreateCopy :: proc "c" (color: ColorRef) -> ColorRef ---

    ColorCreateCopyByMatchingToColorSpace ¶

    @(link_name="CGColorCreateCopyByMatchingToColorSpace")
    ColorCreateCopyByMatchingToColorSpace :: proc "c" (
    	_0:      ColorSpaceRef, 
    	intent:  ColorRenderingIntent, 
    	color:   ColorRef, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ColorRef ---

    ColorCreateCopyWithAlpha ¶

    @(link_name="CGColorCreateCopyWithAlpha")
    ColorCreateCopyWithAlpha :: proc "c" (color: ColorRef, alpha: f64) -> ColorRef ---

    ColorCreateGenericCMYK ¶

    @(link_name="CGColorCreateGenericCMYK")
    ColorCreateGenericCMYK :: proc "c" (
    	cyan:    f64, 
    	magenta: f64, 
    	yellow:  f64, 
    	black:   f64, 
    	alpha:   f64, 
    ) -> ColorRef ---

    ColorCreateGenericGray ¶

    @(link_name="CGColorCreateGenericGray")
    ColorCreateGenericGray :: proc "c" (gray: f64, alpha: f64) -> ColorRef ---

    ColorCreateGenericGrayGamma2_2 ¶

    @(link_name="CGColorCreateGenericGrayGamma2_2")
    ColorCreateGenericGrayGamma2_2 :: proc "c" (gray: f64, alpha: f64) -> ColorRef ---

    ColorCreateGenericRGB ¶

    @(link_name="CGColorCreateGenericRGB")
    ColorCreateGenericRGB :: proc "c" (red: f64, green: f64, blue: f64, alpha: f64) -> ColorRef ---

    ColorCreateSRGB ¶

    @(link_name="CGColorCreateSRGB")
    ColorCreateSRGB :: proc "c" (red: f64, green: f64, blue: f64, alpha: f64) -> ColorRef ---

    ColorCreateWithContentHeadroom ¶

    @(link_name="CGColorCreateWithContentHeadroom")
    ColorCreateWithContentHeadroom :: proc "c" (
    	headroom: f32, 
    	space:    ColorSpaceRef, 
    	red:      f64, 
    	green:    f64, 
    	blue:     f64, 
    	alpha:    f64, 
    ) -> ColorRef ---

    ColorCreateWithPattern ¶

    @(link_name="CGColorCreateWithPattern")
    ColorCreateWithPattern :: proc "c" (
    	space:      ColorSpaceRef, 
    	pattern:    PatternRef, 
    	components: ^f64, 
    ) -> ColorRef ---

    ColorEqualToColor ¶

    @(link_name="CGColorEqualToColor")
    ColorEqualToColor :: proc "c" (color1: ColorRef, color2: ColorRef) -> bool ---

    ColorGetAlpha ¶

    @(link_name="CGColorGetAlpha")
    ColorGetAlpha :: proc "c" (color: ColorRef) -> f64 ---

    ColorGetColorSpace ¶

    @(link_name="CGColorGetColorSpace")
    ColorGetColorSpace :: proc "c" (color: ColorRef) -> ColorSpaceRef ---

    ColorGetComponents ¶

    @(link_name="CGColorGetComponents")
    ColorGetComponents :: proc "c" (color: ColorRef) -> ^f64 ---

    ColorGetConstantColor ¶

    @(link_name="CGColorGetConstantColor")
    ColorGetConstantColor :: proc "c" (colorName: ^darwin_CoreFoundation.__CFString) -> ColorRef ---

    ColorGetContentHeadroom ¶

    @(link_name="CGColorGetContentHeadroom")
    ColorGetContentHeadroom :: proc "c" (color: ColorRef) -> f32 ---

    ColorGetNumberOfComponents ¶

    @(link_name="CGColorGetNumberOfComponents")
    ColorGetNumberOfComponents :: proc "c" (color: ColorRef) -> uint ---

    ColorGetPattern ¶

    @(link_name="CGColorGetPattern")
    ColorGetPattern :: proc "c" (color: ColorRef) -> PatternRef ---

    ColorGetTypeID ¶

    @(link_name="CGColorGetTypeID")
    ColorGetTypeID :: proc "c" () -> u64 ---

    ColorRelease ¶

    @(link_name="CGColorRelease")
    ColorRelease :: proc "c" (color: ColorRef) ---

    ColorRetain ¶

    @(link_name="CGColorRetain")
    ColorRetain :: proc "c" (color: ColorRef) -> ColorRef ---

    ColorSpaceCopyBaseColorSpace ¶

    @(link_name="CGColorSpaceCopyBaseColorSpace")
    ColorSpaceCopyBaseColorSpace :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCopyICCData ¶

    @(link_name="CGColorSpaceCopyICCData")
    ColorSpaceCopyICCData :: proc "c" (space: ColorSpaceRef) -> ^darwin_CoreFoundation.__CFData ---

    ColorSpaceCopyICCProfile ¶

    @(link_name="CGColorSpaceCopyICCProfile")
    ColorSpaceCopyICCProfile :: proc "c" (space: ColorSpaceRef) -> ^darwin_CoreFoundation.__CFData ---

    ColorSpaceCopyName ¶

    @(link_name="CGColorSpaceCopyName")
    ColorSpaceCopyName :: proc "c" (space: ColorSpaceRef) -> ^darwin_CoreFoundation.__CFString ---

    ColorSpaceCopyPropertyList ¶

    @(link_name="CGColorSpaceCopyPropertyList")
    ColorSpaceCopyPropertyList :: proc "c" (space: ColorSpaceRef) -> rawptr ---

    ColorSpaceCreateCalibratedGray ¶

    @(link_name="CGColorSpaceCreateCalibratedGray")
    ColorSpaceCreateCalibratedGray :: proc "c" (
    	whitePoint: ^f64, 
    	blackPoint: ^f64, 
    	gamma:      f64, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateCalibratedRGB ¶

    @(link_name="CGColorSpaceCreateCalibratedRGB")
    ColorSpaceCreateCalibratedRGB :: proc "c" (
    	whitePoint: ^f64, 
    	blackPoint: ^f64, 
    	gamma:      ^f64, 
    	_matrix:    ^f64, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateCopyWithStandardRange ¶

    @(link_name="CGColorSpaceCreateCopyWithStandardRange")
    ColorSpaceCreateCopyWithStandardRange :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCreateDeviceCMYK ¶

    @(link_name="CGColorSpaceCreateDeviceCMYK")
    ColorSpaceCreateDeviceCMYK :: proc "c" () -> ColorSpaceRef ---

    ColorSpaceCreateDeviceGray ¶

    @(link_name="CGColorSpaceCreateDeviceGray")
    ColorSpaceCreateDeviceGray :: proc "c" () -> ColorSpaceRef ---

    ColorSpaceCreateDeviceRGB ¶

    @(link_name="CGColorSpaceCreateDeviceRGB")
    ColorSpaceCreateDeviceRGB :: proc "c" () -> ColorSpaceRef ---

    ColorSpaceCreateExtended ¶

    @(link_name="CGColorSpaceCreateExtended")
    ColorSpaceCreateExtended :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCreateExtendedLinearized ¶

    @(link_name="CGColorSpaceCreateExtendedLinearized")
    ColorSpaceCreateExtendedLinearized :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCreateICCBased ¶

    @(link_name="CGColorSpaceCreateICCBased")
    ColorSpaceCreateICCBased :: proc "c" (
    	nComponents: uint, 
    	range:       ^f64, 
    	profile:     DataProviderRef, 
    	alternate:   ColorSpaceRef, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateIndexed ¶

    @(link_name="CGColorSpaceCreateIndexed")
    ColorSpaceCreateIndexed :: proc "c" (
    	baseSpace:  ColorSpaceRef, 
    	lastIndex:  uint, 
    	colorTable: ^u8, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateLab ¶

    @(link_name="CGColorSpaceCreateLab")
    ColorSpaceCreateLab :: proc "c" (
    	whitePoint: ^f64, 
    	blackPoint: ^f64, 
    	range:      ^f64, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateLinearized ¶

    @(link_name="CGColorSpaceCreateLinearized")
    ColorSpaceCreateLinearized :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCreatePattern ¶

    @(link_name="CGColorSpaceCreatePattern")
    ColorSpaceCreatePattern :: proc "c" (baseSpace: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceCreateWithColorSyncProfile ¶

    @(link_name="CGColorSpaceCreateWithColorSyncProfile")
    ColorSpaceCreateWithColorSyncProfile :: proc "c" (
    	_0:      ColorSyncProfileRef, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ColorSpaceRef ---

    ColorSpaceCreateWithICCData ¶

    @(link_name="CGColorSpaceCreateWithICCData")
    ColorSpaceCreateWithICCData :: proc "c" (data: rawptr) -> ColorSpaceRef ---

    ColorSpaceCreateWithICCProfile ¶

    @(link_name="CGColorSpaceCreateWithICCProfile")
    ColorSpaceCreateWithICCProfile :: proc "c" (data: ^darwin_CoreFoundation.__CFData) -> ColorSpaceRef ---

    ColorSpaceCreateWithName ¶

    @(link_name="CGColorSpaceCreateWithName")
    ColorSpaceCreateWithName :: proc "c" (name: ^darwin_CoreFoundation.__CFString) -> ColorSpaceRef ---

    ColorSpaceCreateWithPlatformColorSpace ¶

    @(link_name="CGColorSpaceCreateWithPlatformColorSpace")
    ColorSpaceCreateWithPlatformColorSpace :: proc "c" (ref: rawptr) -> ColorSpaceRef ---

    ColorSpaceCreateWithPropertyList ¶

    @(link_name="CGColorSpaceCreateWithPropertyList")
    ColorSpaceCreateWithPropertyList :: proc "c" (plist: rawptr) -> ColorSpaceRef ---

    ColorSpaceGetBaseColorSpace ¶

    @(link_name="CGColorSpaceGetBaseColorSpace")
    ColorSpaceGetBaseColorSpace :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceGetColorTable ¶

    @(link_name="CGColorSpaceGetColorTable")
    ColorSpaceGetColorTable :: proc "c" (space: ColorSpaceRef, table: ^u8) ---

    ColorSpaceGetColorTableCount ¶

    @(link_name="CGColorSpaceGetColorTableCount")
    ColorSpaceGetColorTableCount :: proc "c" (space: ColorSpaceRef) -> uint ---

    ColorSpaceGetModel ¶

    @(link_name="CGColorSpaceGetModel")
    ColorSpaceGetModel :: proc "c" (space: ColorSpaceRef) -> ColorSpaceModel ---

    ColorSpaceGetName ¶

    @(link_name="CGColorSpaceGetName")
    ColorSpaceGetName :: proc "c" (space: ColorSpaceRef) -> ^darwin_CoreFoundation.__CFString ---

    ColorSpaceGetNumberOfComponents ¶

    @(link_name="CGColorSpaceGetNumberOfComponents")
    ColorSpaceGetNumberOfComponents :: proc "c" (space: ColorSpaceRef) -> uint ---

    ColorSpaceGetTypeID ¶

    @(link_name="CGColorSpaceGetTypeID")
    ColorSpaceGetTypeID :: proc "c" () -> u64 ---

    ColorSpaceIsHDR ¶

    @(link_name="CGColorSpaceIsHDR")
    ColorSpaceIsHDR :: proc "c" (_0: ColorSpaceRef) -> bool ---

    ColorSpaceIsHLGBased ¶

    @(link_name="CGColorSpaceIsHLGBased")
    ColorSpaceIsHLGBased :: proc "c" (s: ColorSpaceRef) -> bool ---

    ColorSpaceIsPQBased ¶

    @(link_name="CGColorSpaceIsPQBased")
    ColorSpaceIsPQBased :: proc "c" (s: ColorSpaceRef) -> bool ---

    ColorSpaceIsWideGamutRGB ¶

    @(link_name="CGColorSpaceIsWideGamutRGB")
    ColorSpaceIsWideGamutRGB :: proc "c" (_0: ColorSpaceRef) -> bool ---

    ColorSpaceRelease ¶

    @(link_name="CGColorSpaceRelease")
    ColorSpaceRelease :: proc "c" (space: ColorSpaceRef) ---

    ColorSpaceRetain ¶

    @(link_name="CGColorSpaceRetain")
    ColorSpaceRetain :: proc "c" (space: ColorSpaceRef) -> ColorSpaceRef ---

    ColorSpaceSupportsOutput ¶

    @(link_name="CGColorSpaceSupportsOutput")
    ColorSpaceSupportsOutput :: proc "c" (space: ColorSpaceRef) -> bool ---

    ColorSpaceUsesExtendedRange ¶

    @(link_name="CGColorSpaceUsesExtendedRange")
    ColorSpaceUsesExtendedRange :: proc "c" (space: ColorSpaceRef) -> bool ---

    ColorSpaceUsesITUR_2100TF ¶

    @(link_name="CGColorSpaceUsesITUR_2100TF")
    ColorSpaceUsesITUR_2100TF :: proc "c" (_0: ColorSpaceRef) -> bool ---

    CompleteDisplayConfiguration ¶

    @(link_name="CGCompleteDisplayConfiguration")
    CompleteDisplayConfiguration :: proc "c" (
    	config: DisplayConfigRef, 
    	option: ConfigureOption, 
    ) -> Error ---

    ConfigureDisplayFadeEffect ¶

    @(link_name="CGConfigureDisplayFadeEffect")
    ConfigureDisplayFadeEffect :: proc "c" (
    	config:         DisplayConfigRef, 
    	fadeOutSeconds: DisplayFadeInterval, 
    	fadeInSeconds:  DisplayFadeInterval, 
    	fadeRed:        f32, 
    	fadeGreen:      f32, 
    	fadeBlue:       f32, 
    ) -> Error ---

    ConfigureDisplayMirrorOfDisplay ¶

    @(link_name="CGConfigureDisplayMirrorOfDisplay")
    ConfigureDisplayMirrorOfDisplay :: proc "c" (
    	config:  DisplayConfigRef, 
    	display: DirectDisplayID, 
    	master:  DirectDisplayID, 
    ) -> Error ---

    ConfigureDisplayMode ¶

    @(link_name="CGConfigureDisplayMode")
    ConfigureDisplayMode :: proc "c" (
    	config:  DisplayConfigRef, 
    	display: DirectDisplayID, 
    	mode:    ^darwin_CoreFoundation.__CFDictionary, 
    ) -> Error ---

    ConfigureDisplayOrigin ¶

    @(link_name="CGConfigureDisplayOrigin")
    ConfigureDisplayOrigin :: proc "c" (
    	config:  DisplayConfigRef, 
    	display: DirectDisplayID, 
    	x:       i32, 
    	y:       i32, 
    ) -> Error ---

    ConfigureDisplayStereoOperation ¶

    @(link_name="CGConfigureDisplayStereoOperation")
    ConfigureDisplayStereoOperation :: proc "c" (
    	config:        DisplayConfigRef, 
    	display:       DirectDisplayID, 
    	stereo:        b32, 
    	forceBlueLine: b32, 
    ) -> Error ---

    ConfigureDisplayWithDisplayMode ¶

    @(link_name="CGConfigureDisplayWithDisplayMode")
    ConfigureDisplayWithDisplayMode :: proc "c" (
    	config:  DisplayConfigRef, 
    	display: DirectDisplayID, 
    	mode:    DisplayModeRef, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> Error ---

    ContextAddArc ¶

    @(link_name="CGContextAddArc")
    ContextAddArc :: proc "c" (
    	c:          ContextRef, 
    	x:          f64, 
    	y:          f64, 
    	radius:     f64, 
    	startAngle: f64, 
    	endAngle:   f64, 
    	clockwise:  i32, 
    ) ---

    ContextAddArcToPoint ¶

    @(link_name="CGContextAddArcToPoint")
    ContextAddArcToPoint :: proc "c" (
    	c:      ContextRef, 
    	x1:     f64, 
    	y1:     f64, 
    	x2:     f64, 
    	y2:     f64, 
    	radius: f64, 
    ) ---

    ContextAddCurveToPoint ¶

    @(link_name="CGContextAddCurveToPoint")
    ContextAddCurveToPoint :: proc "c" (
    	c:    ContextRef, 
    	cp1x: f64, 
    	cp1y: f64, 
    	cp2x: f64, 
    	cp2y: f64, 
    	x:    f64, 
    	y:    f64, 
    ) ---

    ContextAddEllipseInRect ¶

    @(link_name="CGContextAddEllipseInRect")
    ContextAddEllipseInRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextAddLineToPoint ¶

    @(link_name="CGContextAddLineToPoint")
    ContextAddLineToPoint :: proc "c" (c: ContextRef, x: f64, y: f64) ---

    ContextAddLines ¶

    @(link_name="CGContextAddLines")
    ContextAddLines :: proc "c" (c: ContextRef, points: ^Point, count: uint) ---

    ContextAddPath ¶

    @(link_name="CGContextAddPath")
    ContextAddPath :: proc "c" (c: ContextRef, path: PathRef) ---

    ContextAddQuadCurveToPoint ¶

    @(link_name="CGContextAddQuadCurveToPoint")
    ContextAddQuadCurveToPoint :: proc "c" (c: ContextRef, cpx: f64, cpy: f64, x: f64, y: f64) ---

    ContextAddRect ¶

    @(link_name="CGContextAddRect")
    ContextAddRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextAddRects ¶

    @(link_name="CGContextAddRects")
    ContextAddRects :: proc "c" (c: ContextRef, rects: ^Rect, count: uint) ---

    ContextBeginPage ¶

    @(link_name="CGContextBeginPage")
    ContextBeginPage :: proc "c" (c: ContextRef, mediaBox: ^Rect) ---

    ContextBeginPath ¶

    @(link_name="CGContextBeginPath")
    ContextBeginPath :: proc "c" (c: ContextRef) ---

    ContextBeginTransparencyLayer ¶

    @(link_name="CGContextBeginTransparencyLayer")
    ContextBeginTransparencyLayer :: proc "c" (
    	c:             ContextRef, 
    	auxiliaryInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    ContextBeginTransparencyLayerWithRect ¶

    @(link_name="CGContextBeginTransparencyLayerWithRect")
    ContextBeginTransparencyLayerWithRect :: proc "c" (
    	c:       ContextRef, 
    	rect:    Rect, 
    	auxInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    ContextClearRect ¶

    @(link_name="CGContextClearRect")
    ContextClearRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextClip ¶

    @(link_name="CGContextClip")
    ContextClip :: proc "c" (c: ContextRef) ---

    ContextClipToMask ¶

    @(link_name="CGContextClipToMask")
    ContextClipToMask :: proc "c" (c: ContextRef, rect: Rect, mask: ImageRef) ---

    ContextClipToRect ¶

    @(link_name="CGContextClipToRect")
    ContextClipToRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextClipToRects ¶

    @(link_name="CGContextClipToRects")
    ContextClipToRects :: proc "c" (c: ContextRef, rects: ^Rect, count: uint) ---

    ContextClosePath ¶

    @(link_name="CGContextClosePath")
    ContextClosePath :: proc "c" (c: ContextRef) ---

    ContextConcatCTM ¶

    @(link_name="CGContextConcatCTM")
    ContextConcatCTM :: proc "c" (c: ContextRef, transform: AffineTransform) ---

    ContextConvertPointToDeviceSpace ¶

    @(link_name="CGContextConvertPointToDeviceSpace")
    ContextConvertPointToDeviceSpace :: proc "c" (c: ContextRef, point: Point) -> Point ---

    ContextConvertPointToUserSpace ¶

    @(link_name="CGContextConvertPointToUserSpace")
    ContextConvertPointToUserSpace :: proc "c" (c: ContextRef, point: Point) -> Point ---

    ContextConvertRectToDeviceSpace ¶

    @(link_name="CGContextConvertRectToDeviceSpace")
    ContextConvertRectToDeviceSpace :: proc "c" (c: ContextRef, rect: Rect) -> Rect ---

    ContextConvertRectToUserSpace ¶

    @(link_name="CGContextConvertRectToUserSpace")
    ContextConvertRectToUserSpace :: proc "c" (c: ContextRef, rect: Rect) -> Rect ---

    ContextConvertSizeToDeviceSpace ¶

    @(link_name="CGContextConvertSizeToDeviceSpace")
    ContextConvertSizeToDeviceSpace :: proc "c" (c: ContextRef, size: Size) -> Size ---

    ContextConvertSizeToUserSpace ¶

    @(link_name="CGContextConvertSizeToUserSpace")
    ContextConvertSizeToUserSpace :: proc "c" (c: ContextRef, size: Size) -> Size ---

    ContextCopyPath ¶

    @(link_name="CGContextCopyPath")
    ContextCopyPath :: proc "c" (c: ContextRef) -> PathRef ---

    ContextDrawConicGradient ¶

    @(link_name="CGContextDrawConicGradient")
    ContextDrawConicGradient :: proc "c" (
    	c:        ContextRef, 
    	gradient: GradientRef, 
    	center:   Point, 
    	angle:    f64, 
    ) ---

    ContextDrawImage ¶

    @(link_name="CGContextDrawImage")
    ContextDrawImage :: proc "c" (c: ContextRef, rect: Rect, image: ImageRef) ---

    ContextDrawImageApplyingToneMapping ¶

    @(link_name="CGContextDrawImageApplyingToneMapping")
    ContextDrawImageApplyingToneMapping :: proc "c" (
    	c:       ContextRef, 
    	r:       Rect, 
    	image:   ImageRef, 
    	method:  ToneMapping, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> bool ---

    ContextDrawLayerAtPoint ¶

    @(link_name="CGContextDrawLayerAtPoint")
    ContextDrawLayerAtPoint :: proc "c" (_context: ContextRef, point: Point, layer: LayerRef) ---

    ContextDrawLayerInRect ¶

    @(link_name="CGContextDrawLayerInRect")
    ContextDrawLayerInRect :: proc "c" (_context: ContextRef, rect: Rect, layer: LayerRef) ---

    ContextDrawLinearGradient ¶

    @(link_name="CGContextDrawLinearGradient")
    ContextDrawLinearGradient :: proc "c" (
    	c:          ContextRef, 
    	gradient:   GradientRef, 
    	startPoint: Point, 
    	endPoint:   Point, 
    	options:    bit_set[GradientDrawingOption; u32], 
    ) ---

    ContextDrawPDFDocument ¶

    @(link_name="CGContextDrawPDFDocument")
    ContextDrawPDFDocument :: proc "c" (
    	c:        ContextRef, 
    	rect:     Rect, 
    	document: PDFDocumentRef, 
    	page:     i32, 
    ) ---

    ContextDrawPDFPage ¶

    @(link_name="CGContextDrawPDFPage")
    ContextDrawPDFPage :: proc "c" (c: ContextRef, page: PDFPageRef) ---

    ContextDrawPath ¶

    @(link_name="CGContextDrawPath")
    ContextDrawPath :: proc "c" (c: ContextRef, mode: PathDrawingMode) ---

    ContextDrawRadialGradient ¶

    @(link_name="CGContextDrawRadialGradient")
    ContextDrawRadialGradient :: proc "c" (
    	c:           ContextRef, 
    	gradient:    GradientRef, 
    	startCenter: Point, 
    	startRadius: f64, 
    	endCenter:   Point, 
    	endRadius:   f64, 
    	options:     bit_set[GradientDrawingOption; u32], 
    ) ---

    ContextDrawShading ¶

    @(link_name="CGContextDrawShading")
    ContextDrawShading :: proc "c" (c: ContextRef, shading: ShadingRef) ---

    ContextDrawTiledImage ¶

    @(link_name="CGContextDrawTiledImage")
    ContextDrawTiledImage :: proc "c" (c: ContextRef, rect: Rect, image: ImageRef) ---

    ContextEOClip ¶

    @(link_name="CGContextEOClip")
    ContextEOClip :: proc "c" (c: ContextRef) ---

    ContextEOFillPath ¶

    @(link_name="CGContextEOFillPath")
    ContextEOFillPath :: proc "c" (c: ContextRef) ---

    ContextEndPage ¶

    @(link_name="CGContextEndPage")
    ContextEndPage :: proc "c" (c: ContextRef) ---

    ContextEndTransparencyLayer ¶

    @(link_name="CGContextEndTransparencyLayer")
    ContextEndTransparencyLayer :: proc "c" (c: ContextRef) ---

    ContextFillEllipseInRect ¶

    @(link_name="CGContextFillEllipseInRect")
    ContextFillEllipseInRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextFillPath ¶

    @(link_name="CGContextFillPath")
    ContextFillPath :: proc "c" (c: ContextRef) ---

    ContextFillRect ¶

    @(link_name="CGContextFillRect")
    ContextFillRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextFillRects ¶

    @(link_name="CGContextFillRects")
    ContextFillRects :: proc "c" (c: ContextRef, rects: ^Rect, count: uint) ---

    ContextFlush ¶

    @(link_name="CGContextFlush")
    ContextFlush :: proc "c" (c: ContextRef) ---

    ContextGetCTM ¶

    @(link_name="CGContextGetCTM")
    ContextGetCTM :: proc "c" (c: ContextRef) -> AffineTransform ---

    ContextGetClipBoundingBox ¶

    @(link_name="CGContextGetClipBoundingBox")
    ContextGetClipBoundingBox :: proc "c" (c: ContextRef) -> Rect ---

    ContextGetContentToneMappingInfo ¶

    @(link_name="CGContextGetContentToneMappingInfo")
    ContextGetContentToneMappingInfo :: proc "c" (c: ContextRef) -> ContentToneMappingInfo ---

    ContextGetEDRTargetHeadroom ¶

    @(link_name="CGContextGetEDRTargetHeadroom")
    ContextGetEDRTargetHeadroom :: proc "c" (c: ContextRef) -> f32 ---

    ContextGetInterpolationQuality ¶

    @(link_name="CGContextGetInterpolationQuality")
    ContextGetInterpolationQuality :: proc "c" (c: ContextRef) -> InterpolationQuality ---

    ContextGetPathBoundingBox ¶

    @(link_name="CGContextGetPathBoundingBox")
    ContextGetPathBoundingBox :: proc "c" (c: ContextRef) -> Rect ---

    ContextGetPathCurrentPoint ¶

    @(link_name="CGContextGetPathCurrentPoint")
    ContextGetPathCurrentPoint :: proc "c" (c: ContextRef) -> Point ---

    ContextGetTextMatrix ¶

    @(link_name="CGContextGetTextMatrix")
    ContextGetTextMatrix :: proc "c" (c: ContextRef) -> AffineTransform ---

    ContextGetTextPosition ¶

    @(link_name="CGContextGetTextPosition")
    ContextGetTextPosition :: proc "c" (c: ContextRef) -> Point ---

    ContextGetTypeID ¶

    @(link_name="CGContextGetTypeID")
    ContextGetTypeID :: proc "c" () -> u64 ---

    ContextGetUserSpaceToDeviceSpaceTransform ¶

    @(link_name="CGContextGetUserSpaceToDeviceSpaceTransform")
    ContextGetUserSpaceToDeviceSpaceTransform :: proc "c" (c: ContextRef) -> AffineTransform ---

    ContextIsPathEmpty ¶

    @(link_name="CGContextIsPathEmpty")
    ContextIsPathEmpty :: proc "c" (c: ContextRef) -> bool ---

    ContextMoveToPoint ¶

    @(link_name="CGContextMoveToPoint")
    ContextMoveToPoint :: proc "c" (c: ContextRef, x: f64, y: f64) ---

    ContextPathContainsPoint ¶

    @(link_name="CGContextPathContainsPoint")
    ContextPathContainsPoint :: proc "c" (
    	c:     ContextRef, 
    	point: Point, 
    	mode:  PathDrawingMode, 
    ) -> bool ---

    ContextRelease ¶

    @(link_name="CGContextRelease")
    ContextRelease :: proc "c" (c: ContextRef) ---

    ContextReplacePathWithStrokedPath ¶

    @(link_name="CGContextReplacePathWithStrokedPath")
    ContextReplacePathWithStrokedPath :: proc "c" (c: ContextRef) ---

    ContextResetClip ¶

    @(link_name="CGContextResetClip")
    ContextResetClip :: proc "c" (c: ContextRef) ---

    ContextRestoreGState ¶

    @(link_name="CGContextRestoreGState")
    ContextRestoreGState :: proc "c" (c: ContextRef) ---

    ContextRetain ¶

    @(link_name="CGContextRetain")
    ContextRetain :: proc "c" (c: ContextRef) -> ContextRef ---

    ContextRotateCTM ¶

    @(link_name="CGContextRotateCTM")
    ContextRotateCTM :: proc "c" (c: ContextRef, angle: f64) ---

    ContextSaveGState ¶

    @(link_name="CGContextSaveGState")
    ContextSaveGState :: proc "c" (c: ContextRef) ---

    ContextScaleCTM ¶

    @(link_name="CGContextScaleCTM")
    ContextScaleCTM :: proc "c" (c: ContextRef, sx: f64, sy: f64) ---

    ContextSelectFont ¶

    @(link_name="CGContextSelectFont")
    ContextSelectFont :: proc "c" (
    	c:            ContextRef, 
    	name:         cstring, 
    	size:         f64, 
    	textEncoding: TextEncoding, 
    ) ---

    ContextSetAllowsAntialiasing ¶

    @(link_name="CGContextSetAllowsAntialiasing")
    ContextSetAllowsAntialiasing :: proc "c" (c: ContextRef, allowsAntialiasing: bool) ---

    ContextSetAllowsFontSmoothing ¶

    @(link_name="CGContextSetAllowsFontSmoothing")
    ContextSetAllowsFontSmoothing :: proc "c" (c: ContextRef, allowsFontSmoothing: bool) ---

    ContextSetAllowsFontSubpixelPositioning ¶

    @(link_name="CGContextSetAllowsFontSubpixelPositioning")
    ContextSetAllowsFontSubpixelPositioning :: proc "c" (
    	c:                             ContextRef, 
    	allowsFontSubpixelPositioning: bool, 
    ) ---

    ContextSetAllowsFontSubpixelQuantization ¶

    @(link_name="CGContextSetAllowsFontSubpixelQuantization")
    ContextSetAllowsFontSubpixelQuantization :: proc "c" (
    	c:                              ContextRef, 
    	allowsFontSubpixelQuantization: bool, 
    ) ---

    ContextSetAlpha ¶

    @(link_name="CGContextSetAlpha")
    ContextSetAlpha :: proc "c" (c: ContextRef, alpha: f64) ---

    ContextSetBlendMode ¶

    @(link_name="CGContextSetBlendMode")
    ContextSetBlendMode :: proc "c" (c: ContextRef, mode: BlendMode) ---

    ContextSetCMYKFillColor ¶

    @(link_name="CGContextSetCMYKFillColor")
    ContextSetCMYKFillColor :: proc "c" (
    	c:       ContextRef, 
    	cyan:    f64, 
    	magenta: f64, 
    	yellow:  f64, 
    	black:   f64, 
    	alpha:   f64, 
    ) ---

    ContextSetCMYKStrokeColor ¶

    @(link_name="CGContextSetCMYKStrokeColor")
    ContextSetCMYKStrokeColor :: proc "c" (
    	c:       ContextRef, 
    	cyan:    f64, 
    	magenta: f64, 
    	yellow:  f64, 
    	black:   f64, 
    	alpha:   f64, 
    ) ---

    ContextSetCharacterSpacing ¶

    @(link_name="CGContextSetCharacterSpacing")
    ContextSetCharacterSpacing :: proc "c" (c: ContextRef, spacing: f64) ---

    ContextSetContentToneMappingInfo ¶

    @(link_name="CGContextSetContentToneMappingInfo")
    ContextSetContentToneMappingInfo :: proc "c" (c: ContextRef, info: ContentToneMappingInfo) ---

    ContextSetEDRTargetHeadroom ¶

    @(link_name="CGContextSetEDRTargetHeadroom")
    ContextSetEDRTargetHeadroom :: proc "c" (c: ContextRef, headroom: f32) -> bool ---

    ContextSetFillColor ¶

    @(link_name="CGContextSetFillColor")
    ContextSetFillColor :: proc "c" (c: ContextRef, components: ^f64) ---

    ContextSetFillColorSpace ¶

    @(link_name="CGContextSetFillColorSpace")
    ContextSetFillColorSpace :: proc "c" (c: ContextRef, space: ColorSpaceRef) ---

    ContextSetFillColorWithColor ¶

    @(link_name="CGContextSetFillColorWithColor")
    ContextSetFillColorWithColor :: proc "c" (c: ContextRef, color: ColorRef) ---

    ContextSetFillPattern ¶

    @(link_name="CGContextSetFillPattern")
    ContextSetFillPattern :: proc "c" (c: ContextRef, pattern: PatternRef, components: ^f64) ---

    ContextSetFlatness ¶

    @(link_name="CGContextSetFlatness")
    ContextSetFlatness :: proc "c" (c: ContextRef, flatness: f64) ---

    ContextSetFont ¶

    @(link_name="CGContextSetFont")
    ContextSetFont :: proc "c" (c: ContextRef, font: FontRef) ---

    ContextSetFontSize ¶

    @(link_name="CGContextSetFontSize")
    ContextSetFontSize :: proc "c" (c: ContextRef, size: f64) ---

    ContextSetGrayFillColor ¶

    @(link_name="CGContextSetGrayFillColor")
    ContextSetGrayFillColor :: proc "c" (c: ContextRef, gray: f64, alpha: f64) ---

    ContextSetGrayStrokeColor ¶

    @(link_name="CGContextSetGrayStrokeColor")
    ContextSetGrayStrokeColor :: proc "c" (c: ContextRef, gray: f64, alpha: f64) ---

    ContextSetInterpolationQuality ¶

    @(link_name="CGContextSetInterpolationQuality")
    ContextSetInterpolationQuality :: proc "c" (c: ContextRef, quality: InterpolationQuality) ---

    ContextSetLineCap ¶

    @(link_name="CGContextSetLineCap")
    ContextSetLineCap :: proc "c" (c: ContextRef, cap: LineCap) ---

    ContextSetLineDash ¶

    @(link_name="CGContextSetLineDash")
    ContextSetLineDash :: proc "c" (c: ContextRef, phase: f64, lengths: ^f64, count: uint) ---

    ContextSetLineJoin ¶

    @(link_name="CGContextSetLineJoin")
    ContextSetLineJoin :: proc "c" (c: ContextRef, join: LineJoin) ---

    ContextSetLineWidth ¶

    @(link_name="CGContextSetLineWidth")
    ContextSetLineWidth :: proc "c" (c: ContextRef, width: f64) ---

    ContextSetMiterLimit ¶

    @(link_name="CGContextSetMiterLimit")
    ContextSetMiterLimit :: proc "c" (c: ContextRef, limit: f64) ---

    ContextSetPatternPhase ¶

    @(link_name="CGContextSetPatternPhase")
    ContextSetPatternPhase :: proc "c" (c: ContextRef, phase: Size) ---

    ContextSetRGBFillColor ¶

    @(link_name="CGContextSetRGBFillColor")
    ContextSetRGBFillColor :: proc "c" (
    	c:     ContextRef, 
    	red:   f64, 
    	green: f64, 
    	blue:  f64, 
    	alpha: f64, 
    ) ---

    ContextSetRGBStrokeColor ¶

    @(link_name="CGContextSetRGBStrokeColor")
    ContextSetRGBStrokeColor :: proc "c" (
    	c:     ContextRef, 
    	red:   f64, 
    	green: f64, 
    	blue:  f64, 
    	alpha: f64, 
    ) ---

    ContextSetRenderingIntent ¶

    @(link_name="CGContextSetRenderingIntent")
    ContextSetRenderingIntent :: proc "c" (c: ContextRef, intent: ColorRenderingIntent) ---

    ContextSetShadow ¶

    @(link_name="CGContextSetShadow")
    ContextSetShadow :: proc "c" (c: ContextRef, offset: Size, blur: f64) ---

    ContextSetShadowWithColor ¶

    @(link_name="CGContextSetShadowWithColor")
    ContextSetShadowWithColor :: proc "c" (
    	c:      ContextRef, 
    	offset: Size, 
    	blur:   f64, 
    	color:  ColorRef, 
    ) ---

    ContextSetShouldAntialias ¶

    @(link_name="CGContextSetShouldAntialias")
    ContextSetShouldAntialias :: proc "c" (c: ContextRef, shouldAntialias: bool) ---

    ContextSetShouldSmoothFonts ¶

    @(link_name="CGContextSetShouldSmoothFonts")
    ContextSetShouldSmoothFonts :: proc "c" (c: ContextRef, shouldSmoothFonts: bool) ---

    ContextSetShouldSubpixelPositionFonts ¶

    @(link_name="CGContextSetShouldSubpixelPositionFonts")
    ContextSetShouldSubpixelPositionFonts :: proc "c" (
    	c:                           ContextRef, 
    	shouldSubpixelPositionFonts: bool, 
    ) ---

    ContextSetShouldSubpixelQuantizeFonts ¶

    @(link_name="CGContextSetShouldSubpixelQuantizeFonts")
    ContextSetShouldSubpixelQuantizeFonts :: proc "c" (
    	c:                           ContextRef, 
    	shouldSubpixelQuantizeFonts: bool, 
    ) ---

    ContextSetStrokeColor ¶

    @(link_name="CGContextSetStrokeColor")
    ContextSetStrokeColor :: proc "c" (c: ContextRef, components: ^f64) ---

    ContextSetStrokeColorSpace ¶

    @(link_name="CGContextSetStrokeColorSpace")
    ContextSetStrokeColorSpace :: proc "c" (c: ContextRef, space: ColorSpaceRef) ---

    ContextSetStrokeColorWithColor ¶

    @(link_name="CGContextSetStrokeColorWithColor")
    ContextSetStrokeColorWithColor :: proc "c" (c: ContextRef, color: ColorRef) ---

    ContextSetStrokePattern ¶

    @(link_name="CGContextSetStrokePattern")
    ContextSetStrokePattern :: proc "c" (c: ContextRef, pattern: PatternRef, components: ^f64) ---

    ContextSetTextDrawingMode ¶

    @(link_name="CGContextSetTextDrawingMode")
    ContextSetTextDrawingMode :: proc "c" (c: ContextRef, mode: TextDrawingMode) ---

    ContextSetTextMatrix ¶

    @(link_name="CGContextSetTextMatrix")
    ContextSetTextMatrix :: proc "c" (c: ContextRef, t: AffineTransform) ---

    ContextSetTextPosition ¶

    @(link_name="CGContextSetTextPosition")
    ContextSetTextPosition :: proc "c" (c: ContextRef, x: f64, y: f64) ---

    ContextShowGlyphs ¶

    @(link_name="CGContextShowGlyphs")
    ContextShowGlyphs :: proc "c" (c: ContextRef, g: ^Glyph, count: uint) ---

    ContextShowGlyphsAtPoint ¶

    @(link_name="CGContextShowGlyphsAtPoint")
    ContextShowGlyphsAtPoint :: proc "c" (
    	c:      ContextRef, 
    	x:      f64, 
    	y:      f64, 
    	glyphs: ^Glyph, 
    	count:  uint, 
    ) ---

    ContextShowGlyphsAtPositions ¶

    @(link_name="CGContextShowGlyphsAtPositions")
    ContextShowGlyphsAtPositions :: proc "c" (
    	c:          ContextRef, 
    	glyphs:     ^Glyph, 
    	Lpositions: ^Point, 
    	count:      uint, 
    ) ---

    ContextShowGlyphsWithAdvances ¶

    @(link_name="CGContextShowGlyphsWithAdvances")
    ContextShowGlyphsWithAdvances :: proc "c" (
    	c:        ContextRef, 
    	glyphs:   ^Glyph, 
    	advances: ^Size, 
    	count:    uint, 
    ) ---

    ContextShowText ¶

    @(link_name="CGContextShowText")
    ContextShowText :: proc "c" (c: ContextRef, string: cstring, length: uint) ---

    ContextShowTextAtPoint ¶

    @(link_name="CGContextShowTextAtPoint")
    ContextShowTextAtPoint :: proc "c" (
    	c:      ContextRef, 
    	x:      f64, 
    	y:      f64, 
    	string: cstring, 
    	length: uint, 
    ) ---

    ContextStrokeEllipseInRect ¶

    @(link_name="CGContextStrokeEllipseInRect")
    ContextStrokeEllipseInRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextStrokeLineSegments ¶

    @(link_name="CGContextStrokeLineSegments")
    ContextStrokeLineSegments :: proc "c" (c: ContextRef, points: ^Point, count: uint) ---

    ContextStrokePath ¶

    @(link_name="CGContextStrokePath")
    ContextStrokePath :: proc "c" (c: ContextRef) ---

    ContextStrokeRect ¶

    @(link_name="CGContextStrokeRect")
    ContextStrokeRect :: proc "c" (c: ContextRef, rect: Rect) ---

    ContextStrokeRectWithWidth ¶

    @(link_name="CGContextStrokeRectWithWidth")
    ContextStrokeRectWithWidth :: proc "c" (c: ContextRef, rect: Rect, width: f64) ---

    ContextSynchronize ¶

    @(link_name="CGContextSynchronize")
    ContextSynchronize :: proc "c" (c: ContextRef) ---

    ContextSynchronizeAttributes ¶

    @(link_name="CGContextSynchronizeAttributes")
    ContextSynchronizeAttributes :: proc "c" (c: ContextRef) ---

    ContextTranslateCTM ¶

    @(link_name="CGContextTranslateCTM")
    ContextTranslateCTM :: proc "c" (c: ContextRef, tx: f64, ty: f64) ---

    ConvertColorDataWithFormat ¶

    @(link_name="CGConvertColorDataWithFormat")
    ConvertColorDataWithFormat :: proc "c" (
    	width:      uint, 
    	height:     uint, 
    	dst_data:   rawptr, 
    	dst_format: ColorDataFormat, 
    	src_data:   rawptr, 
    	src_format: ColorDataFormat, 
    	options:    ^darwin_CoreFoundation.__CFDictionary, 
    ) -> bool ---

    CursorIsDrawnInFramebuffer ¶

    @(link_name="CGCursorIsDrawnInFramebuffer")
    CursorIsDrawnInFramebuffer :: proc "c" () -> b32 ---

    CursorIsVisible ¶

    @(link_name="CGCursorIsVisible")
    CursorIsVisible :: proc "c" () -> b32 ---

    DataConsumerCreate ¶

    @(link_name="CGDataConsumerCreate")
    DataConsumerCreate :: proc "c" (info: rawptr, cbks: ^DataConsumerCallbacks) -> DataConsumerRef ---

    DataConsumerCreateWithCFData ¶

    @(link_name="CGDataConsumerCreateWithCFData")
    DataConsumerCreateWithCFData :: proc "c" (data: ^darwin_CoreFoundation.__CFData) -> DataConsumerRef ---

    DataConsumerCreateWithURL ¶

    @(link_name="CGDataConsumerCreateWithURL")
    DataConsumerCreateWithURL :: proc "c" (url: ^darwin_CoreFoundation.__CFURL) -> DataConsumerRef ---

    DataConsumerGetTypeID ¶

    @(link_name="CGDataConsumerGetTypeID")
    DataConsumerGetTypeID :: proc "c" () -> u64 ---

    DataConsumerRelease ¶

    @(link_name="CGDataConsumerRelease")
    DataConsumerRelease :: proc "c" (consumer: DataConsumerRef) ---

    DataConsumerRetain ¶

    @(link_name="CGDataConsumerRetain")
    DataConsumerRetain :: proc "c" (consumer: DataConsumerRef) -> DataConsumerRef ---

    DataProviderCopyData ¶

    @(link_name="CGDataProviderCopyData")
    DataProviderCopyData :: proc "c" (provider: DataProviderRef) -> ^darwin_CoreFoundation.__CFData ---

    DataProviderCreateDirect ¶

    @(link_name="CGDataProviderCreateDirect")
    DataProviderCreateDirect :: proc "c" (
    	info:      rawptr, 
    	size:      posix.off_t, 
    	callbacks: ^DataProviderDirectCallbacks, 
    ) -> DataProviderRef ---

    DataProviderCreateSequential ¶

    @(link_name="CGDataProviderCreateSequential")
    DataProviderCreateSequential :: proc "c" (
    	info:      rawptr, 
    	callbacks: ^DataProviderSequentialCallbacks, 
    ) -> DataProviderRef ---

    DataProviderCreateWithCFData ¶

    @(link_name="CGDataProviderCreateWithCFData")
    DataProviderCreateWithCFData :: proc "c" (data: ^darwin_CoreFoundation.__CFData) -> DataProviderRef ---

    DataProviderCreateWithData ¶

    @(link_name="CGDataProviderCreateWithData")
    DataProviderCreateWithData :: proc "c" (
    	info:        rawptr, 
    	data:        rawptr, 
    	size:        uint, 
    	releaseData: DataProviderReleaseDataCallback, 
    ) -> DataProviderRef ---

    DataProviderCreateWithFilename ¶

    @(link_name="CGDataProviderCreateWithFilename")
    DataProviderCreateWithFilename :: proc "c" (filename: cstring) -> DataProviderRef ---

    DataProviderCreateWithURL ¶

    @(link_name="CGDataProviderCreateWithURL")
    DataProviderCreateWithURL :: proc "c" (url: ^darwin_CoreFoundation.__CFURL) -> DataProviderRef ---

    DataProviderGetInfo ¶

    @(link_name="CGDataProviderGetInfo")
    DataProviderGetInfo :: proc "c" (provider: DataProviderRef) -> rawptr ---

    DataProviderGetTypeID ¶

    @(link_name="CGDataProviderGetTypeID")
    DataProviderGetTypeID :: proc "c" () -> u64 ---

    DataProviderRelease ¶

    @(link_name="CGDataProviderRelease")
    DataProviderRelease :: proc "c" (provider: DataProviderRef) ---

    DataProviderRetain ¶

    @(link_name="CGDataProviderRetain")
    DataProviderRetain :: proc "c" (provider: DataProviderRef) -> DataProviderRef ---

    DirectDisplayCopyCurrentMetalDevice ¶

    @(link_name="CGDirectDisplayCopyCurrentMetalDevice")
    DirectDisplayCopyCurrentMetalDevice :: proc "c" (display: DirectDisplayID) -> ^intrinsics.objc_object ---

    DisplayAvailableModes ¶

    @(link_name="CGDisplayAvailableModes")
    DisplayAvailableModes :: proc "c" (dsp: DirectDisplayID) -> ^darwin_CoreFoundation.__CFArray ---

    DisplayBestModeForParameters ¶

    @(link_name="CGDisplayBestModeForParameters")
    DisplayBestModeForParameters :: proc "c" (
    	display:      DirectDisplayID, 
    	bitsPerPixel: uint, 
    	width:        uint, 
    	height:       uint, 
    	exactMatch:   ^b32, 
    ) -> ^darwin_CoreFoundation.__CFDictionary ---

    DisplayBestModeForParametersAndRefreshRate ¶

    @(link_name="CGDisplayBestModeForParametersAndRefreshRate")
    DisplayBestModeForParametersAndRefreshRate :: proc "c" (
    	display:      DirectDisplayID, 
    	bitsPerPixel: uint, 
    	width:        uint, 
    	height:       uint, 
    	refreshRate:  RefreshRate, 
    	exactMatch:   ^b32, 
    ) -> ^darwin_CoreFoundation.__CFDictionary ---

    DisplayBounds ¶

    @(link_name="CGDisplayBounds")
    DisplayBounds :: proc "c" (display: DirectDisplayID) -> Rect ---

    DisplayCapture ¶

    @(link_name="CGDisplayCapture")
    DisplayCapture :: proc "c" (display: DirectDisplayID) -> Error ---

    DisplayCaptureWithOptions ¶

    @(link_name="CGDisplayCaptureWithOptions")
    DisplayCaptureWithOptions :: proc "c" (
    	display: DirectDisplayID, 
    	options: bit_set[CaptureOption; u32], 
    ) -> Error ---

    DisplayCopyAllDisplayModes ¶

    @(link_name="CGDisplayCopyAllDisplayModes")
    DisplayCopyAllDisplayModes :: proc "c" (
    	display: DirectDisplayID, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ^darwin_CoreFoundation.__CFArray ---

    DisplayCopyColorSpace ¶

    @(link_name="CGDisplayCopyColorSpace")
    DisplayCopyColorSpace :: proc "c" (display: DirectDisplayID) -> ColorSpaceRef ---

    DisplayCopyDisplayMode ¶

    @(link_name="CGDisplayCopyDisplayMode")
    DisplayCopyDisplayMode :: proc "c" (display: DirectDisplayID) -> DisplayModeRef ---

    DisplayCreateImage ¶

    @(link_name="CGDisplayCreateImage")
    DisplayCreateImage :: proc "c" (displayID: DirectDisplayID) -> ImageRef ---

    DisplayCreateImageForRect ¶

    @(link_name="CGDisplayCreateImageForRect")
    DisplayCreateImageForRect :: proc "c" (display: DirectDisplayID, rect: Rect) -> ImageRef ---

    DisplayCreateUUIDFromDisplayID ¶
    C · CGDisplayCreateUUIDFromDisplayIDSource · CoreGraphics.odin:35

    DisplayCreateUUIDFromDisplayID :: proc "c" (displayID: DirectDisplayID) -> ^darwin_CoreFoundation.__CFUUID ---

    DisplayCurrentMode ¶

    @(link_name="CGDisplayCurrentMode")
    DisplayCurrentMode :: proc "c" (display: DirectDisplayID) -> ^darwin_CoreFoundation.__CFDictionary ---

    DisplayFade ¶

    @(link_name="CGDisplayFade")
    DisplayFade :: proc "c" (
    	token:       DisplayFadeReservationToken, 
    	duration:    DisplayFadeInterval, 
    	startBlend:  DisplayBlendFraction, 
    	endBlend:    DisplayBlendFraction, 
    	redBlend:    f32, 
    	greenBlend:  f32, 
    	blueBlend:   f32, 
    	synchronous: b32, 
    ) -> Error ---

    DisplayFadeOperationInProgress ¶

    @(link_name="CGDisplayFadeOperationInProgress")
    DisplayFadeOperationInProgress :: proc "c" () -> b32 ---

    DisplayGammaTableCapacity ¶

    @(link_name="CGDisplayGammaTableCapacity")
    DisplayGammaTableCapacity :: proc "c" (display: DirectDisplayID) -> u32 ---

    DisplayGetDisplayIDFromUUID ¶
    C · CGDisplayGetDisplayIDFromUUIDSource · CoreGraphics.odin:36

    DisplayGetDisplayIDFromUUID :: proc "c" (uuid: ^darwin_CoreFoundation.__CFUUID) -> DirectDisplayID ---

    DisplayGetDrawingContext ¶

    @(link_name="CGDisplayGetDrawingContext")
    DisplayGetDrawingContext :: proc "c" (display: DirectDisplayID) -> ContextRef ---

    DisplayHideCursor ¶

    @(link_name="CGDisplayHideCursor")
    DisplayHideCursor :: proc "c" (display: DirectDisplayID) -> Error ---

    DisplayIDToOpenGLDisplayMask ¶

    @(link_name="CGDisplayIDToOpenGLDisplayMask")
    DisplayIDToOpenGLDisplayMask :: proc "c" (display: DirectDisplayID) -> OpenGLDisplayMask ---

    DisplayIOServicePort ¶

    @(link_name="CGDisplayIOServicePort")
    DisplayIOServicePort :: proc "c" (display: DirectDisplayID) -> darwin.mach_port_t ---

    DisplayIsActive ¶

    @(link_name="CGDisplayIsActive")
    DisplayIsActive :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsAlwaysInMirrorSet ¶

    @(link_name="CGDisplayIsAlwaysInMirrorSet")
    DisplayIsAlwaysInMirrorSet :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsAsleep ¶

    @(link_name="CGDisplayIsAsleep")
    DisplayIsAsleep :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsBuiltin ¶

    @(link_name="CGDisplayIsBuiltin")
    DisplayIsBuiltin :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsCaptured ¶

    @(link_name="CGDisplayIsCaptured")
    DisplayIsCaptured :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsInHWMirrorSet ¶

    @(link_name="CGDisplayIsInHWMirrorSet")
    DisplayIsInHWMirrorSet :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsInMirrorSet ¶

    @(link_name="CGDisplayIsInMirrorSet")
    DisplayIsInMirrorSet :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsMain ¶

    @(link_name="CGDisplayIsMain")
    DisplayIsMain :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsOnline ¶

    @(link_name="CGDisplayIsOnline")
    DisplayIsOnline :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayIsStereo ¶

    @(link_name="CGDisplayIsStereo")
    DisplayIsStereo :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayMirrorsDisplay ¶

    @(link_name="CGDisplayMirrorsDisplay")
    DisplayMirrorsDisplay :: proc "c" (display: DirectDisplayID) -> DirectDisplayID ---

    DisplayModeCopyPixelEncoding ¶

    @(link_name="CGDisplayModeCopyPixelEncoding")
    DisplayModeCopyPixelEncoding :: proc "c" (mode: DisplayModeRef) -> ^darwin_CoreFoundation.__CFString ---

    DisplayModeGetHeight ¶

    @(link_name="CGDisplayModeGetHeight")
    DisplayModeGetHeight :: proc "c" (mode: DisplayModeRef) -> uint ---

    DisplayModeGetIODisplayModeID ¶

    @(link_name="CGDisplayModeGetIODisplayModeID")
    DisplayModeGetIODisplayModeID :: proc "c" (mode: DisplayModeRef) -> i32 ---

    DisplayModeGetIOFlags ¶

    @(link_name="CGDisplayModeGetIOFlags")
    DisplayModeGetIOFlags :: proc "c" (mode: DisplayModeRef) -> u32 ---

    DisplayModeGetPixelHeight ¶

    @(link_name="CGDisplayModeGetPixelHeight")
    DisplayModeGetPixelHeight :: proc "c" (mode: DisplayModeRef) -> uint ---

    DisplayModeGetPixelWidth ¶

    @(link_name="CGDisplayModeGetPixelWidth")
    DisplayModeGetPixelWidth :: proc "c" (mode: DisplayModeRef) -> uint ---

    DisplayModeGetRefreshRate ¶

    @(link_name="CGDisplayModeGetRefreshRate")
    DisplayModeGetRefreshRate :: proc "c" (mode: DisplayModeRef) -> f64 ---

    DisplayModeGetTypeID ¶

    @(link_name="CGDisplayModeGetTypeID")
    DisplayModeGetTypeID :: proc "c" () -> u64 ---

    DisplayModeGetWidth ¶

    @(link_name="CGDisplayModeGetWidth")
    DisplayModeGetWidth :: proc "c" (mode: DisplayModeRef) -> uint ---

    DisplayModeIsUsableForDesktopGUI ¶

    @(link_name="CGDisplayModeIsUsableForDesktopGUI")
    DisplayModeIsUsableForDesktopGUI :: proc "c" (mode: DisplayModeRef) -> bool ---

    DisplayModeRelease ¶

    @(link_name="CGDisplayModeRelease")
    DisplayModeRelease :: proc "c" (mode: DisplayModeRef) ---

    DisplayModeRetain ¶

    @(link_name="CGDisplayModeRetain")
    DisplayModeRetain :: proc "c" (mode: DisplayModeRef) -> DisplayModeRef ---

    DisplayModelNumber ¶

    @(link_name="CGDisplayModelNumber")
    DisplayModelNumber :: proc "c" (display: DirectDisplayID) -> u32 ---

    DisplayMoveCursorToPoint ¶

    @(link_name="CGDisplayMoveCursorToPoint")
    DisplayMoveCursorToPoint :: proc "c" (display: DirectDisplayID, point: Point) -> Error ---

    DisplayPixelsHigh ¶

    @(link_name="CGDisplayPixelsHigh")
    DisplayPixelsHigh :: proc "c" (display: DirectDisplayID) -> uint ---

    DisplayPixelsWide ¶

    @(link_name="CGDisplayPixelsWide")
    DisplayPixelsWide :: proc "c" (display: DirectDisplayID) -> uint ---

    DisplayPrimaryDisplay ¶

    @(link_name="CGDisplayPrimaryDisplay")
    DisplayPrimaryDisplay :: proc "c" (display: DirectDisplayID) -> DirectDisplayID ---

    DisplayRegisterReconfigurationCallback ¶

    @(link_name="CGDisplayRegisterReconfigurationCallback")
    DisplayRegisterReconfigurationCallback :: proc "c" (
    	callback: DisplayReconfigurationCallBack, 
    	userInfo: rawptr, 
    ) -> Error ---

    DisplayRelease ¶

    @(link_name="CGDisplayRelease")
    DisplayRelease :: proc "c" (display: DirectDisplayID) -> Error ---

    DisplayRemoveReconfigurationCallback ¶

    @(link_name="CGDisplayRemoveReconfigurationCallback")
    DisplayRemoveReconfigurationCallback :: proc "c" (
    	callback: DisplayReconfigurationCallBack, 
    	userInfo: rawptr, 
    ) -> Error ---

    DisplayRestoreColorSyncSettings ¶

    @(link_name="CGDisplayRestoreColorSyncSettings")
    DisplayRestoreColorSyncSettings :: proc "c" () ---

    DisplayRotation ¶

    @(link_name="CGDisplayRotation")
    DisplayRotation :: proc "c" (display: DirectDisplayID) -> f64 ---

    DisplayScreenSize ¶

    @(link_name="CGDisplayScreenSize")
    DisplayScreenSize :: proc "c" (display: DirectDisplayID) -> Size ---

    DisplaySerialNumber ¶

    @(link_name="CGDisplaySerialNumber")
    DisplaySerialNumber :: proc "c" (display: DirectDisplayID) -> u32 ---

    DisplaySetDisplayMode ¶

    @(link_name="CGDisplaySetDisplayMode")
    DisplaySetDisplayMode :: proc "c" (
    	display: DirectDisplayID, 
    	mode:    DisplayModeRef, 
    	options: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> Error ---

    DisplaySetStereoOperation ¶

    @(link_name="CGDisplaySetStereoOperation")
    DisplaySetStereoOperation :: proc "c" (
    	display:       DirectDisplayID, 
    	stereo:        b32, 
    	forceBlueLine: b32, 
    	option:        ConfigureOption, 
    ) -> Error ---

    DisplayShowCursor ¶

    @(link_name="CGDisplayShowCursor")
    DisplayShowCursor :: proc "c" (display: DirectDisplayID) -> Error ---

    DisplayStreamCreate ¶

    @(link_name="CGDisplayStreamCreate")
    DisplayStreamCreate :: proc "c" (
    	display:      DirectDisplayID, 
    	outputWidth:  uint, 
    	outputHeight: uint, 
    	pixelFormat:  i32, 
    	properties:   ^darwin_CoreFoundation.__CFDictionary, 
    	handler:      ^runtime.Objc_Block($T=proc "cdecl" (DisplayStreamFrameStatus, u64, IOSurfaceRef, DisplayStreamUpdateRef)), 
    ) -> DisplayStreamRef ---

    DisplayStreamCreateWithDispatchQueue ¶

    @(link_name="CGDisplayStreamCreateWithDispatchQueue")
    DisplayStreamCreateWithDispatchQueue :: proc "c" (
    	display:      DirectDisplayID, 
    	outputWidth:  uint, 
    	outputHeight: uint, 
    	pixelFormat:  i32, 
    	properties:   ^darwin_CoreFoundation.__CFDictionary, 
    	queue:        ^darwin_CoreFoundation.dispatch_queue_s, 
    	handler:      ^runtime.Objc_Block($T=proc "cdecl" (DisplayStreamFrameStatus, u64, IOSurfaceRef, DisplayStreamUpdateRef)), 
    ) -> DisplayStreamRef ---

    DisplayStreamGetRunLoopSource ¶

    @(link_name="CGDisplayStreamGetRunLoopSource")
    DisplayStreamGetRunLoopSource :: proc "c" (displayStream: DisplayStreamRef) -> ^darwin_CoreFoundation.__CFRunLoopSource ---

    DisplayStreamGetTypeID ¶

    @(link_name="CGDisplayStreamGetTypeID")
    DisplayStreamGetTypeID :: proc "c" () -> u64 ---

    DisplayStreamStart ¶

    @(link_name="CGDisplayStreamStart")
    DisplayStreamStart :: proc "c" (displayStream: DisplayStreamRef) -> Error ---

    DisplayStreamStop ¶

    @(link_name="CGDisplayStreamStop")
    DisplayStreamStop :: proc "c" (displayStream: DisplayStreamRef) -> Error ---

    DisplayStreamUpdateCreateMergedUpdate ¶

    @(link_name="CGDisplayStreamUpdateCreateMergedUpdate")
    DisplayStreamUpdateCreateMergedUpdate :: proc "c" (
    	firstUpdate:  DisplayStreamUpdateRef, 
    	secondUpdate: DisplayStreamUpdateRef, 
    ) -> DisplayStreamUpdateRef ---

    DisplayStreamUpdateGetDropCount ¶

    @(link_name="CGDisplayStreamUpdateGetDropCount")
    DisplayStreamUpdateGetDropCount :: proc "c" (updateRef: DisplayStreamUpdateRef) -> uint ---

    DisplayStreamUpdateGetMovedRectsDelta ¶

    @(link_name="CGDisplayStreamUpdateGetMovedRectsDelta")
    DisplayStreamUpdateGetMovedRectsDelta :: proc "c" (
    	updateRef: DisplayStreamUpdateRef, 
    	dx:        ^f64, 
    	dy:        ^f64, 
    ) ---

    DisplayStreamUpdateGetRects ¶

    @(link_name="CGDisplayStreamUpdateGetRects")
    DisplayStreamUpdateGetRects :: proc "c" (
    	updateRef: DisplayStreamUpdateRef, 
    	rectType:  DisplayStreamUpdateRectType, 
    	rectCount: ^uint, 
    ) -> ^Rect ---

    DisplayStreamUpdateGetTypeID ¶

    @(link_name="CGDisplayStreamUpdateGetTypeID")
    DisplayStreamUpdateGetTypeID :: proc "c" () -> u64 ---

    DisplaySwitchToMode ¶

    @(link_name="CGDisplaySwitchToMode")
    DisplaySwitchToMode :: proc "c" (
    	display: DirectDisplayID, 
    	mode:    ^darwin_CoreFoundation.__CFDictionary, 
    ) -> Error ---

    DisplayUnitNumber ¶

    @(link_name="CGDisplayUnitNumber")
    DisplayUnitNumber :: proc "c" (display: DirectDisplayID) -> u32 ---

    DisplayUsesOpenGLAcceleration ¶

    @(link_name="CGDisplayUsesOpenGLAcceleration")
    DisplayUsesOpenGLAcceleration :: proc "c" (display: DirectDisplayID) -> b32 ---

    DisplayVendorNumber ¶

    @(link_name="CGDisplayVendorNumber")
    DisplayVendorNumber :: proc "c" (display: DirectDisplayID) -> u32 ---

    EXRToneMappingGammaGetDefaultOptions ¶

    @(link_name="CGEXRToneMappingGammaGetDefaultOptions")
    EXRToneMappingGammaGetDefaultOptions :: proc "c" () -> ^darwin_CoreFoundation.__CFDictionary ---

    EnableEventStateCombining ¶

    @(link_name="CGEnableEventStateCombining")
    EnableEventStateCombining :: proc "c" (combineState: b32) -> Error ---

    ErrorSetCallback ¶

    @(link_name="CGErrorSetCallback")
    ErrorSetCallback :: proc "c" (callback: ErrorCallback) ---

    EventCreate ¶

    @(link_name="CGEventCreate")
    EventCreate :: proc "c" (source: EventSourceRef) -> EventRef ---

    EventCreateCopy ¶

    @(link_name="CGEventCreateCopy")
    EventCreateCopy :: proc "c" (event: EventRef) -> EventRef ---

    EventCreateData ¶

    @(link_name="CGEventCreateData")
    EventCreateData :: proc "c" (
    	allocator: ^darwin_CoreFoundation.__CFAllocator, 
    	event:     EventRef, 
    ) -> ^darwin_CoreFoundation.__CFData ---

    EventCreateFromData ¶

    @(link_name="CGEventCreateFromData")
    EventCreateFromData :: proc "c" (
    	allocator: ^darwin_CoreFoundation.__CFAllocator, 
    	data:      ^darwin_CoreFoundation.__CFData, 
    ) -> EventRef ---

    EventCreateKeyboardEvent ¶

    @(link_name="CGEventCreateKeyboardEvent")
    EventCreateKeyboardEvent :: proc "c" (
    	source:     EventSourceRef, 
    	virtualKey: KeyCode, 
    	keyDown:    bool, 
    ) -> EventRef ---

    EventCreateMouseEvent ¶

    @(link_name="CGEventCreateMouseEvent")
    EventCreateMouseEvent :: proc "c" (
    	source:              EventSourceRef, 
    	mouseType:           EventType, 
    	mouseCursorPosition: Point, 
    	mouseButton:         MouseButton, 
    ) -> EventRef ---

    EventCreateScrollWheelEvent ¶

    @(link_name="CGEventCreateScrollWheelEvent")
    EventCreateScrollWheelEvent :: proc "c" (
    	source:     EventSourceRef, 
    	units:      ScrollEventUnit, 
    	wheelCount: u32, 
    	wheel1:     i32, 
    	args:       ..any, 
    ) -> EventRef ---

    EventCreateScrollWheelEvent2 ¶

    @(link_name="CGEventCreateScrollWheelEvent2")
    EventCreateScrollWheelEvent2 :: proc "c" (
    	source:     EventSourceRef, 
    	units:      ScrollEventUnit, 
    	wheelCount: u32, 
    	wheel1:     i32, 
    	wheel2:     i32, 
    	wheel3:     i32, 
    ) -> EventRef ---

    EventCreateSourceFromEvent ¶

    @(link_name="CGEventCreateSourceFromEvent")
    EventCreateSourceFromEvent :: proc "c" (event: EventRef) -> EventSourceRef ---

    EventGetDoubleValueField ¶

    @(link_name="CGEventGetDoubleValueField")
    EventGetDoubleValueField :: proc "c" (event: EventRef, field: EventField) -> f64 ---

    EventGetFlags ¶

    @(link_name="CGEventGetFlags")
    EventGetFlags :: proc "c" (event: EventRef) -> bit_set[EventFlag; u64] ---

    EventGetIntegerValueField ¶

    @(link_name="CGEventGetIntegerValueField")
    EventGetIntegerValueField :: proc "c" (event: EventRef, field: EventField) -> i64 ---

    EventGetLocation ¶

    @(link_name="CGEventGetLocation")
    EventGetLocation :: proc "c" (event: EventRef) -> Point ---

    EventGetTimestamp ¶

    @(link_name="CGEventGetTimestamp")
    EventGetTimestamp :: proc "c" (event: EventRef) -> EventTimestamp ---

    EventGetType ¶

    @(link_name="CGEventGetType")
    EventGetType :: proc "c" (event: EventRef) -> EventType ---

    EventGetTypeID ¶

    @(link_name="CGEventGetTypeID")
    EventGetTypeID :: proc "c" () -> u64 ---

    EventGetUnflippedLocation ¶

    @(link_name="CGEventGetUnflippedLocation")
    EventGetUnflippedLocation :: proc "c" (event: EventRef) -> Point ---

    EventKeyboardGetUnicodeString ¶

    @(link_name="CGEventKeyboardGetUnicodeString")
    EventKeyboardGetUnicodeString :: proc "c" (
    	event:              EventRef, 
    	maxStringLength:    u64, 
    	actualStringLength: ^u64, 
    	unicodeString:      ^u16, 
    ) ---

    EventKeyboardSetUnicodeString ¶

    @(link_name="CGEventKeyboardSetUnicodeString")
    EventKeyboardSetUnicodeString :: proc "c" (
    	event:         EventRef, 
    	stringLength:  u64, 
    	unicodeString: ^u16, 
    ) ---

    EventPost ¶

    @(link_name="CGEventPost")
    EventPost :: proc "c" (tap: EventTapLocation, event: EventRef) ---

    EventPostToPSN ¶

    @(link_name="CGEventPostToPSN")
    EventPostToPSN :: proc "c" (processSerialNumber: rawptr, event: EventRef) ---

    EventPostToPid ¶

    @(link_name="CGEventPostToPid")
    EventPostToPid :: proc "c" (pid: posix.pid_t, event: EventRef) ---

    EventSetDoubleValueField ¶

    @(link_name="CGEventSetDoubleValueField")
    EventSetDoubleValueField :: proc "c" (event: EventRef, field: EventField, value: f64) ---

    EventSetFlags ¶

    @(link_name="CGEventSetFlags")
    EventSetFlags :: proc "c" (event: EventRef, flags: bit_set[EventFlag; u64]) ---

    EventSetIntegerValueField ¶

    @(link_name="CGEventSetIntegerValueField")
    EventSetIntegerValueField :: proc "c" (event: EventRef, field: EventField, value: i64) ---

    EventSetLocation ¶

    @(link_name="CGEventSetLocation")
    EventSetLocation :: proc "c" (event: EventRef, location: Point) ---

    EventSetSource ¶

    @(link_name="CGEventSetSource")
    EventSetSource :: proc "c" (event: EventRef, source: EventSourceRef) ---

    EventSetTimestamp ¶

    @(link_name="CGEventSetTimestamp")
    EventSetTimestamp :: proc "c" (event: EventRef, timestamp: EventTimestamp) ---

    EventSetType ¶

    @(link_name="CGEventSetType")
    EventSetType :: proc "c" (event: EventRef, type: EventType) ---

    EventSourceButtonState ¶

    @(link_name="CGEventSourceButtonState")
    EventSourceButtonState :: proc "c" (stateID: EventSourceStateID, button: MouseButton) -> bool ---

    EventSourceCounterForEventType ¶

    @(link_name="CGEventSourceCounterForEventType")
    EventSourceCounterForEventType :: proc "c" (
    	stateID:   EventSourceStateID, 
    	eventType: EventType, 
    ) -> u32 ---

    EventSourceCreate ¶

    @(link_name="CGEventSourceCreate")
    EventSourceCreate :: proc "c" (stateID: EventSourceStateID) -> EventSourceRef ---

    EventSourceFlagsState ¶

    @(link_name="CGEventSourceFlagsState")
    EventSourceFlagsState :: proc "c" (stateID: EventSourceStateID) -> bit_set[EventFlag; u64] ---

    EventSourceGetKeyboardType ¶

    @(link_name="CGEventSourceGetKeyboardType")
    EventSourceGetKeyboardType :: proc "c" (source: EventSourceRef) -> EventSourceKeyboardType ---

    EventSourceGetLocalEventsFilterDuringSuppressionState ¶

    @(link_name="CGEventSourceGetLocalEventsFilterDuringSuppressionState")
    EventSourceGetLocalEventsFilterDuringSuppressionState :: proc "c" (
    	source: EventSourceRef, 
    	state:  EventSuppressionState, 
    ) -> bit_set[EventFilterMaskFlag; u32] ---

    EventSourceGetLocalEventsSuppressionInterval ¶

    @(link_name="CGEventSourceGetLocalEventsSuppressionInterval")
    EventSourceGetLocalEventsSuppressionInterval :: proc "c" (source: EventSourceRef) -> f64 ---

    EventSourceGetPixelsPerLine ¶

    @(link_name="CGEventSourceGetPixelsPerLine")
    EventSourceGetPixelsPerLine :: proc "c" (source: EventSourceRef) -> f64 ---

    EventSourceGetSourceStateID ¶

    @(link_name="CGEventSourceGetSourceStateID")
    EventSourceGetSourceStateID :: proc "c" (source: EventSourceRef) -> EventSourceStateID ---

    EventSourceGetTypeID ¶

    @(link_name="CGEventSourceGetTypeID")
    EventSourceGetTypeID :: proc "c" () -> u64 ---

    EventSourceGetUserData ¶

    @(link_name="CGEventSourceGetUserData")
    EventSourceGetUserData :: proc "c" (source: EventSourceRef) -> i64 ---

    EventSourceKeyState ¶

    @(link_name="CGEventSourceKeyState")
    EventSourceKeyState :: proc "c" (stateID: EventSourceStateID, key: KeyCode) -> bool ---

    EventSourceSecondsSinceLastEventType ¶

    @(link_name="CGEventSourceSecondsSinceLastEventType")
    EventSourceSecondsSinceLastEventType :: proc "c" (
    	stateID:   EventSourceStateID, 
    	eventType: EventType, 
    ) -> f64 ---

    EventSourceSetKeyboardType ¶

    @(link_name="CGEventSourceSetKeyboardType")
    EventSourceSetKeyboardType :: proc "c" (
    	source:       EventSourceRef, 
    	keyboardType: EventSourceKeyboardType, 
    ) ---

    EventSourceSetLocalEventsFilterDuringSuppressionState ¶

    @(link_name="CGEventSourceSetLocalEventsFilterDuringSuppressionState")
    EventSourceSetLocalEventsFilterDuringSuppressionState :: proc "c" (
    	source: EventSourceRef, 
    	filter: bit_set[EventFilterMaskFlag; u32], 
    	state:  EventSuppressionState, 
    ) ---

    EventSourceSetLocalEventsSuppressionInterval ¶

    @(link_name="CGEventSourceSetLocalEventsSuppressionInterval")
    EventSourceSetLocalEventsSuppressionInterval :: proc "c" (
    	source:  EventSourceRef, 
    	seconds: f64, 
    ) ---

    EventSourceSetPixelsPerLine ¶

    @(link_name="CGEventSourceSetPixelsPerLine")
    EventSourceSetPixelsPerLine :: proc "c" (source: EventSourceRef, pixelsPerLine: f64) ---

    EventSourceSetUserData ¶

    @(link_name="CGEventSourceSetUserData")
    EventSourceSetUserData :: proc "c" (source: EventSourceRef, userData: i64) ---

    EventTapCreate ¶

    @(link_name="CGEventTapCreate")
    EventTapCreate :: proc "c" (
    	tap:              EventTapLocation, 
    	place:            EventTapPlacement, 
    	options:          bit_set[EventTapOption; u32], 
    	eventsOfInterest: EventMask, 
    	callback:         EventTapCallBack, 
    	userInfo:         rawptr, 
    ) -> ^darwin_CoreFoundation.__CFMachPort ---

    EventTapCreateForPSN ¶

    @(link_name="CGEventTapCreateForPSN")
    EventTapCreateForPSN :: proc "c" (
    	processSerialNumber: rawptr, 
    	place:               EventTapPlacement, 
    	options:             bit_set[EventTapOption; u32], 
    	eventsOfInterest:    EventMask, 
    	callback:            EventTapCallBack, 
    	userInfo:            rawptr, 
    ) -> ^darwin_CoreFoundation.__CFMachPort ---

    EventTapCreateForPid ¶

    @(link_name="CGEventTapCreateForPid")
    EventTapCreateForPid :: proc "c" (
    	pid:              posix.pid_t, 
    	place:            EventTapPlacement, 
    	options:          bit_set[EventTapOption; u32], 
    	eventsOfInterest: EventMask, 
    	callback:         EventTapCallBack, 
    	userInfo:         rawptr, 
    ) -> ^darwin_CoreFoundation.__CFMachPort ---

    EventTapEnable ¶

    @(link_name="CGEventTapEnable")
    EventTapEnable :: proc "c" (tap: ^darwin_CoreFoundation.__CFMachPort, enable: bool) ---

    EventTapIsEnabled ¶

    @(link_name="CGEventTapIsEnabled")
    EventTapIsEnabled :: proc "c" (tap: ^darwin_CoreFoundation.__CFMachPort) -> bool ---

    EventTapPostEvent ¶

    @(link_name="CGEventTapPostEvent")
    EventTapPostEvent :: proc "c" (proxy: EventTapProxy, event: EventRef) ---

    FontCanCreatePostScriptSubset ¶

    @(link_name="CGFontCanCreatePostScriptSubset")
    FontCanCreatePostScriptSubset :: proc "c" (
    	font:   FontRef, 
    	format: FontPostScriptFormat, 
    ) -> bool ---

    FontCopyFullName ¶

    @(link_name="CGFontCopyFullName")
    FontCopyFullName :: proc "c" (font: FontRef) -> ^darwin_CoreFoundation.__CFString ---

    FontCopyGlyphNameForGlyph ¶

    @(link_name="CGFontCopyGlyphNameForGlyph")
    FontCopyGlyphNameForGlyph :: proc "c" (
    	font:  FontRef, 
    	glyph: Glyph, 
    ) -> ^darwin_CoreFoundation.__CFString ---

    FontCopyPostScriptName ¶

    @(link_name="CGFontCopyPostScriptName")
    FontCopyPostScriptName :: proc "c" (font: FontRef) -> ^darwin_CoreFoundation.__CFString ---

    FontCopyTableForTag ¶

    @(link_name="CGFontCopyTableForTag")
    FontCopyTableForTag :: proc "c" (font: FontRef, tag: u32) -> ^darwin_CoreFoundation.__CFData ---

    FontCopyTableTags ¶

    @(link_name="CGFontCopyTableTags")
    FontCopyTableTags :: proc "c" (font: FontRef) -> ^darwin_CoreFoundation.__CFArray ---

    FontCopyVariationAxes ¶

    @(link_name="CGFontCopyVariationAxes")
    FontCopyVariationAxes :: proc "c" (font: FontRef) -> ^darwin_CoreFoundation.__CFArray ---

    FontCopyVariations ¶

    @(link_name="CGFontCopyVariations")
    FontCopyVariations :: proc "c" (font: FontRef) -> ^darwin_CoreFoundation.__CFDictionary ---

    FontCreateCopyWithVariations ¶

    @(link_name="CGFontCreateCopyWithVariations")
    FontCreateCopyWithVariations :: proc "c" (
    	font:       FontRef, 
    	variations: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> FontRef ---

    FontCreatePostScriptEncoding ¶

    @(link_name="CGFontCreatePostScriptEncoding")
    FontCreatePostScriptEncoding :: proc "c" (
    	font:     FontRef, 
    	encoding: ^Glyph, 
    ) -> ^darwin_CoreFoundation.__CFData ---

    FontCreatePostScriptSubset ¶

    @(link_name="CGFontCreatePostScriptSubset")
    FontCreatePostScriptSubset :: proc "c" (
    	font:       FontRef, 
    	subsetName: ^darwin_CoreFoundation.__CFString, 
    	format:     FontPostScriptFormat, 
    	glyphs:     ^Glyph, 
    	count:      uint, 
    	encoding:   ^Glyph, 
    ) -> ^darwin_CoreFoundation.__CFData ---

    FontCreateWithDataProvider ¶

    @(link_name="CGFontCreateWithDataProvider")
    FontCreateWithDataProvider :: proc "c" (provider: DataProviderRef) -> FontRef ---

    FontCreateWithFontName ¶

    @(link_name="CGFontCreateWithFontName")
    FontCreateWithFontName :: proc "c" (name: ^darwin_CoreFoundation.__CFString) -> FontRef ---

    FontCreateWithPlatformFont ¶

    @(link_name="CGFontCreateWithPlatformFont")
    FontCreateWithPlatformFont :: proc "c" (platformFontReference: rawptr) -> FontRef ---

    FontGetAscent ¶

    @(link_name="CGFontGetAscent")
    FontGetAscent :: proc "c" (font: FontRef) -> i32 ---

    FontGetCapHeight ¶

    @(link_name="CGFontGetCapHeight")
    FontGetCapHeight :: proc "c" (font: FontRef) -> i32 ---

    FontGetDescent ¶

    @(link_name="CGFontGetDescent")
    FontGetDescent :: proc "c" (font: FontRef) -> i32 ---

    FontGetFontBBox ¶

    @(link_name="CGFontGetFontBBox")
    FontGetFontBBox :: proc "c" (font: FontRef) -> Rect ---

    FontGetGlyphAdvances ¶

    @(link_name="CGFontGetGlyphAdvances")
    FontGetGlyphAdvances :: proc "c" (
    	font:     FontRef, 
    	glyphs:   ^Glyph, 
    	count:    uint, 
    	advances: ^i32, 
    ) -> bool ---

    FontGetGlyphBBoxes ¶

    @(link_name="CGFontGetGlyphBBoxes")
    FontGetGlyphBBoxes :: proc "c" (
    	font:   FontRef, 
    	glyphs: ^Glyph, 
    	count:  uint, 
    	bboxes: ^Rect, 
    ) -> bool ---

    FontGetGlyphWithGlyphName ¶

    @(link_name="CGFontGetGlyphWithGlyphName")
    FontGetGlyphWithGlyphName :: proc "c" (
    	font: FontRef, 
    	name: ^darwin_CoreFoundation.__CFString, 
    ) -> Glyph ---

    FontGetItalicAngle ¶

    @(link_name="CGFontGetItalicAngle")
    FontGetItalicAngle :: proc "c" (font: FontRef) -> f64 ---

    FontGetLeading ¶

    @(link_name="CGFontGetLeading")
    FontGetLeading :: proc "c" (font: FontRef) -> i32 ---

    FontGetNumberOfGlyphs ¶

    @(link_name="CGFontGetNumberOfGlyphs")
    FontGetNumberOfGlyphs :: proc "c" (font: FontRef) -> uint ---

    FontGetStemV ¶

    @(link_name="CGFontGetStemV")
    FontGetStemV :: proc "c" (font: FontRef) -> f64 ---

    FontGetTypeID ¶

    @(link_name="CGFontGetTypeID")
    FontGetTypeID :: proc "c" () -> u64 ---

    FontGetUnitsPerEm ¶

    @(link_name="CGFontGetUnitsPerEm")
    FontGetUnitsPerEm :: proc "c" (font: FontRef) -> i32 ---

    FontGetXHeight ¶

    @(link_name="CGFontGetXHeight")
    FontGetXHeight :: proc "c" (font: FontRef) -> i32 ---

    FontRelease ¶

    @(link_name="CGFontRelease")
    FontRelease :: proc "c" (font: FontRef) ---

    FontRetain ¶

    @(link_name="CGFontRetain")
    FontRetain :: proc "c" (font: FontRef) -> FontRef ---

    FunctionCreate ¶

    @(link_name="CGFunctionCreate")
    FunctionCreate :: proc "c" (
    	info:            rawptr, 
    	domainDimension: uint, 
    	domain:          ^f64, 
    	rangeDimension:  uint, 
    	range:           ^f64, 
    	callbacks:       ^FunctionCallbacks, 
    ) -> FunctionRef ---

    FunctionGetTypeID ¶

    @(link_name="CGFunctionGetTypeID")
    FunctionGetTypeID :: proc "c" () -> u64 ---

    FunctionRelease ¶

    @(link_name="CGFunctionRelease")
    FunctionRelease :: proc "c" (function: FunctionRef) ---

    FunctionRetain ¶

    @(link_name="CGFunctionRetain")
    FunctionRetain :: proc "c" (function: FunctionRef) -> FunctionRef ---

    GetActiveDisplayList ¶

    @(link_name="CGGetActiveDisplayList")
    GetActiveDisplayList :: proc "c" (
    	maxDisplays:    u32, 
    	activeDisplays: ^DirectDisplayID, 
    	displayCount:   ^u32, 
    ) -> Error ---

    GetDisplayTransferByFormula ¶

    @(link_name="CGGetDisplayTransferByFormula")
    GetDisplayTransferByFormula :: proc "c" (
    	display:    DirectDisplayID, 
    	redMin:     ^GammaValue, 
    	redMax:     ^GammaValue, 
    	redGamma:   ^GammaValue, 
    	greenMin:   ^GammaValue, 
    	greenMax:   ^GammaValue, 
    	greenGamma: ^GammaValue, 
    	blueMin:    ^GammaValue, 
    	blueMax:    ^GammaValue, 
    	blueGamma:  ^GammaValue, 
    ) -> Error ---

    GetDisplayTransferByTable ¶

    @(link_name="CGGetDisplayTransferByTable")
    GetDisplayTransferByTable :: proc "c" (
    	display:     DirectDisplayID, 
    	capacity:    u32, 
    	redTable:    ^GammaValue, 
    	greenTable:  ^GammaValue, 
    	blueTable:   ^GammaValue, 
    	sampleCount: ^u32, 
    ) -> Error ---

    GetDisplaysWithOpenGLDisplayMask ¶

    @(link_name="CGGetDisplaysWithOpenGLDisplayMask")
    GetDisplaysWithOpenGLDisplayMask :: proc "c" (
    	mask:                 OpenGLDisplayMask, 
    	maxDisplays:          u32, 
    	displays:             ^DirectDisplayID, 
    	matchingDisplayCount: ^u32, 
    ) -> Error ---

    GetDisplaysWithPoint ¶

    @(link_name="CGGetDisplaysWithPoint")
    GetDisplaysWithPoint :: proc "c" (
    	point:                Point, 
    	maxDisplays:          u32, 
    	displays:             ^DirectDisplayID, 
    	matchingDisplayCount: ^u32, 
    ) -> Error ---

    GetDisplaysWithRect ¶

    @(link_name="CGGetDisplaysWithRect")
    GetDisplaysWithRect :: proc "c" (
    	rect:                 Rect, 
    	maxDisplays:          u32, 
    	displays:             ^DirectDisplayID, 
    	matchingDisplayCount: ^u32, 
    ) -> Error ---

    GetEventTapList ¶

    @(link_name="CGGetEventTapList")
    GetEventTapList :: proc "c" (
    	maxNumberOfTaps: u32, 
    	tapList:         ^EventTapInformation, 
    	eventTapCount:   ^u32, 
    ) -> Error ---

    GetLastMouseDelta ¶

    @(link_name="CGGetLastMouseDelta")
    GetLastMouseDelta :: proc "c" (deltaX: ^i32, deltaY: ^i32) ---

    GetOnlineDisplayList ¶

    @(link_name="CGGetOnlineDisplayList")
    GetOnlineDisplayList :: proc "c" (
    	maxDisplays:    u32, 
    	onlineDisplays: ^DirectDisplayID, 
    	displayCount:   ^u32, 
    ) -> Error ---

    GradientCreateWithColorComponents ¶

    @(link_name="CGGradientCreateWithColorComponents")
    GradientCreateWithColorComponents :: proc "c" (
    	space:      ColorSpaceRef, 
    	components: ^f64, 
    	locations:  ^f64, 
    	count:      uint, 
    ) -> GradientRef ---

    GradientCreateWithColors ¶

    @(link_name="CGGradientCreateWithColors")
    GradientCreateWithColors :: proc "c" (
    	space:     ColorSpaceRef, 
    	colors:    ^darwin_CoreFoundation.__CFArray, 
    	locations: ^f64, 
    ) -> GradientRef ---

    GradientCreateWithContentHeadroom ¶

    @(link_name="CGGradientCreateWithContentHeadroom")
    GradientCreateWithContentHeadroom :: proc "c" (
    	headroom:   f32, 
    	space:      ColorSpaceRef, 
    	components: ^f64, 
    	locations:  ^f64, 
    	count:      uint, 
    ) -> GradientRef ---

    GradientGetContentHeadroom ¶

    @(link_name="CGGradientGetContentHeadroom")
    GradientGetContentHeadroom :: proc "c" (gradient: GradientRef) -> f32 ---

    GradientGetTypeID ¶

    @(link_name="CGGradientGetTypeID")
    GradientGetTypeID :: proc "c" () -> u64 ---

    GradientRelease ¶

    @(link_name="CGGradientRelease")
    GradientRelease :: proc "c" (gradient: GradientRef) ---

    GradientRetain ¶

    @(link_name="CGGradientRetain")
    GradientRetain :: proc "c" (gradient: GradientRef) -> GradientRef ---

    ImageCalculateContentAverageLightLevel ¶

    @(link_name="CGImageCalculateContentAverageLightLevel")
    ImageCalculateContentAverageLightLevel :: proc "c" (image: ImageRef) -> f32 ---

    ImageCalculateContentHeadroom ¶

    @(link_name="CGImageCalculateContentHeadroom")
    ImageCalculateContentHeadroom :: proc "c" (image: ImageRef) -> f32 ---

    ImageContainsImageSpecificToneMappingMetadata ¶

    @(link_name="CGImageContainsImageSpecificToneMappingMetadata")
    ImageContainsImageSpecificToneMappingMetadata :: proc "c" (image: ImageRef) -> bool ---

    ImageCreate ¶

    @(link_name="CGImageCreate")
    ImageCreate :: proc "c" (
    	width:             uint, 
    	height:            uint, 
    	bitsPerComponent:  uint, 
    	bitsPerPixel:      uint, 
    	bytesPerRow:       uint, 
    	space:             ColorSpaceRef, 
    	bitmapInfo:        BitmapInfo, 
    	provider:          DataProviderRef, 
    	decode:            ^f64, 
    	shouldInterpolate: bool, 
    	intent:            ColorRenderingIntent, 
    ) -> ImageRef ---

    ImageCreateCopy ¶

    @(link_name="CGImageCreateCopy")
    ImageCreateCopy :: proc "c" (image: ImageRef) -> ImageRef ---

    ImageCreateCopyWithCalculatedHDRStats ¶

    @(link_name="CGImageCreateCopyWithCalculatedHDRStats")
    ImageCreateCopyWithCalculatedHDRStats :: proc "c" (image: ImageRef) -> ImageRef ---

    ImageCreateCopyWithColorSpace ¶

    @(link_name="CGImageCreateCopyWithColorSpace")
    ImageCreateCopyWithColorSpace :: proc "c" (image: ImageRef, space: ColorSpaceRef) -> ImageRef ---

    ImageCreateCopyWithContentAverageLightLevel ¶

    @(link_name="CGImageCreateCopyWithContentAverageLightLevel")
    ImageCreateCopyWithContentAverageLightLevel :: proc "c" (
    	image: ImageRef, 
    	avll:  f32, 
    ) -> ImageRef ---

    ImageCreateCopyWithContentHeadroom ¶

    @(link_name="CGImageCreateCopyWithContentHeadroom")
    ImageCreateCopyWithContentHeadroom :: proc "c" (headroom: f32, image: ImageRef) -> ImageRef ---

    ImageCreateWithContentHeadroom ¶

    @(link_name="CGImageCreateWithContentHeadroom")
    ImageCreateWithContentHeadroom :: proc "c" (
    	headroom:          f32, 
    	width:             uint, 
    	height:            uint, 
    	bitsPerComponent:  uint, 
    	bitsPerPixel:      uint, 
    	bytesPerRow:       uint, 
    	space:             ColorSpaceRef, 
    	bitmapInfo:        BitmapInfo, 
    	provider:          DataProviderRef, 
    	decode:            ^f64, 
    	shouldInterpolate: bool, 
    	intent:            ColorRenderingIntent, 
    ) -> ImageRef ---

    ImageCreateWithImageInRect ¶

    @(link_name="CGImageCreateWithImageInRect")
    ImageCreateWithImageInRect :: proc "c" (image: ImageRef, rect: Rect) -> ImageRef ---

    ImageCreateWithJPEGDataProvider ¶

    @(link_name="CGImageCreateWithJPEGDataProvider")
    ImageCreateWithJPEGDataProvider :: proc "c" (
    	source:            DataProviderRef, 
    	decode:            ^f64, 
    	shouldInterpolate: bool, 
    	intent:            ColorRenderingIntent, 
    ) -> ImageRef ---

    ImageCreateWithMask ¶

    @(link_name="CGImageCreateWithMask")
    ImageCreateWithMask :: proc "c" (image: ImageRef, mask: ImageRef) -> ImageRef ---

    ImageCreateWithMaskingColors ¶

    @(link_name="CGImageCreateWithMaskingColors")
    ImageCreateWithMaskingColors :: proc "c" (image: ImageRef, components: ^f64) -> ImageRef ---

    ImageCreateWithPNGDataProvider ¶

    @(link_name="CGImageCreateWithPNGDataProvider")
    ImageCreateWithPNGDataProvider :: proc "c" (
    	source:            DataProviderRef, 
    	decode:            ^f64, 
    	shouldInterpolate: bool, 
    	intent:            ColorRenderingIntent, 
    ) -> ImageRef ---

    ImageGetAlphaInfo ¶

    @(link_name="CGImageGetAlphaInfo")
    ImageGetAlphaInfo :: proc "c" (image: ImageRef) -> ImageAlphaInfo ---

    ImageGetBitmapInfo ¶

    @(link_name="CGImageGetBitmapInfo")
    ImageGetBitmapInfo :: proc "c" (image: ImageRef) -> BitmapInfo ---

    ImageGetBitsPerComponent ¶

    @(link_name="CGImageGetBitsPerComponent")
    ImageGetBitsPerComponent :: proc "c" (image: ImageRef) -> uint ---

    ImageGetBitsPerPixel ¶

    @(link_name="CGImageGetBitsPerPixel")
    ImageGetBitsPerPixel :: proc "c" (image: ImageRef) -> uint ---

    ImageGetByteOrderInfo ¶

    @(link_name="CGImageGetByteOrderInfo")
    ImageGetByteOrderInfo :: proc "c" (image: ImageRef) -> ImageByteOrderInfo ---

    ImageGetBytesPerRow ¶

    @(link_name="CGImageGetBytesPerRow")
    ImageGetBytesPerRow :: proc "c" (image: ImageRef) -> uint ---

    ImageGetColorSpace ¶

    @(link_name="CGImageGetColorSpace")
    ImageGetColorSpace :: proc "c" (image: ImageRef) -> ColorSpaceRef ---

    ImageGetContentAverageLightLevel ¶

    @(link_name="CGImageGetContentAverageLightLevel")
    ImageGetContentAverageLightLevel :: proc "c" (image: ImageRef) -> f32 ---

    ImageGetContentHeadroom ¶

    @(link_name="CGImageGetContentHeadroom")
    ImageGetContentHeadroom :: proc "c" (image: ImageRef) -> f32 ---

    ImageGetDataProvider ¶

    @(link_name="CGImageGetDataProvider")
    ImageGetDataProvider :: proc "c" (image: ImageRef) -> DataProviderRef ---

    ImageGetDecode ¶

    @(link_name="CGImageGetDecode")
    ImageGetDecode :: proc "c" (image: ImageRef) -> ^f64 ---

    ImageGetHeight ¶

    @(link_name="CGImageGetHeight")
    ImageGetHeight :: proc "c" (image: ImageRef) -> uint ---

    ImageGetPixelFormatInfo ¶

    @(link_name="CGImageGetPixelFormatInfo")
    ImageGetPixelFormatInfo :: proc "c" (image: ImageRef) -> ImagePixelFormatInfo ---

    ImageGetRenderingIntent ¶

    @(link_name="CGImageGetRenderingIntent")
    ImageGetRenderingIntent :: proc "c" (image: ImageRef) -> ColorRenderingIntent ---

    ImageGetShouldInterpolate ¶

    @(link_name="CGImageGetShouldInterpolate")
    ImageGetShouldInterpolate :: proc "c" (image: ImageRef) -> bool ---

    ImageGetTypeID ¶

    @(link_name="CGImageGetTypeID")
    ImageGetTypeID :: proc "c" () -> u64 ---

    ImageGetUTType ¶

    @(link_name="CGImageGetUTType")
    ImageGetUTType :: proc "c" (image: ImageRef) -> ^darwin_CoreFoundation.__CFString ---

    ImageGetWidth ¶

    @(link_name="CGImageGetWidth")
    ImageGetWidth :: proc "c" (image: ImageRef) -> uint ---

    ImageIsMask ¶

    @(link_name="CGImageIsMask")
    ImageIsMask :: proc "c" (image: ImageRef) -> bool ---

    ImageMaskCreate ¶

    @(link_name="CGImageMaskCreate")
    ImageMaskCreate :: proc "c" (
    	width:             uint, 
    	height:            uint, 
    	bitsPerComponent:  uint, 
    	bitsPerPixel:      uint, 
    	bytesPerRow:       uint, 
    	provider:          DataProviderRef, 
    	decode:            ^f64, 
    	shouldInterpolate: bool, 
    ) -> ImageRef ---

    ImageRelease ¶

    @(link_name="CGImageRelease")
    ImageRelease :: proc "c" (image: ImageRef) ---

    ImageRetain ¶

    @(link_name="CGImageRetain")
    ImageRetain :: proc "c" (image: ImageRef) -> ImageRef ---

    ImageShouldToneMap ¶

    @(link_name="CGImageShouldToneMap")
    ImageShouldToneMap :: proc "c" (image: ImageRef) -> bool ---

    InhibitLocalEvents ¶

    @(link_name="CGInhibitLocalEvents")
    InhibitLocalEvents :: proc "c" (inhibit: b32) -> Error ---

    LayerCreateWithContext ¶

    @(link_name="CGLayerCreateWithContext")
    LayerCreateWithContext :: proc "c" (
    	_context:      ContextRef, 
    	size:          Size, 
    	auxiliaryInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> LayerRef ---

    LayerGetContext ¶

    @(link_name="CGLayerGetContext")
    LayerGetContext :: proc "c" (layer: LayerRef) -> ContextRef ---

    LayerGetSize ¶

    @(link_name="CGLayerGetSize")
    LayerGetSize :: proc "c" (layer: LayerRef) -> Size ---

    LayerGetTypeID ¶

    @(link_name="CGLayerGetTypeID")
    LayerGetTypeID :: proc "c" () -> u64 ---

    LayerRelease ¶

    @(link_name="CGLayerRelease")
    LayerRelease :: proc "c" (layer: LayerRef) ---

    LayerRetain ¶

    @(link_name="CGLayerRetain")
    LayerRetain :: proc "c" (layer: LayerRef) -> LayerRef ---

    MainDisplayID ¶

    @(link_name="CGMainDisplayID")
    MainDisplayID :: proc "c" () -> DirectDisplayID ---

    OpenGLDisplayMaskToDisplayID ¶

    @(link_name="CGOpenGLDisplayMaskToDisplayID")
    OpenGLDisplayMaskToDisplayID :: proc "c" (mask: OpenGLDisplayMask) -> DirectDisplayID ---

    PDFArrayApplyBlock ¶

    @(link_name="CGPDFArrayApplyBlock")
    PDFArrayApplyBlock :: proc "c" (
    	array: PDFArrayRef, 
    	block: ^runtime.Objc_Block($T=proc "cdecl" (uint, PDFObjectRef, rawptr) -> bool), 
    	info:  rawptr, 
    ) ---

    PDFArrayGetArray ¶

    @(link_name="CGPDFArrayGetArray")
    PDFArrayGetArray :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFArrayRef) -> bool ---

    PDFArrayGetBoolean ¶

    @(link_name="CGPDFArrayGetBoolean")
    PDFArrayGetBoolean :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFBoolean) -> bool ---

    PDFArrayGetCount ¶

    @(link_name="CGPDFArrayGetCount")
    PDFArrayGetCount :: proc "c" (array: PDFArrayRef) -> uint ---

    PDFArrayGetDictionary ¶

    @(link_name="CGPDFArrayGetDictionary")
    PDFArrayGetDictionary :: proc "c" (
    	array: PDFArrayRef, 
    	index: uint, 
    	value: ^PDFDictionaryRef, 
    ) -> bool ---

    PDFArrayGetInteger ¶

    @(link_name="CGPDFArrayGetInteger")
    PDFArrayGetInteger :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFInteger) -> bool ---

    PDFArrayGetName ¶

    @(link_name="CGPDFArrayGetName")
    PDFArrayGetName :: proc "c" (array: PDFArrayRef, index: uint, value: ^cstring) -> bool ---

    PDFArrayGetNull ¶

    @(link_name="CGPDFArrayGetNull")
    PDFArrayGetNull :: proc "c" (array: PDFArrayRef, index: uint) -> bool ---

    PDFArrayGetNumber ¶

    @(link_name="CGPDFArrayGetNumber")
    PDFArrayGetNumber :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFReal) -> bool ---

    PDFArrayGetObject ¶

    @(link_name="CGPDFArrayGetObject")
    PDFArrayGetObject :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFObjectRef) -> bool ---

    PDFArrayGetStream ¶

    @(link_name="CGPDFArrayGetStream")
    PDFArrayGetStream :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFStreamRef) -> bool ---

    PDFArrayGetString ¶

    @(link_name="CGPDFArrayGetString")
    PDFArrayGetString :: proc "c" (array: PDFArrayRef, index: uint, value: ^PDFStringRef) -> bool ---

    PDFContentStreamCreateWithPage ¶

    @(link_name="CGPDFContentStreamCreateWithPage")
    PDFContentStreamCreateWithPage :: proc "c" (page: PDFPageRef) -> PDFContentStreamRef ---

    PDFContentStreamCreateWithStream ¶

    @(link_name="CGPDFContentStreamCreateWithStream")
    PDFContentStreamCreateWithStream :: proc "c" (
    	stream:          PDFStreamRef, 
    	streamResources: PDFDictionaryRef, 
    	parent:          PDFContentStreamRef, 
    ) -> PDFContentStreamRef ---

    PDFContentStreamGetResource ¶

    @(link_name="CGPDFContentStreamGetResource")
    PDFContentStreamGetResource :: proc "c" (
    	cs:       PDFContentStreamRef, 
    	category: cstring, 
    	name:     cstring, 
    ) -> PDFObjectRef ---

    PDFContentStreamGetStreams ¶

    @(link_name="CGPDFContentStreamGetStreams")
    PDFContentStreamGetStreams :: proc "c" (cs: PDFContentStreamRef) -> ^darwin_CoreFoundation.__CFArray ---

    PDFContentStreamRelease ¶

    @(link_name="CGPDFContentStreamRelease")
    PDFContentStreamRelease :: proc "c" (cs: PDFContentStreamRef) ---

    PDFContentStreamRetain ¶

    @(link_name="CGPDFContentStreamRetain")
    PDFContentStreamRetain :: proc "c" (cs: PDFContentStreamRef) -> PDFContentStreamRef ---

    PDFContextAddDestinationAtPoint ¶

    @(link_name="CGPDFContextAddDestinationAtPoint")
    PDFContextAddDestinationAtPoint :: proc "c" (
    	_context: ContextRef, 
    	name:     ^darwin_CoreFoundation.__CFString, 
    	point:    Point, 
    ) ---

    PDFContextAddDocumentMetadata ¶

    @(link_name="CGPDFContextAddDocumentMetadata")
    PDFContextAddDocumentMetadata :: proc "c" (
    	_context: ContextRef, 
    	metadata: ^darwin_CoreFoundation.__CFData, 
    ) ---

    PDFContextBeginPage ¶

    @(link_name="CGPDFContextBeginPage")
    PDFContextBeginPage :: proc "c" (
    	_context: ContextRef, 
    	pageInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    PDFContextBeginTag ¶

    @(link_name="CGPDFContextBeginTag")
    PDFContextBeginTag :: proc "c" (
    	_context:      ContextRef, 
    	tagType:       PDFTagType, 
    	tagProperties: ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    PDFContextClose ¶

    @(link_name="CGPDFContextClose")
    PDFContextClose :: proc "c" (_context: ContextRef) ---

    PDFContextCreate ¶

    @(link_name="CGPDFContextCreate")
    PDFContextCreate :: proc "c" (
    	consumer:      DataConsumerRef, 
    	mediaBox:      ^Rect, 
    	auxiliaryInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ContextRef ---

    PDFContextCreateWithURL ¶

    @(link_name="CGPDFContextCreateWithURL")
    PDFContextCreateWithURL :: proc "c" (
    	url:           ^darwin_CoreFoundation.__CFURL, 
    	mediaBox:      ^Rect, 
    	auxiliaryInfo: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> ContextRef ---

    PDFContextEndPage ¶

    @(link_name="CGPDFContextEndPage")
    PDFContextEndPage :: proc "c" (_context: ContextRef) ---

    PDFContextEndTag ¶

    @(link_name="CGPDFContextEndTag")
    PDFContextEndTag :: proc "c" (_context: ContextRef) ---

    PDFContextSetDestinationForRect ¶

    @(link_name="CGPDFContextSetDestinationForRect")
    PDFContextSetDestinationForRect :: proc "c" (
    	_context: ContextRef, 
    	name:     ^darwin_CoreFoundation.__CFString, 
    	rect:     Rect, 
    ) ---

    PDFContextSetIDTree ¶

    @(link_name="CGPDFContextSetIDTree")
    PDFContextSetIDTree :: proc "c" (_context: ContextRef, IDTreeDictionary: PDFDictionaryRef) ---

    PDFContextSetOutline ¶

    @(link_name="CGPDFContextSetOutline")
    PDFContextSetOutline :: proc "c" (
    	_context: ContextRef, 
    	outline:  ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    PDFContextSetPageTagStructureTree ¶

    @(link_name="CGPDFContextSetPageTagStructureTree")
    PDFContextSetPageTagStructureTree :: proc "c" (
    	_context:                       ContextRef, 
    	pageTagStructureTreeDictionary: ^darwin_CoreFoundation.__CFDictionary, 
    ) ---

    PDFContextSetParentTree ¶

    @(link_name="CGPDFContextSetParentTree")
    PDFContextSetParentTree :: proc "c" (
    	_context:             ContextRef, 
    	parentTreeDictionary: PDFDictionaryRef, 
    ) ---

    PDFContextSetURLForRect ¶

    @(link_name="CGPDFContextSetURLForRect")
    PDFContextSetURLForRect :: proc "c" (
    	_context: ContextRef, 
    	url:      ^darwin_CoreFoundation.__CFURL, 
    	rect:     Rect, 
    ) ---

    PDFDictionaryApplyBlock ¶

    @(link_name="CGPDFDictionaryApplyBlock")
    PDFDictionaryApplyBlock :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	block: ^runtime.Objc_Block($T=proc "cdecl" (cstring, PDFObjectRef, rawptr) -> bool), 
    	info:  rawptr, 
    ) ---

    PDFDictionaryApplyFunction ¶

    @(link_name="CGPDFDictionaryApplyFunction")
    PDFDictionaryApplyFunction :: proc "c" (
    	dict:     PDFDictionaryRef, 
    	function: PDFDictionaryApplierFunction, 
    	info:     rawptr, 
    ) ---

    PDFDictionaryGetArray ¶

    @(link_name="CGPDFDictionaryGetArray")
    PDFDictionaryGetArray :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFArrayRef, 
    ) -> bool ---

    PDFDictionaryGetBoolean ¶

    @(link_name="CGPDFDictionaryGetBoolean")
    PDFDictionaryGetBoolean :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFBoolean, 
    ) -> bool ---

    PDFDictionaryGetCount ¶

    @(link_name="CGPDFDictionaryGetCount")
    PDFDictionaryGetCount :: proc "c" (dict: PDFDictionaryRef) -> uint ---

    PDFDictionaryGetDictionary ¶

    @(link_name="CGPDFDictionaryGetDictionary")
    PDFDictionaryGetDictionary :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFDictionaryRef, 
    ) -> bool ---

    PDFDictionaryGetInteger ¶

    @(link_name="CGPDFDictionaryGetInteger")
    PDFDictionaryGetInteger :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFInteger, 
    ) -> bool ---

    PDFDictionaryGetName ¶

    @(link_name="CGPDFDictionaryGetName")
    PDFDictionaryGetName :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^cstring, 
    ) -> bool ---

    PDFDictionaryGetNumber ¶

    @(link_name="CGPDFDictionaryGetNumber")
    PDFDictionaryGetNumber :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFReal, 
    ) -> bool ---

    PDFDictionaryGetObject ¶

    @(link_name="CGPDFDictionaryGetObject")
    PDFDictionaryGetObject :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFObjectRef, 
    ) -> bool ---

    PDFDictionaryGetStream ¶

    @(link_name="CGPDFDictionaryGetStream")
    PDFDictionaryGetStream :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFStreamRef, 
    ) -> bool ---

    PDFDictionaryGetString ¶

    @(link_name="CGPDFDictionaryGetString")
    PDFDictionaryGetString :: proc "c" (
    	dict:  PDFDictionaryRef, 
    	key:   cstring, 
    	value: ^PDFStringRef, 
    ) -> bool ---

    PDFDocumentAllowsCopying ¶

    @(link_name="CGPDFDocumentAllowsCopying")
    PDFDocumentAllowsCopying :: proc "c" (document: PDFDocumentRef) -> bool ---

    PDFDocumentAllowsPrinting ¶

    @(link_name="CGPDFDocumentAllowsPrinting")
    PDFDocumentAllowsPrinting :: proc "c" (document: PDFDocumentRef) -> bool ---

    PDFDocumentCreateWithProvider ¶

    @(link_name="CGPDFDocumentCreateWithProvider")
    PDFDocumentCreateWithProvider :: proc "c" (provider: DataProviderRef) -> PDFDocumentRef ---

    PDFDocumentCreateWithURL ¶

    @(link_name="CGPDFDocumentCreateWithURL")
    PDFDocumentCreateWithURL :: proc "c" (url: ^darwin_CoreFoundation.__CFURL) -> PDFDocumentRef ---

    PDFDocumentGetAccessPermissions ¶

    @(link_name="CGPDFDocumentGetAccessPermissions")
    PDFDocumentGetAccessPermissions :: proc "c" (document: PDFDocumentRef) -> bit_set[PDFAccessPermission; u32] ---

    PDFDocumentGetArtBox ¶

    @(link_name="CGPDFDocumentGetArtBox")
    PDFDocumentGetArtBox :: proc "c" (document: PDFDocumentRef, page: i32) -> Rect ---

    PDFDocumentGetBleedBox ¶

    @(link_name="CGPDFDocumentGetBleedBox")
    PDFDocumentGetBleedBox :: proc "c" (document: PDFDocumentRef, page: i32) -> Rect ---

    PDFDocumentGetCatalog ¶

    @(link_name="CGPDFDocumentGetCatalog")
    PDFDocumentGetCatalog :: proc "c" (document: PDFDocumentRef) -> PDFDictionaryRef ---

    PDFDocumentGetCropBox ¶

    @(link_name="CGPDFDocumentGetCropBox")
    PDFDocumentGetCropBox :: proc "c" (document: PDFDocumentRef, page: i32) -> Rect ---

    PDFDocumentGetID ¶

    @(link_name="CGPDFDocumentGetID")
    PDFDocumentGetID :: proc "c" (document: PDFDocumentRef) -> PDFArrayRef ---

    PDFDocumentGetInfo ¶

    @(link_name="CGPDFDocumentGetInfo")
    PDFDocumentGetInfo :: proc "c" (document: PDFDocumentRef) -> PDFDictionaryRef ---

    PDFDocumentGetMediaBox ¶

    @(link_name="CGPDFDocumentGetMediaBox")
    PDFDocumentGetMediaBox :: proc "c" (document: PDFDocumentRef, page: i32) -> Rect ---

    PDFDocumentGetNumberOfPages ¶

    @(link_name="CGPDFDocumentGetNumberOfPages")
    PDFDocumentGetNumberOfPages :: proc "c" (document: PDFDocumentRef) -> uint ---

    PDFDocumentGetOutline ¶

    @(link_name="CGPDFDocumentGetOutline")
    PDFDocumentGetOutline :: proc "c" (document: PDFDocumentRef) -> ^darwin_CoreFoundation.__CFDictionary ---

    PDFDocumentGetPage ¶

    @(link_name="CGPDFDocumentGetPage")
    PDFDocumentGetPage :: proc "c" (document: PDFDocumentRef, pageNumber: uint) -> PDFPageRef ---

    PDFDocumentGetRotationAngle ¶

    @(link_name="CGPDFDocumentGetRotationAngle")
    PDFDocumentGetRotationAngle :: proc "c" (document: PDFDocumentRef, page: i32) -> i32 ---

    PDFDocumentGetTrimBox ¶

    @(link_name="CGPDFDocumentGetTrimBox")
    PDFDocumentGetTrimBox :: proc "c" (document: PDFDocumentRef, page: i32) -> Rect ---

    PDFDocumentGetTypeID ¶

    @(link_name="CGPDFDocumentGetTypeID")
    PDFDocumentGetTypeID :: proc "c" () -> u64 ---

    PDFDocumentGetVersion ¶

    @(link_name="CGPDFDocumentGetVersion")
    PDFDocumentGetVersion :: proc "c" (
    	document:     PDFDocumentRef, 
    	majorVersion: ^i32, 
    	minorVersion: ^i32, 
    ) ---

    PDFDocumentIsEncrypted ¶

    @(link_name="CGPDFDocumentIsEncrypted")
    PDFDocumentIsEncrypted :: proc "c" (document: PDFDocumentRef) -> bool ---

    PDFDocumentIsUnlocked ¶

    @(link_name="CGPDFDocumentIsUnlocked")
    PDFDocumentIsUnlocked :: proc "c" (document: PDFDocumentRef) -> bool ---

    PDFDocumentRelease ¶

    @(link_name="CGPDFDocumentRelease")
    PDFDocumentRelease :: proc "c" (document: PDFDocumentRef) ---

    PDFDocumentRetain ¶

    @(link_name="CGPDFDocumentRetain")
    PDFDocumentRetain :: proc "c" (document: PDFDocumentRef) -> PDFDocumentRef ---

    PDFDocumentUnlockWithPassword ¶

    @(link_name="CGPDFDocumentUnlockWithPassword")
    PDFDocumentUnlockWithPassword :: proc "c" (
    	document: PDFDocumentRef, 
    	password: cstring, 
    ) -> bool ---

    PDFObjectGetType ¶

    @(link_name="CGPDFObjectGetType")
    PDFObjectGetType :: proc "c" (object: PDFObjectRef) -> PDFObjectType ---

    PDFObjectGetValue ¶

    @(link_name="CGPDFObjectGetValue")
    PDFObjectGetValue :: proc "c" (
    	object: PDFObjectRef, 
    	type:   PDFObjectType, 
    	value:  rawptr, 
    ) -> bool ---

    PDFOperatorTableCreate ¶

    @(link_name="CGPDFOperatorTableCreate")
    PDFOperatorTableCreate :: proc "c" () -> PDFOperatorTableRef ---

    PDFOperatorTableRelease ¶

    @(link_name="CGPDFOperatorTableRelease")
    PDFOperatorTableRelease :: proc "c" (table: PDFOperatorTableRef) ---

    PDFOperatorTableRetain ¶

    @(link_name="CGPDFOperatorTableRetain")
    PDFOperatorTableRetain :: proc "c" (table: PDFOperatorTableRef) -> PDFOperatorTableRef ---

    PDFOperatorTableSetCallback ¶

    @(link_name="CGPDFOperatorTableSetCallback")
    PDFOperatorTableSetCallback :: proc "c" (
    	table:    PDFOperatorTableRef, 
    	name:     cstring, 
    	callback: PDFOperatorCallback, 
    ) ---

    PDFPageGetBoxRect ¶

    @(link_name="CGPDFPageGetBoxRect")
    PDFPageGetBoxRect :: proc "c" (page: PDFPageRef, box: PDFBox) -> Rect ---

    PDFPageGetDictionary ¶

    @(link_name="CGPDFPageGetDictionary")
    PDFPageGetDictionary :: proc "c" (page: PDFPageRef) -> PDFDictionaryRef ---

    PDFPageGetDocument ¶

    @(link_name="CGPDFPageGetDocument")
    PDFPageGetDocument :: proc "c" (page: PDFPageRef) -> PDFDocumentRef ---

    PDFPageGetDrawingTransform ¶

    @(link_name="CGPDFPageGetDrawingTransform")
    PDFPageGetDrawingTransform :: proc "c" (
    	page:                PDFPageRef, 
    	box:                 PDFBox, 
    	rect:                Rect, 
    	rotate:              i32, 
    	preserveAspectRatio: bool, 
    ) -> AffineTransform ---

    PDFPageGetPageNumber ¶

    @(link_name="CGPDFPageGetPageNumber")
    PDFPageGetPageNumber :: proc "c" (page: PDFPageRef) -> uint ---

    PDFPageGetRotationAngle ¶

    @(link_name="CGPDFPageGetRotationAngle")
    PDFPageGetRotationAngle :: proc "c" (page: PDFPageRef) -> i32 ---

    PDFPageGetTypeID ¶

    @(link_name="CGPDFPageGetTypeID")
    PDFPageGetTypeID :: proc "c" () -> u64 ---

    PDFPageRelease ¶

    @(link_name="CGPDFPageRelease")
    PDFPageRelease :: proc "c" (page: PDFPageRef) ---

    PDFPageRetain ¶

    @(link_name="CGPDFPageRetain")
    PDFPageRetain :: proc "c" (page: PDFPageRef) -> PDFPageRef ---

    PDFScannerCreate ¶

    @(link_name="CGPDFScannerCreate")
    PDFScannerCreate :: proc "c" (
    	cs:    PDFContentStreamRef, 
    	table: PDFOperatorTableRef, 
    	info:  rawptr, 
    ) -> PDFScannerRef ---

    PDFScannerGetContentStream ¶

    @(link_name="CGPDFScannerGetContentStream")
    PDFScannerGetContentStream :: proc "c" (scanner: PDFScannerRef) -> PDFContentStreamRef ---

    PDFScannerPopArray ¶

    @(link_name="CGPDFScannerPopArray")
    PDFScannerPopArray :: proc "c" (scanner: PDFScannerRef, value: ^PDFArrayRef) -> bool ---

    PDFScannerPopBoolean ¶

    @(link_name="CGPDFScannerPopBoolean")
    PDFScannerPopBoolean :: proc "c" (scanner: PDFScannerRef, value: ^PDFBoolean) -> bool ---

    PDFScannerPopDictionary ¶

    @(link_name="CGPDFScannerPopDictionary")
    PDFScannerPopDictionary :: proc "c" (scanner: PDFScannerRef, value: ^PDFDictionaryRef) -> bool ---

    PDFScannerPopInteger ¶

    @(link_name="CGPDFScannerPopInteger")
    PDFScannerPopInteger :: proc "c" (scanner: PDFScannerRef, value: ^PDFInteger) -> bool ---

    PDFScannerPopName ¶

    @(link_name="CGPDFScannerPopName")
    PDFScannerPopName :: proc "c" (scanner: PDFScannerRef, value: ^cstring) -> bool ---

    PDFScannerPopNumber ¶

    @(link_name="CGPDFScannerPopNumber")
    PDFScannerPopNumber :: proc "c" (scanner: PDFScannerRef, value: ^PDFReal) -> bool ---

    PDFScannerPopObject ¶

    @(link_name="CGPDFScannerPopObject")
    PDFScannerPopObject :: proc "c" (scanner: PDFScannerRef, value: ^PDFObjectRef) -> bool ---

    PDFScannerPopStream ¶

    @(link_name="CGPDFScannerPopStream")
    PDFScannerPopStream :: proc "c" (scanner: PDFScannerRef, value: ^PDFStreamRef) -> bool ---

    PDFScannerPopString ¶

    @(link_name="CGPDFScannerPopString")
    PDFScannerPopString :: proc "c" (scanner: PDFScannerRef, value: ^PDFStringRef) -> bool ---

    PDFScannerRelease ¶

    @(link_name="CGPDFScannerRelease")
    PDFScannerRelease :: proc "c" (scanner: PDFScannerRef) ---

    PDFScannerRetain ¶

    @(link_name="CGPDFScannerRetain")
    PDFScannerRetain :: proc "c" (scanner: PDFScannerRef) -> PDFScannerRef ---

    PDFScannerScan ¶

    @(link_name="CGPDFScannerScan")
    PDFScannerScan :: proc "c" (scanner: PDFScannerRef) -> bool ---

    PDFScannerStop ¶

    @(link_name="CGPDFScannerStop")
    PDFScannerStop :: proc "c" (s: PDFScannerRef) ---

    PDFStreamCopyData ¶

    @(link_name="CGPDFStreamCopyData")
    PDFStreamCopyData :: proc "c" (
    	stream: PDFStreamRef, 
    	format: ^PDFDataFormat, 
    ) -> ^darwin_CoreFoundation.__CFData ---

    PDFStreamGetDictionary ¶

    @(link_name="CGPDFStreamGetDictionary")
    PDFStreamGetDictionary :: proc "c" (stream: PDFStreamRef) -> PDFDictionaryRef ---

    PDFStringCopyDate ¶

    @(link_name="CGPDFStringCopyDate")
    PDFStringCopyDate :: proc "c" (string: PDFStringRef) -> ^darwin_CoreFoundation.__CFDate ---

    PDFStringCopyTextString ¶

    @(link_name="CGPDFStringCopyTextString")
    PDFStringCopyTextString :: proc "c" (string: PDFStringRef) -> ^darwin_CoreFoundation.__CFString ---

    PDFStringGetBytePtr ¶

    @(link_name="CGPDFStringGetBytePtr")
    PDFStringGetBytePtr :: proc "c" (string: PDFStringRef) -> ^u8 ---

    PDFStringGetLength ¶

    @(link_name="CGPDFStringGetLength")
    PDFStringGetLength :: proc "c" (string: PDFStringRef) -> uint ---

    PDFTagTypeGetName ¶

    @(link_name="CGPDFTagTypeGetName")
    PDFTagTypeGetName :: proc "c" (tagType: PDFTagType) -> cstring ---

    PSConverterAbort ¶

    @(link_name="CGPSConverterAbort")
    PSConverterAbort :: proc "c" (converter: PSConverterRef) -> bool ---

    PSConverterConvert ¶

    @(link_name="CGPSConverterConvert")
    PSConverterConvert :: proc "c" (
    	converter: PSConverterRef, 
    	provider:  DataProviderRef, 
    	consumer:  DataConsumerRef, 
    	options:   ^darwin_CoreFoundation.__CFDictionary, 
    ) -> bool ---

    PSConverterCreate ¶

    @(link_name="CGPSConverterCreate")
    PSConverterCreate :: proc "c" (
    	info:      rawptr, 
    	callbacks: ^PSConverterCallbacks, 
    	options:   ^darwin_CoreFoundation.__CFDictionary, 
    ) -> PSConverterRef ---

    PSConverterGetTypeID ¶

    @(link_name="CGPSConverterGetTypeID")
    PSConverterGetTypeID :: proc "c" () -> u64 ---

    PSConverterIsConverting ¶

    @(link_name="CGPSConverterIsConverting")
    PSConverterIsConverting :: proc "c" (converter: PSConverterRef) -> bool ---

    PathAddArc ¶

    @(link_name="CGPathAddArc")
    PathAddArc :: proc "c" (
    	path:       MutablePathRef, 
    	m:          ^AffineTransform, 
    	x:          f64, 
    	y:          f64, 
    	radius:     f64, 
    	startAngle: f64, 
    	endAngle:   f64, 
    	clockwise:  bool, 
    ) ---

    PathAddArcToPoint ¶

    @(link_name="CGPathAddArcToPoint")
    PathAddArcToPoint :: proc "c" (
    	path:   MutablePathRef, 
    	m:      ^AffineTransform, 
    	x1:     f64, 
    	y1:     f64, 
    	x2:     f64, 
    	y2:     f64, 
    	radius: f64, 
    ) ---

    PathAddCurveToPoint ¶

    @(link_name="CGPathAddCurveToPoint")
    PathAddCurveToPoint :: proc "c" (
    	path: MutablePathRef, 
    	m:    ^AffineTransform, 
    	cp1x: f64, 
    	cp1y: f64, 
    	cp2x: f64, 
    	cp2y: f64, 
    	x:    f64, 
    	y:    f64, 
    ) ---

    PathAddEllipseInRect ¶

    @(link_name="CGPathAddEllipseInRect")
    PathAddEllipseInRect :: proc "c" (path: MutablePathRef, m: ^AffineTransform, rect: Rect) ---

    PathAddLineToPoint ¶

    @(link_name="CGPathAddLineToPoint")
    PathAddLineToPoint :: proc "c" (path: MutablePathRef, m: ^AffineTransform, x: f64, y: f64) ---

    PathAddLines ¶

    @(link_name="CGPathAddLines")
    PathAddLines :: proc "c" (
    	path:   MutablePathRef, 
    	m:      ^AffineTransform, 
    	points: ^Point, 
    	count:  uint, 
    ) ---

    PathAddPath ¶

    @(link_name="CGPathAddPath")
    PathAddPath :: proc "c" (path1: MutablePathRef, m: ^AffineTransform, path2: PathRef) ---

    PathAddQuadCurveToPoint ¶

    @(link_name="CGPathAddQuadCurveToPoint")
    PathAddQuadCurveToPoint :: proc "c" (
    	path: MutablePathRef, 
    	m:    ^AffineTransform, 
    	cpx:  f64, 
    	cpy:  f64, 
    	x:    f64, 
    	y:    f64, 
    ) ---

    PathAddRect ¶

    @(link_name="CGPathAddRect")
    PathAddRect :: proc "c" (path: MutablePathRef, m: ^AffineTransform, rect: Rect) ---

    PathAddRects ¶

    @(link_name="CGPathAddRects")
    PathAddRects :: proc "c" (
    	path:  MutablePathRef, 
    	m:     ^AffineTransform, 
    	rects: ^Rect, 
    	count: uint, 
    ) ---

    PathAddRelativeArc ¶

    @(link_name="CGPathAddRelativeArc")
    PathAddRelativeArc :: proc "c" (
    	path:       MutablePathRef, 
    	_matrix:    ^AffineTransform, 
    	x:          f64, 
    	y:          f64, 
    	radius:     f64, 
    	startAngle: f64, 
    	delta:      f64, 
    ) ---

    PathAddRoundedRect ¶

    @(link_name="CGPathAddRoundedRect")
    PathAddRoundedRect :: proc "c" (
    	path:         MutablePathRef, 
    	transform:    ^AffineTransform, 
    	rect:         Rect, 
    	cornerWidth:  f64, 
    	cornerHeight: f64, 
    ) ---

    PathApply ¶

    @(link_name="CGPathApply")
    PathApply :: proc "c" (path: PathRef, info: rawptr, function: PathApplierFunction) ---

    PathApplyWithBlock ¶

    @(link_name="CGPathApplyWithBlock")
    PathApplyWithBlock :: proc "c" (
    	path:  PathRef, 
    	block: ^runtime.Objc_Block($T=proc "cdecl" (^PathElement)), 
    ) ---

    PathCloseSubpath ¶

    @(link_name="CGPathCloseSubpath")
    PathCloseSubpath :: proc "c" (path: MutablePathRef) ---

    PathContainsPoint ¶

    @(link_name="CGPathContainsPoint")
    PathContainsPoint :: proc "c" (
    	path:   PathRef, 
    	m:      ^AffineTransform, 
    	point:  Point, 
    	eoFill: bool, 
    ) -> bool ---

    PathCreateCopy ¶

    @(link_name="CGPathCreateCopy")
    PathCreateCopy :: proc "c" (path: PathRef) -> PathRef ---

    PathCreateCopyByDashingPath ¶

    @(link_name="CGPathCreateCopyByDashingPath")
    PathCreateCopyByDashingPath :: proc "c" (
    	path:      PathRef, 
    	transform: ^AffineTransform, 
    	phase:     f64, 
    	lengths:   ^f64, 
    	count:     uint, 
    ) -> PathRef ---

    PathCreateCopyByFlattening ¶

    @(link_name="CGPathCreateCopyByFlattening")
    PathCreateCopyByFlattening :: proc "c" (path: PathRef, flatteningThreshold: f64) -> PathRef ---

    PathCreateCopyByIntersectingPath ¶

    @(link_name="CGPathCreateCopyByIntersectingPath")
    PathCreateCopyByIntersectingPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateCopyByNormalizing ¶

    @(link_name="CGPathCreateCopyByNormalizing")
    PathCreateCopyByNormalizing :: proc "c" (path: PathRef, evenOddFillRule: bool) -> PathRef ---

    PathCreateCopyByStrokingPath ¶

    @(link_name="CGPathCreateCopyByStrokingPath")
    PathCreateCopyByStrokingPath :: proc "c" (
    	path:       PathRef, 
    	transform:  ^AffineTransform, 
    	lineWidth:  f64, 
    	lineCap:    LineCap, 
    	lineJoin:   LineJoin, 
    	miterLimit: f64, 
    ) -> PathRef ---

    PathCreateCopyBySubtractingPath ¶

    @(link_name="CGPathCreateCopyBySubtractingPath")
    PathCreateCopyBySubtractingPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateCopyBySymmetricDifferenceOfPath ¶

    @(link_name="CGPathCreateCopyBySymmetricDifferenceOfPath")
    PathCreateCopyBySymmetricDifferenceOfPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateCopyByTransformingPath ¶

    @(link_name="CGPathCreateCopyByTransformingPath")
    PathCreateCopyByTransformingPath :: proc "c" (
    	path:      PathRef, 
    	transform: ^AffineTransform, 
    ) -> PathRef ---

    PathCreateCopyByUnioningPath ¶

    @(link_name="CGPathCreateCopyByUnioningPath")
    PathCreateCopyByUnioningPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateCopyOfLineByIntersectingPath ¶

    @(link_name="CGPathCreateCopyOfLineByIntersectingPath")
    PathCreateCopyOfLineByIntersectingPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateCopyOfLineBySubtractingPath ¶

    @(link_name="CGPathCreateCopyOfLineBySubtractingPath")
    PathCreateCopyOfLineBySubtractingPath :: proc "c" (
    	path:            PathRef, 
    	maskPath:        PathRef, 
    	evenOddFillRule: bool, 
    ) -> PathRef ---

    PathCreateMutable ¶

    @(link_name="CGPathCreateMutable")
    PathCreateMutable :: proc "c" () -> MutablePathRef ---

    PathCreateMutableCopy ¶

    @(link_name="CGPathCreateMutableCopy")
    PathCreateMutableCopy :: proc "c" (path: PathRef) -> MutablePathRef ---

    PathCreateMutableCopyByTransformingPath ¶

    @(link_name="CGPathCreateMutableCopyByTransformingPath")
    PathCreateMutableCopyByTransformingPath :: proc "c" (
    	path:      PathRef, 
    	transform: ^AffineTransform, 
    ) -> MutablePathRef ---

    PathCreateSeparateComponents ¶

    @(link_name="CGPathCreateSeparateComponents")
    PathCreateSeparateComponents :: proc "c" (
    	path:            PathRef, 
    	evenOddFillRule: bool, 
    ) -> ^darwin_CoreFoundation.__CFArray ---

    PathCreateWithEllipseInRect ¶

    @(link_name="CGPathCreateWithEllipseInRect")
    PathCreateWithEllipseInRect :: proc "c" (rect: Rect, transform: ^AffineTransform) -> PathRef ---

    PathCreateWithRect ¶

    @(link_name="CGPathCreateWithRect")
    PathCreateWithRect :: proc "c" (rect: Rect, transform: ^AffineTransform) -> PathRef ---

    PathCreateWithRoundedRect ¶

    @(link_name="CGPathCreateWithRoundedRect")
    PathCreateWithRoundedRect :: proc "c" (
    	rect:         Rect, 
    	cornerWidth:  f64, 
    	cornerHeight: f64, 
    	transform:    ^AffineTransform, 
    ) -> PathRef ---

    PathEqualToPath ¶

    @(link_name="CGPathEqualToPath")
    PathEqualToPath :: proc "c" (path1: PathRef, path2: PathRef) -> bool ---

    PathGetBoundingBox ¶

    @(link_name="CGPathGetBoundingBox")
    PathGetBoundingBox :: proc "c" (path: PathRef) -> Rect ---

    PathGetCurrentPoint ¶

    @(link_name="CGPathGetCurrentPoint")
    PathGetCurrentPoint :: proc "c" (path: PathRef) -> Point ---

    PathGetPathBoundingBox ¶

    @(link_name="CGPathGetPathBoundingBox")
    PathGetPathBoundingBox :: proc "c" (path: PathRef) -> Rect ---

    PathGetTypeID ¶

    @(link_name="CGPathGetTypeID")
    PathGetTypeID :: proc "c" () -> u64 ---

    PathIntersectsPath ¶

    @(link_name="CGPathIntersectsPath")
    PathIntersectsPath :: proc "c" (path1: PathRef, path2: PathRef, evenOddFillRule: bool) -> bool ---

    PathIsEmpty ¶

    @(link_name="CGPathIsEmpty")
    PathIsEmpty :: proc "c" (path: PathRef) -> bool ---

    PathIsRect ¶

    @(link_name="CGPathIsRect")
    PathIsRect :: proc "c" (path: PathRef, rect: ^Rect) -> bool ---

    PathMoveToPoint ¶

    @(link_name="CGPathMoveToPoint")
    PathMoveToPoint :: proc "c" (path: MutablePathRef, m: ^AffineTransform, x: f64, y: f64) ---

    PathRelease ¶

    @(link_name="CGPathRelease")
    PathRelease :: proc "c" (path: PathRef) ---

    PathRetain ¶

    @(link_name="CGPathRetain")
    PathRetain :: proc "c" (path: PathRef) -> PathRef ---

    PatternCreate ¶

    @(link_name="CGPatternCreate")
    PatternCreate :: proc "c" (
    	info:      rawptr, 
    	bounds:    Rect, 
    	_matrix:   AffineTransform, 
    	xStep:     f64, 
    	yStep:     f64, 
    	tiling:    PatternTiling, 
    	isColored: bool, 
    	callbacks: ^PatternCallbacks, 
    ) -> PatternRef ---

    PatternGetTypeID ¶

    @(link_name="CGPatternGetTypeID")
    PatternGetTypeID :: proc "c" () -> u64 ---

    PatternRelease ¶

    @(link_name="CGPatternRelease")
    PatternRelease :: proc "c" (pattern: PatternRef) ---

    PatternRetain ¶

    @(link_name="CGPatternRetain")
    PatternRetain :: proc "c" (pattern: PatternRef) -> PatternRef ---

    PointApplyAffineTransform ¶

    @(link_name="CGPointApplyAffineTransform")
    PointApplyAffineTransform :: proc "c" (point: Point, t: AffineTransform) -> Point ---

    PointCreateDictionaryRepresentation ¶

    @(link_name="CGPointCreateDictionaryRepresentation")
    PointCreateDictionaryRepresentation :: proc "c" (point: Point) -> ^darwin_CoreFoundation.__CFDictionary ---

    PointEqualToPoint ¶

    @(link_name="CGPointEqualToPoint")
    PointEqualToPoint :: proc "c" (point1: Point, point2: Point) -> bool ---

    PointMakeWithDictionaryRepresentation ¶

    @(link_name="CGPointMakeWithDictionaryRepresentation")
    PointMakeWithDictionaryRepresentation :: proc "c" (
    	dict:  ^darwin_CoreFoundation.__CFDictionary, 
    	point: ^Point, 
    ) -> bool ---

    PostKeyboardEvent ¶

    @(link_name="CGPostKeyboardEvent")
    PostKeyboardEvent :: proc "c" (keyChar: CharCode, virtualKey: KeyCode, keyDown: b32) -> Error ---

    PostMouseEvent ¶

    @(link_name="CGPostMouseEvent")
    PostMouseEvent :: proc "c" (
    	mouseCursorPosition:       Point, 
    	updateMouseCursorPosition: b32, 
    	buttonCount:               ButtonCount, 
    	mouseButtonDown:           b32, 
    	args:                      ..any, 
    ) -> Error ---

    PostScrollWheelEvent ¶

    @(link_name="CGPostScrollWheelEvent")
    PostScrollWheelEvent :: proc "c" (wheelCount: WheelCount, wheel1: i32, args: ..any) -> Error ---

    PreflightListenEventAccess ¶

    @(link_name="CGPreflightListenEventAccess")
    PreflightListenEventAccess :: proc "c" () -> bool ---

    PreflightPostEventAccess ¶

    @(link_name="CGPreflightPostEventAccess")
    PreflightPostEventAccess :: proc "c" () -> bool ---

    PreflightScreenCaptureAccess ¶

    @(link_name="CGPreflightScreenCaptureAccess")
    PreflightScreenCaptureAccess :: proc "c" () -> bool ---

    RectApplyAffineTransform ¶

    @(link_name="CGRectApplyAffineTransform")
    RectApplyAffineTransform :: proc "c" (rect: Rect, t: AffineTransform) -> Rect ---

    RectContainsPoint ¶

    @(link_name="CGRectContainsPoint")
    RectContainsPoint :: proc "c" (rect: Rect, point: Point) -> bool ---

    RectContainsRect ¶

    @(link_name="CGRectContainsRect")
    RectContainsRect :: proc "c" (rect1: Rect, rect2: Rect) -> bool ---

    RectCreateDictionaryRepresentation ¶

    @(link_name="CGRectCreateDictionaryRepresentation")
    RectCreateDictionaryRepresentation :: proc "c" (_0: Rect) -> ^darwin_CoreFoundation.__CFDictionary ---

    RectDivide ¶

    @(link_name="CGRectDivide")
    RectDivide :: proc "c" (
    	rect:      Rect, 
    	slice:     ^Rect, 
    	remainder: ^Rect, 
    	amount:    f64, 
    	edge:      RectEdge, 
    ) ---

    RectEqualToRect ¶

    @(link_name="CGRectEqualToRect")
    RectEqualToRect :: proc "c" (rect1: Rect, rect2: Rect) -> bool ---

    RectGetHeight ¶

    @(link_name="CGRectGetHeight")
    RectGetHeight :: proc "c" (rect: Rect) -> f64 ---

    RectGetMaxX ¶

    @(link_name="CGRectGetMaxX")
    RectGetMaxX :: proc "c" (rect: Rect) -> f64 ---

    RectGetMaxY ¶

    @(link_name="CGRectGetMaxY")
    RectGetMaxY :: proc "c" (rect: Rect) -> f64 ---

    RectGetMidX ¶

    @(link_name="CGRectGetMidX")
    RectGetMidX :: proc "c" (rect: Rect) -> f64 ---

    RectGetMidY ¶

    @(link_name="CGRectGetMidY")
    RectGetMidY :: proc "c" (rect: Rect) -> f64 ---

    RectGetMinX ¶

    @(link_name="CGRectGetMinX")
    RectGetMinX :: proc "c" (rect: Rect) -> f64 ---

    RectGetMinY ¶

    @(link_name="CGRectGetMinY")
    RectGetMinY :: proc "c" (rect: Rect) -> f64 ---

    RectGetWidth ¶

    @(link_name="CGRectGetWidth")
    RectGetWidth :: proc "c" (rect: Rect) -> f64 ---

    RectInset ¶

    @(link_name="CGRectInset")
    RectInset :: proc "c" (rect: Rect, dx: f64, dy: f64) -> Rect ---

    RectIntegral ¶

    @(link_name="CGRectIntegral")
    RectIntegral :: proc "c" (rect: Rect) -> Rect ---

    RectIntersection ¶

    @(link_name="CGRectIntersection")
    RectIntersection :: proc "c" (r1: Rect, r2: Rect) -> Rect ---

    RectIntersectsRect ¶

    @(link_name="CGRectIntersectsRect")
    RectIntersectsRect :: proc "c" (rect1: Rect, rect2: Rect) -> bool ---

    RectIsEmpty ¶

    @(link_name="CGRectIsEmpty")
    RectIsEmpty :: proc "c" (rect: Rect) -> bool ---

    RectIsInfinite ¶

    @(link_name="CGRectIsInfinite")
    RectIsInfinite :: proc "c" (rect: Rect) -> bool ---

    RectIsNull ¶

    @(link_name="CGRectIsNull")
    RectIsNull :: proc "c" (rect: Rect) -> bool ---

    RectMakeWithDictionaryRepresentation ¶

    @(link_name="CGRectMakeWithDictionaryRepresentation")
    RectMakeWithDictionaryRepresentation :: proc "c" (
    	dict: ^darwin_CoreFoundation.__CFDictionary, 
    	rect: ^Rect, 
    ) -> bool ---

    RectOffset ¶

    @(link_name="CGRectOffset")
    RectOffset :: proc "c" (rect: Rect, dx: f64, dy: f64) -> Rect ---

    RectStandardize ¶

    @(link_name="CGRectStandardize")
    RectStandardize :: proc "c" (rect: Rect) -> Rect ---

    RectUnion ¶

    @(link_name="CGRectUnion")
    RectUnion :: proc "c" (r1: Rect, r2: Rect) -> Rect ---

    RegisterScreenRefreshCallback ¶

    @(link_name="CGRegisterScreenRefreshCallback")
    RegisterScreenRefreshCallback :: proc "c" (
    	callback: ScreenRefreshCallback, 
    	userInfo: rawptr, 
    ) -> Error ---

    ReleaseAllDisplays ¶

    @(link_name="CGReleaseAllDisplays")
    ReleaseAllDisplays :: proc "c" () -> Error ---

    ReleaseDisplayFadeReservation ¶

    @(link_name="CGReleaseDisplayFadeReservation")
    ReleaseDisplayFadeReservation :: proc "c" (token: DisplayFadeReservationToken) -> Error ---

    ReleaseScreenRefreshRects ¶

    @(link_name="CGReleaseScreenRefreshRects")
    ReleaseScreenRefreshRects :: proc "c" (rects: ^Rect) ---

    RenderingBufferLockBytePtr ¶

    @(link_name="CGRenderingBufferLockBytePtr")
    RenderingBufferLockBytePtr :: proc "c" (provider: RenderingBufferProviderRef) -> rawptr ---

    RenderingBufferProviderCreate ¶

    @(link_name="CGRenderingBufferProviderCreate")
    RenderingBufferProviderCreate :: proc "c" (
    	info:          rawptr, 
    	size:          uint, 
    	lockPointer:   ^runtime.Objc_Block($T=proc "cdecl" (rawptr) -> rawptr), 
    	unlockPointer: ^runtime.Objc_Block($T=proc "cdecl" (rawptr, rawptr)), 
    	releaseInfo:   ^runtime.Objc_Block($T=proc "cdecl" (rawptr)), 
    ) -> RenderingBufferProviderRef ---

    RenderingBufferProviderCreateWithCFData ¶

    @(link_name="CGRenderingBufferProviderCreateWithCFData")
    RenderingBufferProviderCreateWithCFData :: proc "c" (data: ^darwin_CoreFoundation.__CFData) -> RenderingBufferProviderRef ---

    RenderingBufferProviderGetSize ¶

    @(link_name="CGRenderingBufferProviderGetSize")
    RenderingBufferProviderGetSize :: proc "c" (provider: RenderingBufferProviderRef) -> uint ---

    RenderingBufferProviderGetTypeID ¶

    @(link_name="CGRenderingBufferProviderGetTypeID")
    RenderingBufferProviderGetTypeID :: proc "c" () -> u64 ---

    RenderingBufferUnlockBytePtr ¶

    @(link_name="CGRenderingBufferUnlockBytePtr")
    RenderingBufferUnlockBytePtr :: proc "c" (provider: RenderingBufferProviderRef) ---

    RequestListenEventAccess ¶

    @(link_name="CGRequestListenEventAccess")
    RequestListenEventAccess :: proc "c" () -> bool ---

    RequestPostEventAccess ¶

    @(link_name="CGRequestPostEventAccess")
    RequestPostEventAccess :: proc "c" () -> bool ---

    RequestScreenCaptureAccess ¶

    @(link_name="CGRequestScreenCaptureAccess")
    RequestScreenCaptureAccess :: proc "c" () -> bool ---

    RestorePermanentDisplayConfiguration ¶

    @(link_name="CGRestorePermanentDisplayConfiguration")
    RestorePermanentDisplayConfiguration :: proc "c" () ---

    ScreenRegisterMoveCallback ¶

    @(link_name="CGScreenRegisterMoveCallback")
    ScreenRegisterMoveCallback :: proc "c" (
    	callback: ScreenUpdateMoveCallback, 
    	userInfo: rawptr, 
    ) -> Error ---

    ScreenUnregisterMoveCallback ¶

    @(link_name="CGScreenUnregisterMoveCallback")
    ScreenUnregisterMoveCallback :: proc "c" (
    	callback: ScreenUpdateMoveCallback, 
    	userInfo: rawptr, 
    ) ---

    SessionCopyCurrentDictionary ¶

    @(link_name="CGSessionCopyCurrentDictionary")
    SessionCopyCurrentDictionary :: proc "c" () -> ^darwin_CoreFoundation.__CFDictionary ---

    SetDisplayTransferByByteTable ¶

    @(link_name="CGSetDisplayTransferByByteTable")
    SetDisplayTransferByByteTable :: proc "c" (
    	display:    DirectDisplayID, 
    	tableSize:  u32, 
    	redTable:   ^u8, 
    	greenTable: ^u8, 
    	blueTable:  ^u8, 
    ) -> Error ---

    SetDisplayTransferByFormula ¶

    @(link_name="CGSetDisplayTransferByFormula")
    SetDisplayTransferByFormula :: proc "c" (
    	display:    DirectDisplayID, 
    	redMin:     GammaValue, 
    	redMax:     GammaValue, 
    	redGamma:   GammaValue, 
    	greenMin:   GammaValue, 
    	greenMax:   GammaValue, 
    	greenGamma: GammaValue, 
    	blueMin:    GammaValue, 
    	blueMax:    GammaValue, 
    	blueGamma:  GammaValue, 
    ) -> Error ---

    SetDisplayTransferByTable ¶

    @(link_name="CGSetDisplayTransferByTable")
    SetDisplayTransferByTable :: proc "c" (
    	display:    DirectDisplayID, 
    	tableSize:  u32, 
    	redTable:   ^GammaValue, 
    	greenTable: ^GammaValue, 
    	blueTable:  ^GammaValue, 
    ) -> Error ---

    SetLocalEventsFilterDuringSuppressionState ¶

    @(link_name="CGSetLocalEventsFilterDuringSuppressionState")
    SetLocalEventsFilterDuringSuppressionState :: proc "c" (
    	filter: bit_set[EventFilterMaskFlag; u32], 
    	state:  EventSuppressionState, 
    ) -> Error ---

    SetLocalEventsSuppressionInterval ¶

    @(link_name="CGSetLocalEventsSuppressionInterval")
    SetLocalEventsSuppressionInterval :: proc "c" (seconds: f64) -> Error ---

    ShadingCreateAxial ¶

    @(link_name="CGShadingCreateAxial")
    ShadingCreateAxial :: proc "c" (
    	space:       ColorSpaceRef, 
    	start:       Point, 
    	end:         Point, 
    	function:    FunctionRef, 
    	extendStart: bool, 
    	extendEnd:   bool, 
    ) -> ShadingRef ---

    ShadingCreateAxialWithContentHeadroom ¶

    @(link_name="CGShadingCreateAxialWithContentHeadroom")
    ShadingCreateAxialWithContentHeadroom :: proc "c" (
    	headroom:    f32, 
    	space:       ColorSpaceRef, 
    	start:       Point, 
    	end:         Point, 
    	function:    FunctionRef, 
    	extendStart: bool, 
    	extendEnd:   bool, 
    ) -> ShadingRef ---

    ShadingCreateRadial ¶

    @(link_name="CGShadingCreateRadial")
    ShadingCreateRadial :: proc "c" (
    	space:       ColorSpaceRef, 
    	start:       Point, 
    	startRadius: f64, 
    	end:         Point, 
    	endRadius:   f64, 
    	function:    FunctionRef, 
    	extendStart: bool, 
    	extendEnd:   bool, 
    ) -> ShadingRef ---

    ShadingCreateRadialWithContentHeadroom ¶

    @(link_name="CGShadingCreateRadialWithContentHeadroom")
    ShadingCreateRadialWithContentHeadroom :: proc "c" (
    	headroom:    f32, 
    	space:       ColorSpaceRef, 
    	start:       Point, 
    	startRadius: f64, 
    	end:         Point, 
    	endRadius:   f64, 
    	function:    FunctionRef, 
    	extendStart: bool, 
    	extendEnd:   bool, 
    ) -> ShadingRef ---

    ShadingGetContentHeadroom ¶

    @(link_name="CGShadingGetContentHeadroom")
    ShadingGetContentHeadroom :: proc "c" (shading: ShadingRef) -> f32 ---

    ShadingGetTypeID ¶

    @(link_name="CGShadingGetTypeID")
    ShadingGetTypeID :: proc "c" () -> u64 ---

    ShadingRelease ¶

    @(link_name="CGShadingRelease")
    ShadingRelease :: proc "c" (shading: ShadingRef) ---

    ShadingRetain ¶

    @(link_name="CGShadingRetain")
    ShadingRetain :: proc "c" (shading: ShadingRef) -> ShadingRef ---

    ShieldingWindowID ¶

    @(link_name="CGShieldingWindowID")
    ShieldingWindowID :: proc "c" (display: DirectDisplayID) -> WindowID ---

    ShieldingWindowLevel ¶

    @(link_name="CGShieldingWindowLevel")
    ShieldingWindowLevel :: proc "c" () -> WindowLevel ---

    SizeApplyAffineTransform ¶

    @(link_name="CGSizeApplyAffineTransform")
    SizeApplyAffineTransform :: proc "c" (size: Size, t: AffineTransform) -> Size ---

    SizeCreateDictionaryRepresentation ¶

    @(link_name="CGSizeCreateDictionaryRepresentation")
    SizeCreateDictionaryRepresentation :: proc "c" (size: Size) -> ^darwin_CoreFoundation.__CFDictionary ---

    SizeEqualToSize ¶

    @(link_name="CGSizeEqualToSize")
    SizeEqualToSize :: proc "c" (size1: Size, size2: Size) -> bool ---

    SizeMakeWithDictionaryRepresentation ¶

    @(link_name="CGSizeMakeWithDictionaryRepresentation")
    SizeMakeWithDictionaryRepresentation :: proc "c" (
    	dict: ^darwin_CoreFoundation.__CFDictionary, 
    	size: ^Size, 
    ) -> bool ---

    UnregisterScreenRefreshCallback ¶

    @(link_name="CGUnregisterScreenRefreshCallback")
    UnregisterScreenRefreshCallback :: proc "c" (
    	callback: ScreenRefreshCallback, 
    	userInfo: rawptr, 
    ) ---

    WaitForScreenRefreshRects ¶

    @(link_name="CGWaitForScreenRefreshRects")
    WaitForScreenRefreshRects :: proc "c" (rects: ^^Rect, count: ^u32) -> Error ---

    WaitForScreenUpdateRects ¶

    @(link_name="CGWaitForScreenUpdateRects")
    WaitForScreenUpdateRects :: proc "c" (
    	requestedOperations: bit_set[ScreenUpdateOperationFlag; u32], 
    	currentOperation:    ^bit_set[ScreenUpdateOperationFlag; u32], 
    	rects:               ^^Rect, 
    	rectCount:           ^uint, 
    	delta:               ^ScreenUpdateMoveDelta, 
    ) -> Error ---

    WarpMouseCursorPosition ¶

    @(link_name="CGWarpMouseCursorPosition")
    WarpMouseCursorPosition :: proc "c" (newCursorPosition: Point) -> Error ---

    WindowLevelForKey ¶

    @(link_name="CGWindowLevelForKey")
    WindowLevelForKey :: proc "c" (key: WindowLevelKey) -> WindowLevel ---

    WindowListCopyWindowInfo ¶

    @(link_name="CGWindowListCopyWindowInfo")
    WindowListCopyWindowInfo :: proc "c" (
    	option:           WindowListOption, 
    	relativeToWindow: WindowID, 
    ) -> ^darwin_CoreFoundation.__CFArray ---

    WindowListCreate ¶

    @(link_name="CGWindowListCreate")
    WindowListCreate :: proc "c" (
    	option:           WindowListOption, 
    	relativeToWindow: WindowID, 
    ) -> ^darwin_CoreFoundation.__CFArray ---

    WindowListCreateDescriptionFromArray ¶

    @(link_name="CGWindowListCreateDescriptionFromArray")
    WindowListCreateDescriptionFromArray :: proc "c" (windowArray: ^darwin_CoreFoundation.__CFArray) -> ^darwin_CoreFoundation.__CFArray ---

    WindowListCreateImage ¶

    @(link_name="CGWindowListCreateImage")
    WindowListCreateImage :: proc "c" (
    	screenBounds: Rect, 
    	listOption:   WindowListOption, 
    	windowID:     WindowID, 
    	imageOption:  WindowImageOption, 
    ) -> ImageRef ---

    WindowListCreateImageFromArray ¶

    @(link_name="CGWindowListCreateImageFromArray")
    WindowListCreateImageFromArray :: proc "c" (
    	screenBounds: Rect, 
    	windowArray:  ^darwin_CoreFoundation.__CFArray, 
    	imageOption:  WindowImageOption, 
    ) -> ImageRef ---

    WindowServerCFMachPort ¶

    @(link_name="CGWindowServerCFMachPort")
    WindowServerCFMachPort :: proc "c" () -> ^darwin_CoreFoundation.__CFMachPort ---

    WindowServerCreateServerPort ¶

    @(link_name="CGWindowServerCreateServerPort")
    WindowServerCreateServerPort :: proc "c" () -> ^darwin_CoreFoundation.__CFMachPort ---

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2026-11 (vendor "odin") Windows_amd64 @ 2026-11-28 21:05:09.772358800 +0000 UTC