coregraphics

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package coregraphics provides purego-based Go bindings for the macOS CoreGraphics framework.

Apple documentation: https://developer.apple.com/documentation/coregraphics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CGAffineTransformIdentity

func CGAffineTransformIdentity() corefoundation.CGAffineTransform

func CGAffineTransformIsIdentity

func CGAffineTransformIsIdentity(t corefoundation.CGAffineTransform) bool

func CGAffineTransformMakeRotation

func CGAffineTransformMakeRotation(angle float64) corefoundation.CGAffineTransform

func CGAffineTransformMakeScale

func CGAffineTransformMakeScale(sx float64, sy float64) corefoundation.CGAffineTransform

func CGAffineTransformMakeTranslation

func CGAffineTransformMakeTranslation(tx float64, ty float64) corefoundation.CGAffineTransform

func CGBitmapContextCreate

func CGBitmapContextCreate(data unsafe.Pointer, width uint, height uint, bitsPerComponent uint, bytesPerRow uint, space unsafe.Pointer, bitmapInfo CGBitmapInfo) unsafe.Pointer

func CGBitmapContextCreateAdaptive

func CGBitmapContextCreateAdaptive(width uint, height uint, auxiliaryInfo unsafe.Pointer, onResolve func(*CGContentInfo, *CGBitmapParameters) bool, onAllocate func(*CGContentInfo, *CGBitmapParameters) unsafe.Pointer, onFree func(unsafe.Pointer, *CGContentInfo, *CGBitmapParameters), onError func(unsafe.Pointer, *CGContentInfo, *CGBitmapParameters)) unsafe.Pointer

func CGBitmapContextCreateImage

func CGBitmapContextCreateImage(context_ unsafe.Pointer) unsafe.Pointer

func CGBitmapContextCreateWithData

func CGBitmapContextCreateWithData(data unsafe.Pointer, width uint, height uint, bitsPerComponent uint, bytesPerRow uint, space unsafe.Pointer, bitmapInfo CGBitmapInfo, releaseCallback unsafe.Pointer, releaseInfo unsafe.Pointer) unsafe.Pointer

func CGBitmapContextGetBitsPerComponent

func CGBitmapContextGetBitsPerComponent(context_ unsafe.Pointer) uint

func CGBitmapContextGetBitsPerPixel

func CGBitmapContextGetBitsPerPixel(context_ unsafe.Pointer) uint

func CGBitmapContextGetBytesPerRow

func CGBitmapContextGetBytesPerRow(context_ unsafe.Pointer) uint

func CGBitmapContextGetColorSpace

func CGBitmapContextGetColorSpace(context_ unsafe.Pointer) unsafe.Pointer

func CGBitmapContextGetData

func CGBitmapContextGetData(context_ unsafe.Pointer) unsafe.Pointer

func CGBitmapContextGetHeight

func CGBitmapContextGetHeight(context_ unsafe.Pointer) uint

func CGBitmapContextGetWidth

func CGBitmapContextGetWidth(context_ unsafe.Pointer) uint

func CGColorConversionInfoConvertData

func CGColorConversionInfoConvertData(info unsafe.Pointer, width uint, height uint, dst_data unsafe.Pointer, dst_format CGColorBufferFormat, src_data unsafe.Pointer, src_format CGColorBufferFormat, options unsafe.Pointer) bool

func CGColorConversionInfoCreate

func CGColorConversionInfoCreate(src unsafe.Pointer, dst unsafe.Pointer) unsafe.Pointer

func CGColorConversionInfoCreateForToneMapping

func CGColorConversionInfoCreateForToneMapping(from unsafe.Pointer, source_headroom float32, to unsafe.Pointer, target_headroom float32, method CGToneMapping, options unsafe.Pointer, error_ unsafe.Pointer) unsafe.Pointer

func CGColorConversionInfoCreateFromListWithArguments

func CGColorConversionInfoCreateFromListWithArguments(options unsafe.Pointer, arg unsafe.Pointer, arg2 CGColorConversionInfoTransformType, arg3 CGColorRenderingIntent, arg4 string) unsafe.Pointer

func CGColorConversionInfoCreateWithOptions

func CGColorConversionInfoCreateWithOptions(src unsafe.Pointer, dst unsafe.Pointer, options unsafe.Pointer) unsafe.Pointer

func CGColorConversionInfoGetTypeID

func CGColorConversionInfoGetTypeID() uint

func CGColorCreate

func CGColorCreate(space unsafe.Pointer, components *float64) unsafe.Pointer

func CGColorCreateCopy

func CGColorCreateCopy(color unsafe.Pointer) unsafe.Pointer

func CGColorCreateCopyByMatchingToColorSpace

func CGColorCreateCopyByMatchingToColorSpace(arg unsafe.Pointer, intent CGColorRenderingIntent, color unsafe.Pointer, options unsafe.Pointer) unsafe.Pointer

func CGColorCreateCopyWithAlpha

func CGColorCreateCopyWithAlpha(color unsafe.Pointer, alpha float64) unsafe.Pointer

func CGColorCreateGenericCMYK

func CGColorCreateGenericCMYK(cyan float64, magenta float64, yellow float64, black float64, alpha float64) unsafe.Pointer

func CGColorCreateGenericGray

func CGColorCreateGenericGray(gray float64, alpha float64) unsafe.Pointer

func CGColorCreateGenericGrayGamma2_2

func CGColorCreateGenericGrayGamma2_2(gray float64, alpha float64) unsafe.Pointer

func CGColorCreateGenericRGB

func CGColorCreateGenericRGB(red float64, green float64, blue float64, alpha float64) unsafe.Pointer

func CGColorCreateSRGB

func CGColorCreateSRGB(red float64, green float64, blue float64, alpha float64) unsafe.Pointer

func CGColorCreateWithContentHeadroom

func CGColorCreateWithContentHeadroom(headroom float32, space unsafe.Pointer, red float64, green float64, blue float64, alpha float64) unsafe.Pointer

func CGColorCreateWithPattern

func CGColorCreateWithPattern(space unsafe.Pointer, pattern unsafe.Pointer, components *float64) unsafe.Pointer

func CGColorEqualToColor

func CGColorEqualToColor(color1 unsafe.Pointer, color2 unsafe.Pointer) bool

func CGColorGetAlpha

func CGColorGetAlpha(color unsafe.Pointer) float64

func CGColorGetColorSpace

func CGColorGetColorSpace(color unsafe.Pointer) unsafe.Pointer

func CGColorGetComponents

func CGColorGetComponents(color unsafe.Pointer) *float64

func CGColorGetConstantColor

func CGColorGetConstantColor(colorName unsafe.Pointer) unsafe.Pointer

func CGColorGetContentHeadroom

func CGColorGetContentHeadroom(color unsafe.Pointer) float32

func CGColorGetNumberOfComponents

func CGColorGetNumberOfComponents(color unsafe.Pointer) uint

func CGColorGetPattern

func CGColorGetPattern(color unsafe.Pointer) unsafe.Pointer

func CGColorGetTypeID

func CGColorGetTypeID() uint

func CGColorRelease

func CGColorRelease(color unsafe.Pointer)

func CGColorRetain

func CGColorRetain(color unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCopyBaseColorSpace

func CGColorSpaceCopyBaseColorSpace(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCopyICCData

func CGColorSpaceCopyICCData(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCopyICCProfile deprecated

func CGColorSpaceCopyICCProfile(space unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func CGColorSpaceCopyName

func CGColorSpaceCopyName(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCopyPropertyList

func CGColorSpaceCopyPropertyList(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateCalibratedGray

func CGColorSpaceCreateCalibratedGray(whitePoint *float64, blackPoint *float64, gamma float64) unsafe.Pointer

func CGColorSpaceCreateCalibratedRGB

func CGColorSpaceCreateCalibratedRGB(whitePoint *float64, blackPoint *float64, gamma *float64, matrix *float64) unsafe.Pointer

func CGColorSpaceCreateCopyWithStandardRange

func CGColorSpaceCreateCopyWithStandardRange(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateDeviceCMYK

func CGColorSpaceCreateDeviceCMYK() unsafe.Pointer

func CGColorSpaceCreateDeviceGray

func CGColorSpaceCreateDeviceGray() unsafe.Pointer

func CGColorSpaceCreateDeviceRGB

func CGColorSpaceCreateDeviceRGB() unsafe.Pointer

func CGColorSpaceCreateExtended

func CGColorSpaceCreateExtended(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateExtendedLinearized

func CGColorSpaceCreateExtendedLinearized(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateICCBased

func CGColorSpaceCreateICCBased(nComponents uint, range_ *float64, profile unsafe.Pointer, alternate unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateIndexed

func CGColorSpaceCreateIndexed(baseSpace unsafe.Pointer, lastIndex uint, colorTable *uint8) unsafe.Pointer

func CGColorSpaceCreateLab

func CGColorSpaceCreateLab(whitePoint *float64, blackPoint *float64, range_ *float64) unsafe.Pointer

func CGColorSpaceCreateLinearized

func CGColorSpaceCreateLinearized(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreatePattern

func CGColorSpaceCreatePattern(baseSpace unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateWithColorSyncProfile

func CGColorSpaceCreateWithColorSyncProfile(arg unsafe.Pointer, options unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateWithICCData

func CGColorSpaceCreateWithICCData(data unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateWithICCProfile deprecated

func CGColorSpaceCreateWithICCProfile(data unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func CGColorSpaceCreateWithName

func CGColorSpaceCreateWithName(name unsafe.Pointer) unsafe.Pointer

func CGColorSpaceCreateWithPlatformColorSpace deprecated

func CGColorSpaceCreateWithPlatformColorSpace(ref unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func CGColorSpaceCreateWithPropertyList

func CGColorSpaceCreateWithPropertyList(plist unsafe.Pointer) unsafe.Pointer

func CGColorSpaceGetBaseColorSpace

func CGColorSpaceGetBaseColorSpace(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceGetColorTable

func CGColorSpaceGetColorTable(space unsafe.Pointer, table *uint8)

func CGColorSpaceGetColorTableCount

func CGColorSpaceGetColorTableCount(space unsafe.Pointer) uint

func CGColorSpaceGetName

func CGColorSpaceGetName(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceGetNumberOfComponents

func CGColorSpaceGetNumberOfComponents(space unsafe.Pointer) uint

func CGColorSpaceGetTypeID

func CGColorSpaceGetTypeID() uint

func CGColorSpaceIsHDR

func CGColorSpaceIsHDR(arg unsafe.Pointer) bool

func CGColorSpaceIsHLGBased

func CGColorSpaceIsHLGBased(s unsafe.Pointer) bool

func CGColorSpaceIsPQBased

func CGColorSpaceIsPQBased(s unsafe.Pointer) bool

func CGColorSpaceIsWideGamutRGB

func CGColorSpaceIsWideGamutRGB(arg unsafe.Pointer) bool

func CGColorSpaceRelease

func CGColorSpaceRelease(space unsafe.Pointer)

func CGColorSpaceRetain

func CGColorSpaceRetain(space unsafe.Pointer) unsafe.Pointer

func CGColorSpaceSupportsOutput

func CGColorSpaceSupportsOutput(space unsafe.Pointer) bool

func CGColorSpaceUsesExtendedRange

func CGColorSpaceUsesExtendedRange(space unsafe.Pointer) bool

func CGColorSpaceUsesITUR_2100TF

func CGColorSpaceUsesITUR_2100TF(arg unsafe.Pointer) bool

func CGContextAddArc

func CGContextAddArc(c unsafe.Pointer, x float64, y float64, radius float64, startAngle float64, endAngle float64, clockwise int)

func CGContextAddArcToPoint

func CGContextAddArcToPoint(c unsafe.Pointer, x1 float64, y1 float64, x2 float64, y2 float64, radius float64)

func CGContextAddCurveToPoint

func CGContextAddCurveToPoint(c unsafe.Pointer, cp1x float64, cp1y float64, cp2x float64, cp2y float64, x float64, y float64)

func CGContextAddEllipseInRect

func CGContextAddEllipseInRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextAddLineToPoint

func CGContextAddLineToPoint(c unsafe.Pointer, x float64, y float64)

func CGContextAddLines

func CGContextAddLines(c unsafe.Pointer, points *corefoundation.CGPoint, count uint)

func CGContextAddPath

func CGContextAddPath(c unsafe.Pointer, path unsafe.Pointer)

func CGContextAddQuadCurveToPoint

func CGContextAddQuadCurveToPoint(c unsafe.Pointer, cpx float64, cpy float64, x float64, y float64)

func CGContextAddRect

func CGContextAddRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextAddRects

func CGContextAddRects(c unsafe.Pointer, rects *corefoundation.CGRect, count uint)

func CGContextBeginPage

func CGContextBeginPage(c unsafe.Pointer, mediaBox *corefoundation.CGRect)

func CGContextBeginPath

func CGContextBeginPath(c unsafe.Pointer)

func CGContextBeginTransparencyLayer

func CGContextBeginTransparencyLayer(c unsafe.Pointer, auxiliaryInfo unsafe.Pointer)

func CGContextBeginTransparencyLayerWithRect

func CGContextBeginTransparencyLayerWithRect(c unsafe.Pointer, rect corefoundation.CGRect, auxInfo unsafe.Pointer)

func CGContextClearRect

func CGContextClearRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextClip

func CGContextClip(c unsafe.Pointer)

func CGContextClipToMask

func CGContextClipToMask(c unsafe.Pointer, rect corefoundation.CGRect, mask unsafe.Pointer)

func CGContextClipToRect

func CGContextClipToRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextClipToRects

func CGContextClipToRects(c unsafe.Pointer, rects *corefoundation.CGRect, count uint)

func CGContextClosePath

func CGContextClosePath(c unsafe.Pointer)

func CGContextConcatCTM

func CGContextConcatCTM(c unsafe.Pointer, transform corefoundation.CGAffineTransform)

func CGContextConvertPointToDeviceSpace

func CGContextConvertPointToDeviceSpace(c unsafe.Pointer, point corefoundation.CGPoint) corefoundation.CGPoint

func CGContextConvertPointToUserSpace

func CGContextConvertPointToUserSpace(c unsafe.Pointer, point corefoundation.CGPoint) corefoundation.CGPoint

func CGContextConvertRectToDeviceSpace

func CGContextConvertRectToDeviceSpace(c unsafe.Pointer, rect corefoundation.CGRect) corefoundation.CGRect

func CGContextConvertRectToUserSpace

func CGContextConvertRectToUserSpace(c unsafe.Pointer, rect corefoundation.CGRect) corefoundation.CGRect

func CGContextConvertSizeToDeviceSpace

func CGContextConvertSizeToDeviceSpace(c unsafe.Pointer, size corefoundation.CGSize) corefoundation.CGSize

func CGContextConvertSizeToUserSpace

func CGContextConvertSizeToUserSpace(c unsafe.Pointer, size corefoundation.CGSize) corefoundation.CGSize

func CGContextCopyPath

func CGContextCopyPath(c unsafe.Pointer) unsafe.Pointer

func CGContextDrawConicGradient

func CGContextDrawConicGradient(c unsafe.Pointer, gradient unsafe.Pointer, center corefoundation.CGPoint, angle float64)

func CGContextDrawImage

func CGContextDrawImage(c unsafe.Pointer, rect corefoundation.CGRect, image unsafe.Pointer)

func CGContextDrawImageApplyingToneMapping

func CGContextDrawImageApplyingToneMapping(c unsafe.Pointer, r corefoundation.CGRect, image unsafe.Pointer, method CGToneMapping, options unsafe.Pointer) bool

func CGContextDrawLayerAtPoint

func CGContextDrawLayerAtPoint(context_ unsafe.Pointer, point corefoundation.CGPoint, layer unsafe.Pointer)

func CGContextDrawLayerInRect

func CGContextDrawLayerInRect(context_ unsafe.Pointer, rect corefoundation.CGRect, layer unsafe.Pointer)

func CGContextDrawLinearGradient

func CGContextDrawLinearGradient(c unsafe.Pointer, gradient unsafe.Pointer, startPoint corefoundation.CGPoint, endPoint corefoundation.CGPoint, options CGGradientDrawingOptions)

func CGContextDrawPDFDocument deprecated

func CGContextDrawPDFDocument(c unsafe.Pointer, rect corefoundation.CGRect, document unsafe.Pointer, page int)

Deprecated: No longer supported

func CGContextDrawPDFPage

func CGContextDrawPDFPage(c unsafe.Pointer, page unsafe.Pointer)

func CGContextDrawPath

func CGContextDrawPath(c unsafe.Pointer, mode CGPathDrawingMode)

func CGContextDrawRadialGradient

func CGContextDrawRadialGradient(c unsafe.Pointer, gradient unsafe.Pointer, startCenter corefoundation.CGPoint, startRadius float64, endCenter corefoundation.CGPoint, endRadius float64, options CGGradientDrawingOptions)

func CGContextDrawShading

func CGContextDrawShading(c unsafe.Pointer, shading unsafe.Pointer)

func CGContextDrawTiledImage

func CGContextDrawTiledImage(c unsafe.Pointer, rect corefoundation.CGRect, image unsafe.Pointer)

func CGContextEOClip

func CGContextEOClip(c unsafe.Pointer)

func CGContextEOFillPath

func CGContextEOFillPath(c unsafe.Pointer)

func CGContextEndPage

func CGContextEndPage(c unsafe.Pointer)

func CGContextEndTransparencyLayer

func CGContextEndTransparencyLayer(c unsafe.Pointer)

func CGContextFillEllipseInRect

func CGContextFillEllipseInRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextFillPath

func CGContextFillPath(c unsafe.Pointer)

func CGContextFillRect

func CGContextFillRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextFillRects

func CGContextFillRects(c unsafe.Pointer, rects *corefoundation.CGRect, count uint)

func CGContextFlush

func CGContextFlush(c unsafe.Pointer)

func CGContextGetClipBoundingBox

func CGContextGetClipBoundingBox(c unsafe.Pointer) corefoundation.CGRect

func CGContextGetEDRTargetHeadroom

func CGContextGetEDRTargetHeadroom(c unsafe.Pointer) float32

func CGContextGetPathBoundingBox

func CGContextGetPathBoundingBox(c unsafe.Pointer) corefoundation.CGRect

func CGContextGetPathCurrentPoint

func CGContextGetPathCurrentPoint(c unsafe.Pointer) corefoundation.CGPoint

func CGContextGetTextPosition

func CGContextGetTextPosition(c unsafe.Pointer) corefoundation.CGPoint

func CGContextGetTypeID

func CGContextGetTypeID() uint

func CGContextGetUserSpaceToDeviceSpaceTransform

func CGContextGetUserSpaceToDeviceSpaceTransform(c unsafe.Pointer) corefoundation.CGAffineTransform

func CGContextIsPathEmpty

func CGContextIsPathEmpty(c unsafe.Pointer) bool

func CGContextMoveToPoint

func CGContextMoveToPoint(c unsafe.Pointer, x float64, y float64)

func CGContextPathContainsPoint

func CGContextPathContainsPoint(c unsafe.Pointer, point corefoundation.CGPoint, mode CGPathDrawingMode) bool

func CGContextRelease

func CGContextRelease(c unsafe.Pointer)

func CGContextReplacePathWithStrokedPath

func CGContextReplacePathWithStrokedPath(c unsafe.Pointer)

func CGContextResetClip

func CGContextResetClip(c unsafe.Pointer)

func CGContextRestoreGState

func CGContextRestoreGState(c unsafe.Pointer)

func CGContextRetain

func CGContextRetain(c unsafe.Pointer) unsafe.Pointer

func CGContextRotateCTM

func CGContextRotateCTM(c unsafe.Pointer, angle float64)

func CGContextSaveGState

func CGContextSaveGState(c unsafe.Pointer)

func CGContextScaleCTM

func CGContextScaleCTM(c unsafe.Pointer, sx float64, sy float64)

func CGContextSelectFont deprecated

func CGContextSelectFont(c unsafe.Pointer, name string, size float64, textEncoding CGTextEncoding)

Deprecated: No longer supported

func CGContextSetAllowsAntialiasing

func CGContextSetAllowsAntialiasing(c unsafe.Pointer, allowsAntialiasing bool)

func CGContextSetAllowsFontSmoothing

func CGContextSetAllowsFontSmoothing(c unsafe.Pointer, allowsFontSmoothing bool)

func CGContextSetAllowsFontSubpixelPositioning

func CGContextSetAllowsFontSubpixelPositioning(c unsafe.Pointer, allowsFontSubpixelPositioning bool)

func CGContextSetAllowsFontSubpixelQuantization

func CGContextSetAllowsFontSubpixelQuantization(c unsafe.Pointer, allowsFontSubpixelQuantization bool)

func CGContextSetAlpha

func CGContextSetAlpha(c unsafe.Pointer, alpha float64)

func CGContextSetBlendMode

func CGContextSetBlendMode(c unsafe.Pointer, mode CGBlendMode)

func CGContextSetCMYKFillColor

func CGContextSetCMYKFillColor(c unsafe.Pointer, cyan float64, magenta float64, yellow float64, black float64, alpha float64)

func CGContextSetCMYKStrokeColor

func CGContextSetCMYKStrokeColor(c unsafe.Pointer, cyan float64, magenta float64, yellow float64, black float64, alpha float64)

func CGContextSetCharacterSpacing

func CGContextSetCharacterSpacing(c unsafe.Pointer, spacing float64)

func CGContextSetContentToneMappingInfo

func CGContextSetContentToneMappingInfo(c unsafe.Pointer, info CGContentToneMappingInfo)

func CGContextSetEDRTargetHeadroom

func CGContextSetEDRTargetHeadroom(c unsafe.Pointer, headroom float32) bool

func CGContextSetFillColor

func CGContextSetFillColor(c unsafe.Pointer, components *float64)

func CGContextSetFillColorSpace

func CGContextSetFillColorSpace(c unsafe.Pointer, space unsafe.Pointer)

func CGContextSetFillColorWithColor

func CGContextSetFillColorWithColor(c unsafe.Pointer, color unsafe.Pointer)

func CGContextSetFillPattern

func CGContextSetFillPattern(c unsafe.Pointer, pattern unsafe.Pointer, components *float64)

func CGContextSetFlatness

func CGContextSetFlatness(c unsafe.Pointer, flatness float64)

func CGContextSetFont

func CGContextSetFont(c unsafe.Pointer, font unsafe.Pointer)

func CGContextSetFontSize

func CGContextSetFontSize(c unsafe.Pointer, size float64)

func CGContextSetGrayFillColor

func CGContextSetGrayFillColor(c unsafe.Pointer, gray float64, alpha float64)

func CGContextSetGrayStrokeColor

func CGContextSetGrayStrokeColor(c unsafe.Pointer, gray float64, alpha float64)

func CGContextSetInterpolationQuality

func CGContextSetInterpolationQuality(c unsafe.Pointer, quality CGInterpolationQuality)

func CGContextSetLineCap

func CGContextSetLineCap(c unsafe.Pointer, cap_ CGLineCap)

func CGContextSetLineDash

func CGContextSetLineDash(c unsafe.Pointer, phase float64, lengths *float64, count uint)

func CGContextSetLineJoin

func CGContextSetLineJoin(c unsafe.Pointer, join CGLineJoin)

func CGContextSetLineWidth

func CGContextSetLineWidth(c unsafe.Pointer, width float64)

func CGContextSetMiterLimit

func CGContextSetMiterLimit(c unsafe.Pointer, limit float64)

func CGContextSetPatternPhase

func CGContextSetPatternPhase(c unsafe.Pointer, phase corefoundation.CGSize)

func CGContextSetRGBFillColor

func CGContextSetRGBFillColor(c unsafe.Pointer, red float64, green float64, blue float64, alpha float64)

func CGContextSetRGBStrokeColor

func CGContextSetRGBStrokeColor(c unsafe.Pointer, red float64, green float64, blue float64, alpha float64)

func CGContextSetRenderingIntent

func CGContextSetRenderingIntent(c unsafe.Pointer, intent CGColorRenderingIntent)

func CGContextSetShadow

func CGContextSetShadow(c unsafe.Pointer, offset corefoundation.CGSize, blur float64)

func CGContextSetShadowWithColor

func CGContextSetShadowWithColor(c unsafe.Pointer, offset corefoundation.CGSize, blur float64, color unsafe.Pointer)

func CGContextSetShouldAntialias

func CGContextSetShouldAntialias(c unsafe.Pointer, shouldAntialias bool)

func CGContextSetShouldSmoothFonts

func CGContextSetShouldSmoothFonts(c unsafe.Pointer, shouldSmoothFonts bool)

func CGContextSetShouldSubpixelPositionFonts

func CGContextSetShouldSubpixelPositionFonts(c unsafe.Pointer, shouldSubpixelPositionFonts bool)

func CGContextSetShouldSubpixelQuantizeFonts

func CGContextSetShouldSubpixelQuantizeFonts(c unsafe.Pointer, shouldSubpixelQuantizeFonts bool)

func CGContextSetStrokeColor

func CGContextSetStrokeColor(c unsafe.Pointer, components *float64)

func CGContextSetStrokeColorSpace

func CGContextSetStrokeColorSpace(c unsafe.Pointer, space unsafe.Pointer)

func CGContextSetStrokeColorWithColor

func CGContextSetStrokeColorWithColor(c unsafe.Pointer, color unsafe.Pointer)

func CGContextSetStrokePattern

func CGContextSetStrokePattern(c unsafe.Pointer, pattern unsafe.Pointer, components *float64)

func CGContextSetTextDrawingMode

func CGContextSetTextDrawingMode(c unsafe.Pointer, mode CGTextDrawingMode)

func CGContextSetTextMatrix

func CGContextSetTextMatrix(c unsafe.Pointer, t corefoundation.CGAffineTransform)

func CGContextSetTextPosition

func CGContextSetTextPosition(c unsafe.Pointer, x float64, y float64)

func CGContextShowGlyphs deprecated

func CGContextShowGlyphs(c unsafe.Pointer, g *uint16, count uint)

Deprecated: No longer supported

func CGContextShowGlyphsAtPoint deprecated

func CGContextShowGlyphsAtPoint(c unsafe.Pointer, x float64, y float64, glyphs *uint16, count uint)

Deprecated: No longer supported

func CGContextShowGlyphsAtPositions

func CGContextShowGlyphsAtPositions(c unsafe.Pointer, glyphs *uint16, lpositions *corefoundation.CGPoint, count uint)

func CGContextShowGlyphsWithAdvances deprecated

func CGContextShowGlyphsWithAdvances(c unsafe.Pointer, glyphs *uint16, advances *corefoundation.CGSize, count uint)

Deprecated: No longer supported

func CGContextShowText deprecated

func CGContextShowText(c unsafe.Pointer, string_ string, length uint)

Deprecated: No longer supported

func CGContextShowTextAtPoint deprecated

func CGContextShowTextAtPoint(c unsafe.Pointer, x float64, y float64, string_ string, length uint)

Deprecated: No longer supported

func CGContextStrokeEllipseInRect

func CGContextStrokeEllipseInRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextStrokeLineSegments

func CGContextStrokeLineSegments(c unsafe.Pointer, points *corefoundation.CGPoint, count uint)

func CGContextStrokePath

func CGContextStrokePath(c unsafe.Pointer)

func CGContextStrokeRect

func CGContextStrokeRect(c unsafe.Pointer, rect corefoundation.CGRect)

func CGContextStrokeRectWithWidth

func CGContextStrokeRectWithWidth(c unsafe.Pointer, rect corefoundation.CGRect, width float64)

func CGContextSynchronize

func CGContextSynchronize(c unsafe.Pointer)

func CGContextSynchronizeAttributes

func CGContextSynchronizeAttributes(c unsafe.Pointer)

func CGContextTranslateCTM

func CGContextTranslateCTM(c unsafe.Pointer, tx float64, ty float64)

func CGConvertColorDataWithFormat

func CGConvertColorDataWithFormat(width uint, height uint, dst_data unsafe.Pointer, dst_format CGColorDataFormat, src_data unsafe.Pointer, src_format CGColorDataFormat, options unsafe.Pointer) bool

func CGCursorIsDrawnInFramebuffer deprecated

func CGCursorIsDrawnInFramebuffer() int

Deprecated: No longer supported

func CGCursorIsVisible deprecated

func CGCursorIsVisible() int

Deprecated: No longer supported

func CGDataConsumerCreate

func CGDataConsumerCreate(info unsafe.Pointer, cbks *CGDataConsumerCallbacks) unsafe.Pointer

func CGDataConsumerCreateWithCFData

func CGDataConsumerCreateWithCFData(data unsafe.Pointer) unsafe.Pointer

func CGDataConsumerCreateWithURL

func CGDataConsumerCreateWithURL(url unsafe.Pointer) unsafe.Pointer

func CGDataConsumerGetTypeID

func CGDataConsumerGetTypeID() uint

func CGDataConsumerRelease

func CGDataConsumerRelease(consumer unsafe.Pointer)

func CGDataConsumerRetain

func CGDataConsumerRetain(consumer unsafe.Pointer) unsafe.Pointer

func CGDataProviderCopyData

func CGDataProviderCopyData(provider unsafe.Pointer) unsafe.Pointer

func CGDataProviderCreateDirect

func CGDataProviderCreateDirect(info unsafe.Pointer, size int64, callbacks *CGDataProviderDirectCallbacks) unsafe.Pointer

func CGDataProviderCreateSequential

func CGDataProviderCreateSequential(info unsafe.Pointer, callbacks *CGDataProviderSequentialCallbacks) unsafe.Pointer

func CGDataProviderCreateWithCFData

func CGDataProviderCreateWithCFData(data unsafe.Pointer) unsafe.Pointer

func CGDataProviderCreateWithData

func CGDataProviderCreateWithData(info unsafe.Pointer, data unsafe.Pointer, size uint, releaseData unsafe.Pointer) unsafe.Pointer

func CGDataProviderCreateWithFilename

func CGDataProviderCreateWithFilename(filename string) unsafe.Pointer

func CGDataProviderCreateWithURL

func CGDataProviderCreateWithURL(url unsafe.Pointer) unsafe.Pointer

func CGDataProviderGetInfo

func CGDataProviderGetInfo(provider unsafe.Pointer) unsafe.Pointer

func CGDataProviderGetTypeID

func CGDataProviderGetTypeID() uint

func CGDataProviderRelease

func CGDataProviderRelease(provider unsafe.Pointer)

func CGDataProviderRetain

func CGDataProviderRetain(provider unsafe.Pointer) unsafe.Pointer

func CGDirectDisplayCopyCurrentMetalDevice

func CGDirectDisplayCopyCurrentMetalDevice(display uint32) unsafe.Pointer

func CGDisplayAvailableModes deprecated

func CGDisplayAvailableModes(dsp uint32) unsafe.Pointer

Deprecated: No longer supported

func CGDisplayBestModeForParameters deprecated

func CGDisplayBestModeForParameters(display uint32, bitsPerPixel uint, width uint, height uint, exactMatch *int) unsafe.Pointer

Deprecated: No longer supported

func CGDisplayBestModeForParametersAndRefreshRate deprecated

func CGDisplayBestModeForParametersAndRefreshRate(display uint32, bitsPerPixel uint, width uint, height uint, refreshRate float64, exactMatch *int) unsafe.Pointer

Deprecated: No longer supported

func CGDisplayBounds

func CGDisplayBounds(display uint32) corefoundation.CGRect

func CGDisplayCopyAllDisplayModes

func CGDisplayCopyAllDisplayModes(display uint32, options unsafe.Pointer) unsafe.Pointer

func CGDisplayCopyColorSpace

func CGDisplayCopyColorSpace(display uint32) unsafe.Pointer

func CGDisplayCopyDisplayMode

func CGDisplayCopyDisplayMode(display uint32) unsafe.Pointer

func CGDisplayCurrentMode deprecated

func CGDisplayCurrentMode(display uint32) unsafe.Pointer

Deprecated: No longer supported

func CGDisplayFadeOperationInProgress deprecated

func CGDisplayFadeOperationInProgress() int

Deprecated: No longer supported

func CGDisplayGammaTableCapacity

func CGDisplayGammaTableCapacity(display uint32) uint32

func CGDisplayGetDrawingContext

func CGDisplayGetDrawingContext(display uint32) unsafe.Pointer

func CGDisplayIDToOpenGLDisplayMask

func CGDisplayIDToOpenGLDisplayMask(display uint32) uint32

func CGDisplayIOServicePort deprecated

func CGDisplayIOServicePort(display uint32) uint

Deprecated: No longer supported

func CGDisplayIsActive

func CGDisplayIsActive(display uint32) int

func CGDisplayIsAlwaysInMirrorSet

func CGDisplayIsAlwaysInMirrorSet(display uint32) int

func CGDisplayIsAsleep

func CGDisplayIsAsleep(display uint32) int

func CGDisplayIsBuiltin

func CGDisplayIsBuiltin(display uint32) int

func CGDisplayIsCaptured deprecated

func CGDisplayIsCaptured(display uint32) int

Deprecated: No longer supported

func CGDisplayIsInHWMirrorSet

func CGDisplayIsInHWMirrorSet(display uint32) int

func CGDisplayIsInMirrorSet

func CGDisplayIsInMirrorSet(display uint32) int

func CGDisplayIsMain

func CGDisplayIsMain(display uint32) int

func CGDisplayIsOnline

func CGDisplayIsOnline(display uint32) int

func CGDisplayIsStereo

func CGDisplayIsStereo(display uint32) int

func CGDisplayMirrorsDisplay

func CGDisplayMirrorsDisplay(display uint32) uint32

func CGDisplayModeCopyPixelEncoding deprecated

func CGDisplayModeCopyPixelEncoding(mode unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func CGDisplayModeGetHeight

func CGDisplayModeGetHeight(mode unsafe.Pointer) uint

func CGDisplayModeGetIODisplayModeID

func CGDisplayModeGetIODisplayModeID(mode unsafe.Pointer) int32

func CGDisplayModeGetIOFlags

func CGDisplayModeGetIOFlags(mode unsafe.Pointer) uint32

func CGDisplayModeGetPixelHeight

func CGDisplayModeGetPixelHeight(mode unsafe.Pointer) uint

func CGDisplayModeGetPixelWidth

func CGDisplayModeGetPixelWidth(mode unsafe.Pointer) uint

func CGDisplayModeGetRefreshRate

func CGDisplayModeGetRefreshRate(mode unsafe.Pointer) float64

func CGDisplayModeGetTypeID

func CGDisplayModeGetTypeID() uint

func CGDisplayModeGetWidth

func CGDisplayModeGetWidth(mode unsafe.Pointer) uint

func CGDisplayModeIsUsableForDesktopGUI

func CGDisplayModeIsUsableForDesktopGUI(mode unsafe.Pointer) bool

func CGDisplayModeRelease

func CGDisplayModeRelease(mode unsafe.Pointer)

func CGDisplayModeRetain

func CGDisplayModeRetain(mode unsafe.Pointer) unsafe.Pointer

func CGDisplayModelNumber

func CGDisplayModelNumber(display uint32) uint32

func CGDisplayPixelsHigh

func CGDisplayPixelsHigh(display uint32) uint

func CGDisplayPixelsWide

func CGDisplayPixelsWide(display uint32) uint

func CGDisplayPrimaryDisplay

func CGDisplayPrimaryDisplay(display uint32) uint32

func CGDisplayRestoreColorSyncSettings

func CGDisplayRestoreColorSyncSettings()

func CGDisplayRotation

func CGDisplayRotation(display uint32) float64

func CGDisplayScreenSize

func CGDisplayScreenSize(display uint32) corefoundation.CGSize

func CGDisplaySerialNumber

func CGDisplaySerialNumber(display uint32) uint32

func CGDisplayUnitNumber

func CGDisplayUnitNumber(display uint32) uint32

func CGDisplayUsesOpenGLAcceleration

func CGDisplayUsesOpenGLAcceleration(display uint32) int

func CGDisplayVendorNumber

func CGDisplayVendorNumber(display uint32) uint32

func CGEXRToneMappingGammaGetDefaultOptions

func CGEXRToneMappingGammaGetDefaultOptions() unsafe.Pointer

func CGErrorSetCallback

func CGErrorSetCallback(callback unsafe.Pointer)

func CGEventCreate

func CGEventCreate(source unsafe.Pointer) unsafe.Pointer

func CGEventCreateCopy

func CGEventCreateCopy(event unsafe.Pointer) unsafe.Pointer

func CGEventCreateData

func CGEventCreateData(allocator unsafe.Pointer, event unsafe.Pointer) unsafe.Pointer

func CGEventCreateFromData

func CGEventCreateFromData(allocator unsafe.Pointer, data unsafe.Pointer) unsafe.Pointer

func CGEventCreateKeyboardEvent

func CGEventCreateKeyboardEvent(source unsafe.Pointer, virtualKey uint16, keyDown bool) unsafe.Pointer

func CGEventCreateMouseEvent

func CGEventCreateMouseEvent(source unsafe.Pointer, mouseType CGEventType, mouseCursorPosition corefoundation.CGPoint, mouseButton CGMouseButton) unsafe.Pointer

func CGEventCreateScrollWheelEvent2

func CGEventCreateScrollWheelEvent2(source unsafe.Pointer, units CGScrollEventUnit, wheelCount uint32, wheel1 int32, wheel2 int32, wheel3 int32) unsafe.Pointer

func CGEventCreateSourceFromEvent

func CGEventCreateSourceFromEvent(event unsafe.Pointer) unsafe.Pointer

func CGEventGetDoubleValueField

func CGEventGetDoubleValueField(event unsafe.Pointer, field CGEventField) float64

func CGEventGetIntegerValueField

func CGEventGetIntegerValueField(event unsafe.Pointer, field CGEventField) int64

func CGEventGetLocation

func CGEventGetLocation(event unsafe.Pointer) corefoundation.CGPoint

func CGEventGetTimestamp

func CGEventGetTimestamp(event unsafe.Pointer) uint64

func CGEventGetTypeID

func CGEventGetTypeID() uint

func CGEventGetUnflippedLocation

func CGEventGetUnflippedLocation(event unsafe.Pointer) corefoundation.CGPoint

func CGEventKeyboardGetUnicodeString

func CGEventKeyboardGetUnicodeString(event unsafe.Pointer, maxStringLength uint, actualStringLength *uint, unicodeString *uint16)

func CGEventKeyboardSetUnicodeString

func CGEventKeyboardSetUnicodeString(event unsafe.Pointer, stringLength uint, unicodeString *uint16)

func CGEventPost

func CGEventPost(tap CGEventTapLocation, event unsafe.Pointer)

func CGEventPostToPSN

func CGEventPostToPSN(processSerialNumber unsafe.Pointer, event unsafe.Pointer)

func CGEventPostToPid

func CGEventPostToPid(pid int, event unsafe.Pointer)

func CGEventSetDoubleValueField

func CGEventSetDoubleValueField(event unsafe.Pointer, field CGEventField, value float64)

func CGEventSetFlags

func CGEventSetFlags(event unsafe.Pointer, flags CGEventFlags)

func CGEventSetIntegerValueField

func CGEventSetIntegerValueField(event unsafe.Pointer, field CGEventField, value int64)

func CGEventSetLocation

func CGEventSetLocation(event unsafe.Pointer, location corefoundation.CGPoint)

func CGEventSetSource

func CGEventSetSource(event unsafe.Pointer, source unsafe.Pointer)

func CGEventSetTimestamp

func CGEventSetTimestamp(event unsafe.Pointer, timestamp uint64)

func CGEventSetType

func CGEventSetType(event unsafe.Pointer, type_ CGEventType)

func CGEventSourceButtonState

func CGEventSourceButtonState(stateID CGEventSourceStateID, button CGMouseButton) bool

func CGEventSourceCounterForEventType

func CGEventSourceCounterForEventType(stateID CGEventSourceStateID, eventType CGEventType) uint32

func CGEventSourceCreate

func CGEventSourceCreate(stateID CGEventSourceStateID) unsafe.Pointer

func CGEventSourceGetKeyboardType

func CGEventSourceGetKeyboardType(source unsafe.Pointer) uint32

func CGEventSourceGetLocalEventsSuppressionInterval

func CGEventSourceGetLocalEventsSuppressionInterval(source unsafe.Pointer) float64

func CGEventSourceGetPixelsPerLine

func CGEventSourceGetPixelsPerLine(source unsafe.Pointer) float64

func CGEventSourceGetTypeID

func CGEventSourceGetTypeID() uint

func CGEventSourceGetUserData

func CGEventSourceGetUserData(source unsafe.Pointer) int64

func CGEventSourceKeyState

func CGEventSourceKeyState(stateID CGEventSourceStateID, key uint16) bool

func CGEventSourceSecondsSinceLastEventType

func CGEventSourceSecondsSinceLastEventType(stateID CGEventSourceStateID, eventType CGEventType) float64

func CGEventSourceSetKeyboardType

func CGEventSourceSetKeyboardType(source unsafe.Pointer, keyboardType uint32)

func CGEventSourceSetLocalEventsFilterDuringSuppressionState

func CGEventSourceSetLocalEventsFilterDuringSuppressionState(source unsafe.Pointer, filter CGEventFilterMask, state CGEventSuppressionState)

func CGEventSourceSetLocalEventsSuppressionInterval

func CGEventSourceSetLocalEventsSuppressionInterval(source unsafe.Pointer, seconds float64)

func CGEventSourceSetPixelsPerLine

func CGEventSourceSetPixelsPerLine(source unsafe.Pointer, pixelsPerLine float64)

func CGEventSourceSetUserData

func CGEventSourceSetUserData(source unsafe.Pointer, userData int64)

func CGEventTapCreate

func CGEventTapCreate(tap CGEventTapLocation, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) unsafe.Pointer

func CGEventTapCreateForPSN

func CGEventTapCreateForPSN(processSerialNumber unsafe.Pointer, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) unsafe.Pointer

func CGEventTapCreateForPid

func CGEventTapCreateForPid(pid int, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) unsafe.Pointer

func CGEventTapEnable

func CGEventTapEnable(tap unsafe.Pointer, enable bool)

func CGEventTapIsEnabled

func CGEventTapIsEnabled(tap unsafe.Pointer) bool

func CGEventTapPostEvent

func CGEventTapPostEvent(proxy unsafe.Pointer, event unsafe.Pointer)

func CGFontCanCreatePostScriptSubset

func CGFontCanCreatePostScriptSubset(font unsafe.Pointer, format CGFontPostScriptFormat) bool

func CGFontCopyFullName

func CGFontCopyFullName(font unsafe.Pointer) unsafe.Pointer

func CGFontCopyGlyphNameForGlyph

func CGFontCopyGlyphNameForGlyph(font unsafe.Pointer, glyph uint16) unsafe.Pointer

func CGFontCopyPostScriptName

func CGFontCopyPostScriptName(font unsafe.Pointer) unsafe.Pointer

func CGFontCopyTableForTag

func CGFontCopyTableForTag(font unsafe.Pointer, tag uint32) unsafe.Pointer

func CGFontCopyTableTags

func CGFontCopyTableTags(font unsafe.Pointer) unsafe.Pointer

func CGFontCopyVariationAxes

func CGFontCopyVariationAxes(font unsafe.Pointer) unsafe.Pointer

func CGFontCopyVariations

func CGFontCopyVariations(font unsafe.Pointer) unsafe.Pointer

func CGFontCreateCopyWithVariations

func CGFontCreateCopyWithVariations(font unsafe.Pointer, variations unsafe.Pointer) unsafe.Pointer

func CGFontCreatePostScriptEncoding

func CGFontCreatePostScriptEncoding(font unsafe.Pointer, encoding *uint16) unsafe.Pointer

func CGFontCreatePostScriptSubset

func CGFontCreatePostScriptSubset(font unsafe.Pointer, subsetName unsafe.Pointer, format CGFontPostScriptFormat, glyphs *uint16, count uint, encoding *uint16) unsafe.Pointer

func CGFontCreateWithDataProvider

func CGFontCreateWithDataProvider(provider unsafe.Pointer) unsafe.Pointer

func CGFontCreateWithFontName

func CGFontCreateWithFontName(name unsafe.Pointer) unsafe.Pointer

func CGFontCreateWithPlatformFont deprecated

func CGFontCreateWithPlatformFont(platformFontReference unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func CGFontGetAscent

func CGFontGetAscent(font unsafe.Pointer) int

func CGFontGetCapHeight

func CGFontGetCapHeight(font unsafe.Pointer) int

func CGFontGetDescent

func CGFontGetDescent(font unsafe.Pointer) int

func CGFontGetFontBBox

func CGFontGetFontBBox(font unsafe.Pointer) corefoundation.CGRect

func CGFontGetGlyphAdvances

func CGFontGetGlyphAdvances(font unsafe.Pointer, glyphs *uint16, count uint, advances *int32) bool

func CGFontGetGlyphBBoxes

func CGFontGetGlyphBBoxes(font unsafe.Pointer, glyphs *uint16, count uint, bboxes *corefoundation.CGRect) bool

func CGFontGetGlyphWithGlyphName

func CGFontGetGlyphWithGlyphName(font unsafe.Pointer, name unsafe.Pointer) uint16

func CGFontGetItalicAngle

func CGFontGetItalicAngle(font unsafe.Pointer) float64

func CGFontGetLeading

func CGFontGetLeading(font unsafe.Pointer) int

func CGFontGetNumberOfGlyphs

func CGFontGetNumberOfGlyphs(font unsafe.Pointer) uint

func CGFontGetStemV

func CGFontGetStemV(font unsafe.Pointer) float64

func CGFontGetTypeID

func CGFontGetTypeID() uint

func CGFontGetUnitsPerEm

func CGFontGetUnitsPerEm(font unsafe.Pointer) int

func CGFontGetXHeight

func CGFontGetXHeight(font unsafe.Pointer) int

func CGFontRelease

func CGFontRelease(font unsafe.Pointer)

func CGFontRetain

func CGFontRetain(font unsafe.Pointer) unsafe.Pointer

func CGFunctionCreate

func CGFunctionCreate(info unsafe.Pointer, domainDimension uint, domain *float64, rangeDimension uint, range_ *float64, callbacks *CGFunctionCallbacks) unsafe.Pointer

func CGFunctionGetTypeID

func CGFunctionGetTypeID() uint

func CGFunctionRelease

func CGFunctionRelease(function unsafe.Pointer)

func CGFunctionRetain

func CGFunctionRetain(function unsafe.Pointer) unsafe.Pointer

func CGGetLastMouseDelta

func CGGetLastMouseDelta(deltaX *int32, deltaY *int32)

func CGGradientCreateWithColorComponents

func CGGradientCreateWithColorComponents(space unsafe.Pointer, components *float64, locations *float64, count uint) unsafe.Pointer

func CGGradientCreateWithColors

func CGGradientCreateWithColors(space unsafe.Pointer, colors unsafe.Pointer, locations *float64) unsafe.Pointer

func CGGradientCreateWithContentHeadroom

func CGGradientCreateWithContentHeadroom(headroom float32, space unsafe.Pointer, components *float64, locations *float64, count uint) unsafe.Pointer

func CGGradientGetContentHeadroom

func CGGradientGetContentHeadroom(gradient unsafe.Pointer) float32

func CGGradientGetTypeID

func CGGradientGetTypeID() uint

func CGGradientRelease

func CGGradientRelease(gradient unsafe.Pointer)

func CGGradientRetain

func CGGradientRetain(gradient unsafe.Pointer) unsafe.Pointer

func CGImageCalculateContentAverageLightLevel

func CGImageCalculateContentAverageLightLevel(image unsafe.Pointer) float32

func CGImageCalculateContentHeadroom

func CGImageCalculateContentHeadroom(image unsafe.Pointer) float32

func CGImageContainsImageSpecificToneMappingMetadata

func CGImageContainsImageSpecificToneMappingMetadata(image unsafe.Pointer) bool

func CGImageCreate

func CGImageCreate(width uint, height uint, bitsPerComponent uint, bitsPerPixel uint, bytesPerRow uint, space unsafe.Pointer, bitmapInfo CGBitmapInfo, provider unsafe.Pointer, decode *float64, shouldInterpolate bool, intent CGColorRenderingIntent) unsafe.Pointer

func CGImageCreateCopy

func CGImageCreateCopy(image unsafe.Pointer) unsafe.Pointer

func CGImageCreateCopyWithCalculatedHDRStats

func CGImageCreateCopyWithCalculatedHDRStats(image unsafe.Pointer) unsafe.Pointer

func CGImageCreateCopyWithColorSpace

func CGImageCreateCopyWithColorSpace(image unsafe.Pointer, space unsafe.Pointer) unsafe.Pointer

func CGImageCreateCopyWithContentAverageLightLevel

func CGImageCreateCopyWithContentAverageLightLevel(image unsafe.Pointer, avll float32) unsafe.Pointer

func CGImageCreateCopyWithContentHeadroom

func CGImageCreateCopyWithContentHeadroom(headroom float32, image unsafe.Pointer) unsafe.Pointer

func CGImageCreateWithContentHeadroom

func CGImageCreateWithContentHeadroom(headroom float32, width uint, height uint, bitsPerComponent uint, bitsPerPixel uint, bytesPerRow uint, space unsafe.Pointer, bitmapInfo CGBitmapInfo, provider unsafe.Pointer, decode *float64, shouldInterpolate bool, intent CGColorRenderingIntent) unsafe.Pointer

func CGImageCreateWithImageInRect

func CGImageCreateWithImageInRect(image unsafe.Pointer, rect corefoundation.CGRect) unsafe.Pointer

func CGImageCreateWithJPEGDataProvider

func CGImageCreateWithJPEGDataProvider(source unsafe.Pointer, decode *float64, shouldInterpolate bool, intent CGColorRenderingIntent) unsafe.Pointer

func CGImageCreateWithMask

func CGImageCreateWithMask(image unsafe.Pointer, mask unsafe.Pointer) unsafe.Pointer

func CGImageCreateWithMaskingColors

func CGImageCreateWithMaskingColors(image unsafe.Pointer, components *float64) unsafe.Pointer

func CGImageCreateWithPNGDataProvider

func CGImageCreateWithPNGDataProvider(source unsafe.Pointer, decode *float64, shouldInterpolate bool, intent CGColorRenderingIntent) unsafe.Pointer

func CGImageGetBitsPerComponent

func CGImageGetBitsPerComponent(image unsafe.Pointer) uint

func CGImageGetBitsPerPixel

func CGImageGetBitsPerPixel(image unsafe.Pointer) uint

func CGImageGetBytesPerRow

func CGImageGetBytesPerRow(image unsafe.Pointer) uint

func CGImageGetColorSpace

func CGImageGetColorSpace(image unsafe.Pointer) unsafe.Pointer

func CGImageGetContentAverageLightLevel

func CGImageGetContentAverageLightLevel(image unsafe.Pointer) float32

func CGImageGetContentHeadroom

func CGImageGetContentHeadroom(image unsafe.Pointer) float32

func CGImageGetDataProvider

func CGImageGetDataProvider(image unsafe.Pointer) unsafe.Pointer

func CGImageGetDecode

func CGImageGetDecode(image unsafe.Pointer) *float64

func CGImageGetHeight

func CGImageGetHeight(image unsafe.Pointer) uint

func CGImageGetShouldInterpolate

func CGImageGetShouldInterpolate(image unsafe.Pointer) bool

func CGImageGetTypeID

func CGImageGetTypeID() uint

func CGImageGetUTType

func CGImageGetUTType(image unsafe.Pointer) unsafe.Pointer

func CGImageGetWidth

func CGImageGetWidth(image unsafe.Pointer) uint

func CGImageIsMask

func CGImageIsMask(image unsafe.Pointer) bool

func CGImageMaskCreate

func CGImageMaskCreate(width uint, height uint, bitsPerComponent uint, bitsPerPixel uint, bytesPerRow uint, provider unsafe.Pointer, decode *float64, shouldInterpolate bool) unsafe.Pointer

func CGImageRelease

func CGImageRelease(image unsafe.Pointer)

func CGImageRetain

func CGImageRetain(image unsafe.Pointer) unsafe.Pointer

func CGImageShouldToneMap

func CGImageShouldToneMap(image unsafe.Pointer) bool

func CGLayerCreateWithContext

func CGLayerCreateWithContext(context_ unsafe.Pointer, size corefoundation.CGSize, auxiliaryInfo unsafe.Pointer) unsafe.Pointer

func CGLayerGetContext

func CGLayerGetContext(layer unsafe.Pointer) unsafe.Pointer

func CGLayerGetSize

func CGLayerGetSize(layer unsafe.Pointer) corefoundation.CGSize

func CGLayerGetTypeID

func CGLayerGetTypeID() uint

func CGLayerRelease

func CGLayerRelease(layer unsafe.Pointer)

func CGLayerRetain

func CGLayerRetain(layer unsafe.Pointer) unsafe.Pointer

func CGMainDisplayID

func CGMainDisplayID() uint32

func CGOpenGLDisplayMaskToDisplayID

func CGOpenGLDisplayMaskToDisplayID(mask uint32) uint32

func CGPDFArrayApplyBlock

func CGPDFArrayApplyBlock(array unsafe.Pointer, block func(uint, unsafe.Pointer, unsafe.Pointer) bool, info unsafe.Pointer)

func CGPDFArrayGetArray

func CGPDFArrayGetArray(array unsafe.Pointer, index uint, value unsafe.Pointer) bool

func CGPDFArrayGetBoolean

func CGPDFArrayGetBoolean(array unsafe.Pointer, index uint, value *uint8) bool

func CGPDFArrayGetCount

func CGPDFArrayGetCount(array unsafe.Pointer) uint

func CGPDFArrayGetDictionary

func CGPDFArrayGetDictionary(array unsafe.Pointer, index uint, value unsafe.Pointer) bool

func CGPDFArrayGetInteger

func CGPDFArrayGetInteger(array unsafe.Pointer, index uint, value *int) bool

func CGPDFArrayGetName

func CGPDFArrayGetName(array unsafe.Pointer, index uint, value string) bool

func CGPDFArrayGetNull

func CGPDFArrayGetNull(array unsafe.Pointer, index uint) bool

func CGPDFArrayGetNumber

func CGPDFArrayGetNumber(array unsafe.Pointer, index uint, value *float64) bool

func CGPDFArrayGetObject

func CGPDFArrayGetObject(array unsafe.Pointer, index uint, value unsafe.Pointer) bool

func CGPDFArrayGetStream

func CGPDFArrayGetStream(array unsafe.Pointer, index uint, value unsafe.Pointer) bool

func CGPDFArrayGetString

func CGPDFArrayGetString(array unsafe.Pointer, index uint, value unsafe.Pointer) bool

func CGPDFContentStreamCreateWithPage

func CGPDFContentStreamCreateWithPage(page unsafe.Pointer) unsafe.Pointer

func CGPDFContentStreamCreateWithStream

func CGPDFContentStreamCreateWithStream(stream unsafe.Pointer, streamResources unsafe.Pointer, parent unsafe.Pointer) unsafe.Pointer

func CGPDFContentStreamGetResource

func CGPDFContentStreamGetResource(cs unsafe.Pointer, category string, name string) unsafe.Pointer

func CGPDFContentStreamGetStreams

func CGPDFContentStreamGetStreams(cs unsafe.Pointer) unsafe.Pointer

func CGPDFContentStreamRelease

func CGPDFContentStreamRelease(cs unsafe.Pointer)

func CGPDFContentStreamRetain

func CGPDFContentStreamRetain(cs unsafe.Pointer) unsafe.Pointer

func CGPDFContextAddDestinationAtPoint

func CGPDFContextAddDestinationAtPoint(context_ unsafe.Pointer, name unsafe.Pointer, point corefoundation.CGPoint)

func CGPDFContextAddDocumentMetadata

func CGPDFContextAddDocumentMetadata(context_ unsafe.Pointer, metadata unsafe.Pointer)

func CGPDFContextBeginPage

func CGPDFContextBeginPage(context_ unsafe.Pointer, pageInfo unsafe.Pointer)

func CGPDFContextBeginTag

func CGPDFContextBeginTag(context_ unsafe.Pointer, tagType CGPDFTagType, tagProperties unsafe.Pointer)

func CGPDFContextClose

func CGPDFContextClose(context_ unsafe.Pointer)

func CGPDFContextCreate

func CGPDFContextCreate(consumer unsafe.Pointer, mediaBox *corefoundation.CGRect, auxiliaryInfo unsafe.Pointer) unsafe.Pointer

func CGPDFContextCreateWithURL

func CGPDFContextCreateWithURL(url unsafe.Pointer, mediaBox *corefoundation.CGRect, auxiliaryInfo unsafe.Pointer) unsafe.Pointer

func CGPDFContextEndPage

func CGPDFContextEndPage(context_ unsafe.Pointer)

func CGPDFContextEndTag

func CGPDFContextEndTag(context_ unsafe.Pointer)

func CGPDFContextSetDestinationForRect

func CGPDFContextSetDestinationForRect(context_ unsafe.Pointer, name unsafe.Pointer, rect corefoundation.CGRect)

func CGPDFContextSetIDTree

func CGPDFContextSetIDTree(context_ unsafe.Pointer, iDTreeDictionary unsafe.Pointer)

func CGPDFContextSetOutline

func CGPDFContextSetOutline(context_ unsafe.Pointer, outline unsafe.Pointer)

func CGPDFContextSetPageTagStructureTree

func CGPDFContextSetPageTagStructureTree(context_ unsafe.Pointer, pageTagStructureTreeDictionary unsafe.Pointer)

func CGPDFContextSetParentTree

func CGPDFContextSetParentTree(context_ unsafe.Pointer, parentTreeDictionary unsafe.Pointer)

func CGPDFContextSetURLForRect

func CGPDFContextSetURLForRect(context_ unsafe.Pointer, url unsafe.Pointer, rect corefoundation.CGRect)

func CGPDFDictionaryApplyBlock

func CGPDFDictionaryApplyBlock(dict unsafe.Pointer, block func(string, unsafe.Pointer, unsafe.Pointer) bool, info unsafe.Pointer)

func CGPDFDictionaryApplyFunction

func CGPDFDictionaryApplyFunction(dict unsafe.Pointer, function unsafe.Pointer, info unsafe.Pointer)

func CGPDFDictionaryGetArray

func CGPDFDictionaryGetArray(dict unsafe.Pointer, key string, value unsafe.Pointer) bool

func CGPDFDictionaryGetBoolean

func CGPDFDictionaryGetBoolean(dict unsafe.Pointer, key string, value *uint8) bool

func CGPDFDictionaryGetCount

func CGPDFDictionaryGetCount(dict unsafe.Pointer) uint

func CGPDFDictionaryGetDictionary

func CGPDFDictionaryGetDictionary(dict unsafe.Pointer, key string, value unsafe.Pointer) bool

func CGPDFDictionaryGetInteger

func CGPDFDictionaryGetInteger(dict unsafe.Pointer, key string, value *int) bool

func CGPDFDictionaryGetName

func CGPDFDictionaryGetName(dict unsafe.Pointer, key string, value string) bool

func CGPDFDictionaryGetNumber

func CGPDFDictionaryGetNumber(dict unsafe.Pointer, key string, value *float64) bool

func CGPDFDictionaryGetObject

func CGPDFDictionaryGetObject(dict unsafe.Pointer, key string, value unsafe.Pointer) bool

func CGPDFDictionaryGetStream

func CGPDFDictionaryGetStream(dict unsafe.Pointer, key string, value unsafe.Pointer) bool

func CGPDFDictionaryGetString

func CGPDFDictionaryGetString(dict unsafe.Pointer, key string, value unsafe.Pointer) bool

func CGPDFDocumentAllowsCopying

func CGPDFDocumentAllowsCopying(document unsafe.Pointer) bool

func CGPDFDocumentAllowsPrinting

func CGPDFDocumentAllowsPrinting(document unsafe.Pointer) bool

func CGPDFDocumentCreateWithProvider

func CGPDFDocumentCreateWithProvider(provider unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentCreateWithURL

func CGPDFDocumentCreateWithURL(url unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentGetArtBox deprecated

func CGPDFDocumentGetArtBox(document unsafe.Pointer, page int) corefoundation.CGRect

Deprecated: No longer supported

func CGPDFDocumentGetBleedBox deprecated

func CGPDFDocumentGetBleedBox(document unsafe.Pointer, page int) corefoundation.CGRect

Deprecated: No longer supported

func CGPDFDocumentGetCatalog

func CGPDFDocumentGetCatalog(document unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentGetCropBox deprecated

func CGPDFDocumentGetCropBox(document unsafe.Pointer, page int) corefoundation.CGRect

Deprecated: No longer supported

func CGPDFDocumentGetID

func CGPDFDocumentGetID(document unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentGetInfo

func CGPDFDocumentGetInfo(document unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentGetMediaBox deprecated

func CGPDFDocumentGetMediaBox(document unsafe.Pointer, page int) corefoundation.CGRect

Deprecated: No longer supported

func CGPDFDocumentGetNumberOfPages

func CGPDFDocumentGetNumberOfPages(document unsafe.Pointer) uint

func CGPDFDocumentGetOutline

func CGPDFDocumentGetOutline(document unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentGetPage

func CGPDFDocumentGetPage(document unsafe.Pointer, pageNumber uint) unsafe.Pointer

func CGPDFDocumentGetRotationAngle deprecated

func CGPDFDocumentGetRotationAngle(document unsafe.Pointer, page int) int

Deprecated: No longer supported

func CGPDFDocumentGetTrimBox deprecated

func CGPDFDocumentGetTrimBox(document unsafe.Pointer, page int) corefoundation.CGRect

Deprecated: No longer supported

func CGPDFDocumentGetTypeID

func CGPDFDocumentGetTypeID() uint

func CGPDFDocumentGetVersion

func CGPDFDocumentGetVersion(document unsafe.Pointer, majorVersion *int32, minorVersion *int32)

func CGPDFDocumentIsEncrypted

func CGPDFDocumentIsEncrypted(document unsafe.Pointer) bool

func CGPDFDocumentIsUnlocked

func CGPDFDocumentIsUnlocked(document unsafe.Pointer) bool

func CGPDFDocumentRelease

func CGPDFDocumentRelease(document unsafe.Pointer)

func CGPDFDocumentRetain

func CGPDFDocumentRetain(document unsafe.Pointer) unsafe.Pointer

func CGPDFDocumentUnlockWithPassword

func CGPDFDocumentUnlockWithPassword(document unsafe.Pointer, password string) bool

func CGPDFObjectGetValue

func CGPDFObjectGetValue(object unsafe.Pointer, type_ CGPDFObjectType, value unsafe.Pointer) bool

func CGPDFOperatorTableCreate

func CGPDFOperatorTableCreate() unsafe.Pointer

func CGPDFOperatorTableRelease

func CGPDFOperatorTableRelease(table unsafe.Pointer)

func CGPDFOperatorTableRetain

func CGPDFOperatorTableRetain(table unsafe.Pointer) unsafe.Pointer

func CGPDFOperatorTableSetCallback

func CGPDFOperatorTableSetCallback(table unsafe.Pointer, name string, callback unsafe.Pointer)

func CGPDFPageGetBoxRect

func CGPDFPageGetBoxRect(page unsafe.Pointer, box CGPDFBox) corefoundation.CGRect

func CGPDFPageGetDictionary

func CGPDFPageGetDictionary(page unsafe.Pointer) unsafe.Pointer

func CGPDFPageGetDocument

func CGPDFPageGetDocument(page unsafe.Pointer) unsafe.Pointer

func CGPDFPageGetDrawingTransform

func CGPDFPageGetDrawingTransform(page unsafe.Pointer, box CGPDFBox, rect corefoundation.CGRect, rotate int, preserveAspectRatio bool) corefoundation.CGAffineTransform

func CGPDFPageGetPageNumber

func CGPDFPageGetPageNumber(page unsafe.Pointer) uint

func CGPDFPageGetRotationAngle

func CGPDFPageGetRotationAngle(page unsafe.Pointer) int

func CGPDFPageGetTypeID

func CGPDFPageGetTypeID() uint

func CGPDFPageRelease

func CGPDFPageRelease(page unsafe.Pointer)

func CGPDFPageRetain

func CGPDFPageRetain(page unsafe.Pointer) unsafe.Pointer

func CGPDFScannerCreate

func CGPDFScannerCreate(cs unsafe.Pointer, table unsafe.Pointer, info unsafe.Pointer) unsafe.Pointer

func CGPDFScannerGetContentStream

func CGPDFScannerGetContentStream(scanner unsafe.Pointer) unsafe.Pointer

func CGPDFScannerPopArray

func CGPDFScannerPopArray(scanner unsafe.Pointer, value unsafe.Pointer) bool

func CGPDFScannerPopBoolean

func CGPDFScannerPopBoolean(scanner unsafe.Pointer, value *uint8) bool

func CGPDFScannerPopDictionary

func CGPDFScannerPopDictionary(scanner unsafe.Pointer, value unsafe.Pointer) bool

func CGPDFScannerPopInteger

func CGPDFScannerPopInteger(scanner unsafe.Pointer, value *int) bool

func CGPDFScannerPopName

func CGPDFScannerPopName(scanner unsafe.Pointer, value string) bool

func CGPDFScannerPopNumber

func CGPDFScannerPopNumber(scanner unsafe.Pointer, value *float64) bool

func CGPDFScannerPopObject

func CGPDFScannerPopObject(scanner unsafe.Pointer, value unsafe.Pointer) bool

func CGPDFScannerPopStream

func CGPDFScannerPopStream(scanner unsafe.Pointer, value unsafe.Pointer) bool

func CGPDFScannerPopString

func CGPDFScannerPopString(scanner unsafe.Pointer, value unsafe.Pointer) bool

func CGPDFScannerRelease

func CGPDFScannerRelease(scanner unsafe.Pointer)

func CGPDFScannerRetain

func CGPDFScannerRetain(scanner unsafe.Pointer) unsafe.Pointer

func CGPDFScannerScan

func CGPDFScannerScan(scanner unsafe.Pointer) bool

func CGPDFScannerStop

func CGPDFScannerStop(s unsafe.Pointer)

func CGPDFStreamCopyData

func CGPDFStreamCopyData(stream unsafe.Pointer, format *CGPDFDataFormat) unsafe.Pointer

func CGPDFStreamGetDictionary

func CGPDFStreamGetDictionary(stream unsafe.Pointer) unsafe.Pointer

func CGPDFStringCopyDate

func CGPDFStringCopyDate(string_ unsafe.Pointer) unsafe.Pointer

func CGPDFStringCopyTextString

func CGPDFStringCopyTextString(string_ unsafe.Pointer) unsafe.Pointer

func CGPDFStringGetBytePtr

func CGPDFStringGetBytePtr(string_ unsafe.Pointer) unsafe.Pointer

func CGPDFStringGetLength

func CGPDFStringGetLength(string_ unsafe.Pointer) uint

func CGPDFTagTypeGetName

func CGPDFTagTypeGetName(tagType CGPDFTagType) string

func CGPSConverterAbort

func CGPSConverterAbort(converter unsafe.Pointer) bool

func CGPSConverterConvert

func CGPSConverterConvert(converter unsafe.Pointer, provider unsafe.Pointer, consumer unsafe.Pointer, options unsafe.Pointer) bool

func CGPSConverterCreate

func CGPSConverterCreate(info unsafe.Pointer, callbacks *CGPSConverterCallbacks, options unsafe.Pointer) unsafe.Pointer

func CGPSConverterGetTypeID

func CGPSConverterGetTypeID() uint

func CGPSConverterIsConverting

func CGPSConverterIsConverting(converter unsafe.Pointer) bool

func CGPathAddArc

func CGPathAddArc(path unsafe.Pointer, m *corefoundation.CGAffineTransform, x float64, y float64, radius float64, startAngle float64, endAngle float64, clockwise bool)

func CGPathAddArcToPoint

func CGPathAddArcToPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, x1 float64, y1 float64, x2 float64, y2 float64, radius float64)

func CGPathAddCurveToPoint

func CGPathAddCurveToPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, cp1x float64, cp1y float64, cp2x float64, cp2y float64, x float64, y float64)

func CGPathAddLineToPoint

func CGPathAddLineToPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, x float64, y float64)

func CGPathAddLines

func CGPathAddLines(path unsafe.Pointer, m *corefoundation.CGAffineTransform, points *corefoundation.CGPoint, count uint)

func CGPathAddPath

func CGPathAddPath(path1 unsafe.Pointer, m *corefoundation.CGAffineTransform, path2 unsafe.Pointer)

func CGPathAddQuadCurveToPoint

func CGPathAddQuadCurveToPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, cpx float64, cpy float64, x float64, y float64)

func CGPathAddRects

func CGPathAddRects(path unsafe.Pointer, m *corefoundation.CGAffineTransform, rects *corefoundation.CGRect, count uint)

func CGPathAddRelativeArc

func CGPathAddRelativeArc(path unsafe.Pointer, matrix *corefoundation.CGAffineTransform, x float64, y float64, radius float64, startAngle float64, delta float64)

func CGPathAddRoundedRect

func CGPathAddRoundedRect(path unsafe.Pointer, transform *corefoundation.CGAffineTransform, rect corefoundation.CGRect, cornerWidth float64, cornerHeight float64)

func CGPathApply

func CGPathApply(path unsafe.Pointer, info unsafe.Pointer, function unsafe.Pointer)

func CGPathApplyWithBlock

func CGPathApplyWithBlock(path unsafe.Pointer, block func(*CGPathElement))

func CGPathCloseSubpath

func CGPathCloseSubpath(path unsafe.Pointer)

func CGPathContainsPoint

func CGPathContainsPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, point corefoundation.CGPoint, eoFill bool) bool

func CGPathCreateCopy

func CGPathCreateCopy(path unsafe.Pointer) unsafe.Pointer

func CGPathCreateCopyByDashingPath

func CGPathCreateCopyByDashingPath(path unsafe.Pointer, transform *corefoundation.CGAffineTransform, phase float64, lengths *float64, count uint) unsafe.Pointer

func CGPathCreateCopyByFlattening

func CGPathCreateCopyByFlattening(path unsafe.Pointer, flatteningThreshold float64) unsafe.Pointer

func CGPathCreateCopyByIntersectingPath

func CGPathCreateCopyByIntersectingPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyByNormalizing

func CGPathCreateCopyByNormalizing(path unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyByStrokingPath

func CGPathCreateCopyByStrokingPath(path unsafe.Pointer, transform *corefoundation.CGAffineTransform, lineWidth float64, lineCap CGLineCap, lineJoin CGLineJoin, miterLimit float64) unsafe.Pointer

func CGPathCreateCopyBySubtractingPath

func CGPathCreateCopyBySubtractingPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyBySymmetricDifferenceOfPath

func CGPathCreateCopyBySymmetricDifferenceOfPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyByTransformingPath

func CGPathCreateCopyByTransformingPath(path unsafe.Pointer, transform *corefoundation.CGAffineTransform) unsafe.Pointer

func CGPathCreateCopyByUnioningPath

func CGPathCreateCopyByUnioningPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyOfLineByIntersectingPath

func CGPathCreateCopyOfLineByIntersectingPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateCopyOfLineBySubtractingPath

func CGPathCreateCopyOfLineBySubtractingPath(path unsafe.Pointer, maskPath unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateMutable

func CGPathCreateMutable() unsafe.Pointer

func CGPathCreateMutableCopy

func CGPathCreateMutableCopy(path unsafe.Pointer) unsafe.Pointer

func CGPathCreateMutableCopyByTransformingPath

func CGPathCreateMutableCopyByTransformingPath(path unsafe.Pointer, transform *corefoundation.CGAffineTransform) unsafe.Pointer

func CGPathCreateSeparateComponents

func CGPathCreateSeparateComponents(path unsafe.Pointer, evenOddFillRule bool) unsafe.Pointer

func CGPathCreateWithEllipseInRect

func CGPathCreateWithEllipseInRect(rect corefoundation.CGRect, transform *corefoundation.CGAffineTransform) unsafe.Pointer

func CGPathCreateWithRect

func CGPathCreateWithRect(rect corefoundation.CGRect, transform *corefoundation.CGAffineTransform) unsafe.Pointer

func CGPathCreateWithRoundedRect

func CGPathCreateWithRoundedRect(rect corefoundation.CGRect, cornerWidth float64, cornerHeight float64, transform *corefoundation.CGAffineTransform) unsafe.Pointer

func CGPathEqualToPath

func CGPathEqualToPath(path1 unsafe.Pointer, path2 unsafe.Pointer) bool

func CGPathGetBoundingBox

func CGPathGetBoundingBox(path unsafe.Pointer) corefoundation.CGRect

func CGPathGetCurrentPoint

func CGPathGetCurrentPoint(path unsafe.Pointer) corefoundation.CGPoint

func CGPathGetPathBoundingBox

func CGPathGetPathBoundingBox(path unsafe.Pointer) corefoundation.CGRect

func CGPathGetTypeID

func CGPathGetTypeID() uint

func CGPathIntersectsPath

func CGPathIntersectsPath(path1 unsafe.Pointer, path2 unsafe.Pointer, evenOddFillRule bool) bool

func CGPathIsEmpty

func CGPathIsEmpty(path unsafe.Pointer) bool

func CGPathIsRect

func CGPathIsRect(path unsafe.Pointer, rect *corefoundation.CGRect) bool

func CGPathMoveToPoint

func CGPathMoveToPoint(path unsafe.Pointer, m *corefoundation.CGAffineTransform, x float64, y float64)

func CGPathRelease

func CGPathRelease(path unsafe.Pointer)

func CGPathRetain

func CGPathRetain(path unsafe.Pointer) unsafe.Pointer

func CGPatternCreate

func CGPatternCreate(info unsafe.Pointer, bounds corefoundation.CGRect, matrix corefoundation.CGAffineTransform, xStep float64, yStep float64, tiling CGPatternTiling, isColored bool, callbacks *CGPatternCallbacks) unsafe.Pointer

func CGPatternGetTypeID

func CGPatternGetTypeID() uint

func CGPatternRelease

func CGPatternRelease(pattern unsafe.Pointer)

func CGPatternRetain

func CGPatternRetain(pattern unsafe.Pointer) unsafe.Pointer

func CGPointCreateDictionaryRepresentation

func CGPointCreateDictionaryRepresentation(point corefoundation.CGPoint) unsafe.Pointer

func CGPointEqualToPoint

func CGPointEqualToPoint(point1 corefoundation.CGPoint, point2 corefoundation.CGPoint) bool

func CGPointMake

func CGPointMake(x float64, y float64) corefoundation.CGPoint

func CGPointMakeWithDictionaryRepresentation

func CGPointMakeWithDictionaryRepresentation(dict unsafe.Pointer, point *corefoundation.CGPoint) bool

func CGPointZero

func CGPointZero() corefoundation.CGPoint

func CGPreflightListenEventAccess

func CGPreflightListenEventAccess() bool

func CGPreflightPostEventAccess

func CGPreflightPostEventAccess() bool

func CGPreflightScreenCaptureAccess

func CGPreflightScreenCaptureAccess() bool

func CGRectContainsPoint

func CGRectContainsPoint(rect corefoundation.CGRect, point corefoundation.CGPoint) bool

func CGRectContainsRect

func CGRectContainsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool

func CGRectCreateDictionaryRepresentation

func CGRectCreateDictionaryRepresentation(arg corefoundation.CGRect) unsafe.Pointer

func CGRectDivide

func CGRectDivide(rect corefoundation.CGRect, slice *corefoundation.CGRect, remainder *corefoundation.CGRect, amount float64, edge corefoundation.CGRectEdge)

func CGRectEqualToRect

func CGRectEqualToRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool

func CGRectGetHeight

func CGRectGetHeight(rect corefoundation.CGRect) float64

func CGRectGetMaxX

func CGRectGetMaxX(rect corefoundation.CGRect) float64

func CGRectGetMaxY

func CGRectGetMaxY(rect corefoundation.CGRect) float64

func CGRectGetMidX

func CGRectGetMidX(rect corefoundation.CGRect) float64

func CGRectGetMidY

func CGRectGetMidY(rect corefoundation.CGRect) float64

func CGRectGetMinX

func CGRectGetMinX(rect corefoundation.CGRect) float64

func CGRectGetMinY

func CGRectGetMinY(rect corefoundation.CGRect) float64

func CGRectGetWidth

func CGRectGetWidth(rect corefoundation.CGRect) float64

func CGRectInfinite

func CGRectInfinite() corefoundation.CGRect

func CGRectInset

func CGRectInset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect

func CGRectIntegral

func CGRectIntegral(rect corefoundation.CGRect) corefoundation.CGRect

func CGRectIntersectsRect

func CGRectIntersectsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool

func CGRectIsEmpty

func CGRectIsEmpty(rect corefoundation.CGRect) bool

func CGRectIsInfinite

func CGRectIsInfinite(rect corefoundation.CGRect) bool

func CGRectIsNull

func CGRectIsNull(rect corefoundation.CGRect) bool

func CGRectMake

func CGRectMake(x float64, y float64, width float64, height float64) corefoundation.CGRect

func CGRectMakeWithDictionaryRepresentation

func CGRectMakeWithDictionaryRepresentation(dict unsafe.Pointer, rect *corefoundation.CGRect) bool

func CGRectNull

func CGRectNull() corefoundation.CGRect

func CGRectOffset

func CGRectOffset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect

func CGRectStandardize

func CGRectStandardize(rect corefoundation.CGRect) corefoundation.CGRect

func CGRectZero

func CGRectZero() corefoundation.CGRect

func CGReleaseScreenRefreshRects deprecated

func CGReleaseScreenRefreshRects(rects *corefoundation.CGRect)

Deprecated: No longer supported

func CGRenderingBufferLockBytePtr

func CGRenderingBufferLockBytePtr(provider unsafe.Pointer) unsafe.Pointer

func CGRenderingBufferProviderCreate

func CGRenderingBufferProviderCreate(info unsafe.Pointer, size uint, lockPointer func(unsafe.Pointer) unsafe.Pointer, unlockPointer func(unsafe.Pointer, unsafe.Pointer), releaseInfo func(unsafe.Pointer)) unsafe.Pointer

func CGRenderingBufferProviderCreateWithCFData

func CGRenderingBufferProviderCreateWithCFData(data unsafe.Pointer) unsafe.Pointer

func CGRenderingBufferProviderGetSize

func CGRenderingBufferProviderGetSize(provider unsafe.Pointer) uint

func CGRenderingBufferProviderGetTypeID

func CGRenderingBufferProviderGetTypeID() uint

func CGRenderingBufferUnlockBytePtr

func CGRenderingBufferUnlockBytePtr(provider unsafe.Pointer)

func CGRequestListenEventAccess

func CGRequestListenEventAccess() bool

func CGRequestPostEventAccess

func CGRequestPostEventAccess() bool

func CGRequestScreenCaptureAccess

func CGRequestScreenCaptureAccess() bool

func CGRestorePermanentDisplayConfiguration

func CGRestorePermanentDisplayConfiguration()

func CGScreenUnregisterMoveCallback deprecated

func CGScreenUnregisterMoveCallback(callback unsafe.Pointer, userInfo unsafe.Pointer)

Deprecated: No longer supported

func CGSessionCopyCurrentDictionary

func CGSessionCopyCurrentDictionary() unsafe.Pointer

func CGShadingCreateAxial

func CGShadingCreateAxial(space unsafe.Pointer, start corefoundation.CGPoint, end corefoundation.CGPoint, function unsafe.Pointer, extendStart bool, extendEnd bool) unsafe.Pointer

func CGShadingCreateAxialWithContentHeadroom

func CGShadingCreateAxialWithContentHeadroom(headroom float32, space unsafe.Pointer, start corefoundation.CGPoint, end corefoundation.CGPoint, function unsafe.Pointer, extendStart bool, extendEnd bool) unsafe.Pointer

func CGShadingCreateRadial

func CGShadingCreateRadial(space unsafe.Pointer, start corefoundation.CGPoint, startRadius float64, end corefoundation.CGPoint, endRadius float64, function unsafe.Pointer, extendStart bool, extendEnd bool) unsafe.Pointer

func CGShadingCreateRadialWithContentHeadroom

func CGShadingCreateRadialWithContentHeadroom(headroom float32, space unsafe.Pointer, start corefoundation.CGPoint, startRadius float64, end corefoundation.CGPoint, endRadius float64, function unsafe.Pointer, extendStart bool, extendEnd bool) unsafe.Pointer

func CGShadingGetContentHeadroom

func CGShadingGetContentHeadroom(shading unsafe.Pointer) float32

func CGShadingGetTypeID

func CGShadingGetTypeID() uint

func CGShadingRelease

func CGShadingRelease(shading unsafe.Pointer)

func CGShadingRetain

func CGShadingRetain(shading unsafe.Pointer) unsafe.Pointer

func CGShieldingWindowID

func CGShieldingWindowID(display uint32) uint32

func CGShieldingWindowLevel

func CGShieldingWindowLevel() int32

func CGSizeCreateDictionaryRepresentation

func CGSizeCreateDictionaryRepresentation(size corefoundation.CGSize) unsafe.Pointer

func CGSizeEqualToSize

func CGSizeEqualToSize(size1 corefoundation.CGSize, size2 corefoundation.CGSize) bool

func CGSizeMake

func CGSizeMake(width float64, height float64) corefoundation.CGSize

func CGSizeMakeWithDictionaryRepresentation

func CGSizeMakeWithDictionaryRepresentation(dict unsafe.Pointer, size *corefoundation.CGSize) bool

func CGSizeZero

func CGSizeZero() corefoundation.CGSize

func CGUnregisterScreenRefreshCallback deprecated

func CGUnregisterScreenRefreshCallback(callback unsafe.Pointer, userInfo unsafe.Pointer)

Deprecated: No longer supported

func CGVectorMake

func CGVectorMake(dx float64, dy float64) corefoundation.CGVector

func CGWindowLevelForKey

func CGWindowLevelForKey(key CGWindowLevelKey) int32

func CGWindowListCopyWindowInfo

func CGWindowListCopyWindowInfo(option CGWindowListOption, relativeToWindow uint32) unsafe.Pointer

func CGWindowListCreate

func CGWindowListCreate(option CGWindowListOption, relativeToWindow uint32) unsafe.Pointer

func CGWindowListCreateDescriptionFromArray

func CGWindowListCreateDescriptionFromArray(windowArray unsafe.Pointer) unsafe.Pointer

func CGWindowListCreateImage

func CGWindowListCreateImage(screenBounds corefoundation.CGRect, listOption CGWindowListOption, windowID uint32, imageOption CGWindowImageOption) unsafe.Pointer

func CGWindowListCreateImageFromArray

func CGWindowListCreateImageFromArray(screenBounds corefoundation.CGRect, windowArray unsafe.Pointer, imageOption CGWindowImageOption) unsafe.Pointer

func CGWindowServerCFMachPort deprecated

func CGWindowServerCFMachPort() unsafe.Pointer

Deprecated: No longer supported

func CGWindowServerCreateServerPort

func CGWindowServerCreateServerPort() unsafe.Pointer

func KCGAdaptiveMaximumBitDepth

func KCGAdaptiveMaximumBitDepth() uintptr

func KCGColorBlack

func KCGColorBlack() uintptr

func KCGColorClear

func KCGColorClear() uintptr

func KCGColorConversionBlackPointCompensation

func KCGColorConversionBlackPointCompensation() uintptr

func KCGColorConversionTRCSize

func KCGColorConversionTRCSize() uintptr

func KCGColorSpaceACESCGLinear

func KCGColorSpaceACESCGLinear() uintptr

func KCGColorSpaceAdobeRGB1998

func KCGColorSpaceAdobeRGB1998() uintptr

func KCGColorSpaceCoreMedia709

func KCGColorSpaceCoreMedia709() uintptr

func KCGColorSpaceDCIP3

func KCGColorSpaceDCIP3() uintptr

func KCGColorSpaceDisplayP3

func KCGColorSpaceDisplayP3() uintptr

func KCGColorSpaceDisplayP3_HLG

func KCGColorSpaceDisplayP3_HLG() uintptr

func KCGColorSpaceDisplayP3_PQ

func KCGColorSpaceDisplayP3_PQ() uintptr

func KCGColorSpaceDisplayP3_PQ_EOTF deprecated

func KCGColorSpaceDisplayP3_PQ_EOTF() uintptr

Deprecated: No longer supported

func KCGColorSpaceExtendedDisplayP3

func KCGColorSpaceExtendedDisplayP3() uintptr

func KCGColorSpaceExtendedGray

func KCGColorSpaceExtendedGray() uintptr

func KCGColorSpaceExtendedITUR_2020

func KCGColorSpaceExtendedITUR_2020() uintptr

func KCGColorSpaceExtendedLinearDisplayP3

func KCGColorSpaceExtendedLinearDisplayP3() uintptr

func KCGColorSpaceExtendedLinearGray

func KCGColorSpaceExtendedLinearGray() uintptr

func KCGColorSpaceExtendedLinearITUR_2020

func KCGColorSpaceExtendedLinearITUR_2020() uintptr

func KCGColorSpaceExtendedLinearSRGB

func KCGColorSpaceExtendedLinearSRGB() uintptr

func KCGColorSpaceExtendedRange

func KCGColorSpaceExtendedRange() uintptr

func KCGColorSpaceExtendedSRGB

func KCGColorSpaceExtendedSRGB() uintptr

func KCGColorSpaceGenericCMYK

func KCGColorSpaceGenericCMYK() uintptr

func KCGColorSpaceGenericGray

func KCGColorSpaceGenericGray() uintptr

func KCGColorSpaceGenericGrayGamma2_2

func KCGColorSpaceGenericGrayGamma2_2() uintptr

func KCGColorSpaceGenericLab

func KCGColorSpaceGenericLab() uintptr

func KCGColorSpaceGenericRGB

func KCGColorSpaceGenericRGB() uintptr

func KCGColorSpaceGenericRGBLinear

func KCGColorSpaceGenericRGBLinear() uintptr

func KCGColorSpaceGenericXYZ

func KCGColorSpaceGenericXYZ() uintptr

func KCGColorSpaceITUR_709

func KCGColorSpaceITUR_709() uintptr

func KCGColorSpaceITUR_709_HLG

func KCGColorSpaceITUR_709_HLG() uintptr

func KCGColorSpaceITUR_709_PQ

func KCGColorSpaceITUR_709_PQ() uintptr

func KCGColorSpaceITUR_2020

func KCGColorSpaceITUR_2020() uintptr

func KCGColorSpaceITUR_2020_HLG deprecated

func KCGColorSpaceITUR_2020_HLG() uintptr

Deprecated: No longer supported

func KCGColorSpaceITUR_2020_PQ deprecated

func KCGColorSpaceITUR_2020_PQ() uintptr

Deprecated: No longer supported

func KCGColorSpaceITUR_2020_PQ_EOTF deprecated

func KCGColorSpaceITUR_2020_PQ_EOTF() uintptr

Deprecated: No longer supported

func KCGColorSpaceITUR_2020_sRGBGamma

func KCGColorSpaceITUR_2020_sRGBGamma() uintptr

func KCGColorSpaceITUR_2100_HLG

func KCGColorSpaceITUR_2100_HLG() uintptr

func KCGColorSpaceITUR_2100_PQ

func KCGColorSpaceITUR_2100_PQ() uintptr

func KCGColorSpaceLinearDisplayP3

func KCGColorSpaceLinearDisplayP3() uintptr

func KCGColorSpaceLinearGray

func KCGColorSpaceLinearGray() uintptr

func KCGColorSpaceLinearITUR_2020

func KCGColorSpaceLinearITUR_2020() uintptr

func KCGColorSpaceLinearSRGB

func KCGColorSpaceLinearSRGB() uintptr

func KCGColorSpaceROMMRGB

func KCGColorSpaceROMMRGB() uintptr

func KCGColorSpaceSRGB

func KCGColorSpaceSRGB() uintptr

func KCGColorWhite

func KCGColorWhite() uintptr

func KCGContentAverageLightLevel

func KCGContentAverageLightLevel() uintptr

func KCGContentAverageLightLevelNits

func KCGContentAverageLightLevelNits() uintptr

func KCGDefaultHDRImageContentHeadroom

func KCGDefaultHDRImageContentHeadroom() float32

func KCGDisplayShowDuplicateLowResolutionModes

func KCGDisplayShowDuplicateLowResolutionModes() uintptr

func KCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995

func KCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995() uintptr

func KCGDynamicRangeConstrained

func KCGDynamicRangeConstrained() uintptr

func KCGDynamicRangeHigh

func KCGDynamicRangeHigh() uintptr

func KCGDynamicRangeStandard

func KCGDynamicRangeStandard() uintptr

func KCGEXRToneMappingGammaDefog

func KCGEXRToneMappingGammaDefog() uintptr

func KCGEXRToneMappingGammaExposure

func KCGEXRToneMappingGammaExposure() uintptr

func KCGEXRToneMappingGammaKneeHigh

func KCGEXRToneMappingGammaKneeHigh() uintptr

func KCGEXRToneMappingGammaKneeLow

func KCGEXRToneMappingGammaKneeLow() uintptr

func KCGFontVariationAxisDefaultValue

func KCGFontVariationAxisDefaultValue() uintptr

func KCGFontVariationAxisMaxValue

func KCGFontVariationAxisMaxValue() uintptr

func KCGFontVariationAxisMinValue

func KCGFontVariationAxisMinValue() uintptr

func KCGFontVariationAxisName

func KCGFontVariationAxisName() uintptr

func KCGPDFContextAccessPermissions

func KCGPDFContextAccessPermissions() uintptr

func KCGPDFContextAllowsCopying

func KCGPDFContextAllowsCopying() uintptr

func KCGPDFContextAllowsPrinting

func KCGPDFContextAllowsPrinting() uintptr

func KCGPDFContextArtBox

func KCGPDFContextArtBox() uintptr

func KCGPDFContextAuthor

func KCGPDFContextAuthor() uintptr

func KCGPDFContextBleedBox

func KCGPDFContextBleedBox() uintptr

func KCGPDFContextCreateLinearizedPDF

func KCGPDFContextCreateLinearizedPDF() uintptr

func KCGPDFContextCreatePDFA

func KCGPDFContextCreatePDFA() uintptr

func KCGPDFContextCreator

func KCGPDFContextCreator() uintptr

func KCGPDFContextCropBox

func KCGPDFContextCropBox() uintptr

func KCGPDFContextEncryptionKeyLength

func KCGPDFContextEncryptionKeyLength() uintptr

func KCGPDFContextKeywords

func KCGPDFContextKeywords() uintptr

func KCGPDFContextMediaBox

func KCGPDFContextMediaBox() uintptr

func KCGPDFContextOutputIntent

func KCGPDFContextOutputIntent() uintptr

func KCGPDFContextOutputIntents

func KCGPDFContextOutputIntents() uintptr

func KCGPDFContextOwnerPassword

func KCGPDFContextOwnerPassword() uintptr

func KCGPDFContextSubject

func KCGPDFContextSubject() uintptr

func KCGPDFContextTitle

func KCGPDFContextTitle() uintptr

func KCGPDFContextTrimBox

func KCGPDFContextTrimBox() uintptr

func KCGPDFContextUserPassword

func KCGPDFContextUserPassword() uintptr

func KCGPDFOutlineChildren

func KCGPDFOutlineChildren() uintptr

func KCGPDFOutlineDestination

func KCGPDFOutlineDestination() uintptr

func KCGPDFOutlineDestinationRect

func KCGPDFOutlineDestinationRect() uintptr

func KCGPDFOutlineTitle

func KCGPDFOutlineTitle() uintptr

func KCGPDFTagPropertyActualText

func KCGPDFTagPropertyActualText() uintptr

func KCGPDFTagPropertyAlternativeText

func KCGPDFTagPropertyAlternativeText() uintptr

func KCGPDFTagPropertyLanguageText

func KCGPDFTagPropertyLanguageText() uintptr

func KCGPDFTagPropertyTitleText

func KCGPDFTagPropertyTitleText() uintptr

func KCGPDFXDestinationOutputProfile

func KCGPDFXDestinationOutputProfile() uintptr

func KCGPDFXInfo

func KCGPDFXInfo() uintptr

func KCGPDFXOutputCondition

func KCGPDFXOutputCondition() uintptr

func KCGPDFXOutputConditionIdentifier

func KCGPDFXOutputConditionIdentifier() uintptr

func KCGPDFXOutputIntentSubtype

func KCGPDFXOutputIntentSubtype() uintptr

func KCGPDFXRegistryName

func KCGPDFXRegistryName() uintptr

func KCGPreferredDynamicRange

func KCGPreferredDynamicRange() uintptr

func KCGSkipBoostToHDR

func KCGSkipBoostToHDR() uintptr

func KCGUse100nitsHLGOOTF

func KCGUse100nitsHLGOOTF() uintptr

func KCGUseBT1886ForCoreVideoGamma

func KCGUseBT1886ForCoreVideoGamma() uintptr

func KCGUseLegacyHDREcosystem

func KCGUseLegacyHDREcosystem() uintptr

func KCGWindowAlpha

func KCGWindowAlpha() uintptr

func KCGWindowBackingLocationVideoMemory

func KCGWindowBackingLocationVideoMemory() uintptr

func KCGWindowBounds

func KCGWindowBounds() uintptr

func KCGWindowIsOnscreen

func KCGWindowIsOnscreen() uintptr

func KCGWindowLayer

func KCGWindowLayer() uintptr

func KCGWindowMemoryUsage

func KCGWindowMemoryUsage() uintptr

func KCGWindowName

func KCGWindowName() uintptr

func KCGWindowNumber

func KCGWindowNumber() uintptr

func KCGWindowOwnerName

func KCGWindowOwnerName() uintptr

func KCGWindowOwnerPID

func KCGWindowOwnerPID() uintptr

func KCGWindowSharingState

func KCGWindowSharingState() uintptr

func KCGWindowStoreType

func KCGWindowStoreType() uintptr

func KCGWindowWorkspace deprecated

func KCGWindowWorkspace() uintptr

Deprecated: No longer supported

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGBitmapInfo

type CGBitmapInfo int64

Component information for a bitmap image.

const (
	KCGBitmapAlphaInfoMask       CGBitmapInfo = 31
	KCGBitmapComponentInfoMask   CGBitmapInfo = 3840
	KCGBitmapByteOrderInfoMask   CGBitmapInfo = 28672
	KCGBitmapPixelFormatInfoMask CGBitmapInfo = 983040
	KCGBitmapFloatInfoMask       CGBitmapInfo = 3840
	KCGBitmapByteOrderMask       CGBitmapInfo = 28672
	// The components of a bitmap are floating-point values.
	KCGBitmapFloatComponents CGBitmapInfo = 256
	// The default byte order.
	KCGBitmapByteOrderDefault CGBitmapInfo = 0
	// 16-bit, little endian format.
	KCGBitmapByteOrder16Little CGBitmapInfo = 4096
	// 32-bit, little endian format.
	KCGBitmapByteOrder32Little CGBitmapInfo = 8192
	// 16-bit, big endian format.
	KCGBitmapByteOrder16Big CGBitmapInfo = 12288
	// 32-bit, big endian format.
	KCGBitmapByteOrder32Big CGBitmapInfo = 16384
)

func CGBitmapContextGetBitmapInfo

func CGBitmapContextGetBitmapInfo(context_ unsafe.Pointer) CGBitmapInfo

func CGBitmapInfoMake

func CGBitmapInfoMake(alpha CGImageAlphaInfo, component CGImageComponentInfo, byteOrder CGImageByteOrderInfo, pixelFormat CGImagePixelFormatInfo) CGBitmapInfo

func CGImageGetBitmapInfo

func CGImageGetBitmapInfo(image unsafe.Pointer) CGBitmapInfo

func (CGBitmapInfo) String

func (e CGBitmapInfo) String() string

type CGBitmapLayout

type CGBitmapLayout int64
const (
	KCGBitmapLayoutAlphaOnly CGBitmapLayout = 0
	KCGBitmapLayoutGray      CGBitmapLayout = 1
	KCGBitmapLayoutGrayAlpha CGBitmapLayout = 2
	KCGBitmapLayoutRGBA      CGBitmapLayout = 3
	KCGBitmapLayoutARGB      CGBitmapLayout = 4
	KCGBitmapLayoutRGBX      CGBitmapLayout = 5
	KCGBitmapLayoutXRGB      CGBitmapLayout = 6
	KCGBitmapLayoutBGRA      CGBitmapLayout = 7
	KCGBitmapLayoutBGRX      CGBitmapLayout = 8
	KCGBitmapLayoutABGR      CGBitmapLayout = 9
	KCGBitmapLayoutXBGR      CGBitmapLayout = 10
	KCGBitmapLayoutCMYK      CGBitmapLayout = 11
)

func (CGBitmapLayout) String

func (e CGBitmapLayout) String() string

type CGBitmapParameters

type CGBitmapParameters struct {
	Width                 uint
	Height                uint
	BytesPerPixel         uint
	AlignedBytesPerRow    uint
	Component             CGComponent
	Layout                CGBitmapLayout
	Format                CGImagePixelFormatInfo
	ColorSpace            unsafe.Pointer
	HasPremultipliedAlpha bool
	ByteOrder             int
	EdrTargetHeadroom     float32
}

type CGBlendMode

type CGBlendMode int64

Compositing operations for images.

const (
	// Paints the source image samples over the background image samples.
	KCGBlendModeNormal CGBlendMode = 0
	// Multiplies the source image samples with the background image samples. This results in colors that are at least as dark as either of the two contributing sample colors.
	KCGBlendModeMultiply CGBlendMode = 1
	// Multiplies the inverse of the source image samples with the inverse of the background image samples, resulting in colors that are at least as light as either of the two contributing sample colors.
	KCGBlendModeScreen  CGBlendMode = 2
	KCGBlendModeOverlay CGBlendMode = 3
	KCGBlendModeDarken  CGBlendMode = 4
	KCGBlendModeLighten CGBlendMode = 5
	// Brightens the background image samples to reflect the source image samples. Source image sample values that specify black do not produce a change.
	KCGBlendModeColorDodge CGBlendMode = 6
	// Darkens the background image samples to reflect the source image samples. Source image sample values that specify white do not produce a change.
	KCGBlendModeColorBurn  CGBlendMode = 7
	KCGBlendModeSoftLight  CGBlendMode = 8
	KCGBlendModeHardLight  CGBlendMode = 9
	KCGBlendModeDifference CGBlendMode = 10
	// Produces an effect similar to that produced by kCGBlendModeDifference, but with lower contrast. Source image sample values that are black don’t produce a change; white inverts the background color values.
	KCGBlendModeExclusion CGBlendMode = 11
	// Uses the luminance and saturation values of the background with the hue of the source image.
	KCGBlendModeHue CGBlendMode = 12
	// Uses the luminance and hue values of the background with the saturation of the source image. Areas of the background that have no saturation (that is, pure gray areas) don’t produce a change.
	KCGBlendModeSaturation CGBlendMode = 13
	// Uses the luminance values of the background with the hue and saturation values of the source image. This mode preserves the gray levels in the image. You can use this mode to color monochrome images or to tint color images.
	KCGBlendModeColor CGBlendMode = 14
	// Uses the hue and saturation of the background with the luminance of the source image. This mode creates an effect that is inverse to the effect created by kCGBlendModeColor.
	KCGBlendModeLuminosity CGBlendMode = 15
	// R = 0
	KCGBlendModeClear CGBlendMode = 16
	// R = S
	KCGBlendModeCopy CGBlendMode = 17
	// R = S*Da
	KCGBlendModeSourceIn CGBlendMode = 18
	// R = S*(1 - Da)
	KCGBlendModeSourceOut CGBlendMode = 19
	// R = S*Da + D*(1 - Sa)
	KCGBlendModeSourceAtop CGBlendMode = 20
	// R = S*(1 - Da) + D
	KCGBlendModeDestinationOver CGBlendMode = 21
	// R = D*Sa
	KCGBlendModeDestinationIn CGBlendMode = 22
	// R = D*(1 - Sa)
	KCGBlendModeDestinationOut CGBlendMode = 23
	// R = S*(1 - Da) + D*Sa
	KCGBlendModeDestinationAtop CGBlendMode = 24
	// R = S*(1 - Da) + D*(1 - Sa). This XOR mode is only nominally related to the classical bitmap XOR operation, which is not supported by Core Graphics
	KCGBlendModeXOR CGBlendMode = 25
	// R = MAX(0, 1 - ((1 - D) + (1 - S)))
	KCGBlendModePlusDarker CGBlendMode = 26
	// R = MIN(1, S + D)
	KCGBlendModePlusLighter CGBlendMode = 27
)

func (CGBlendMode) String

func (e CGBlendMode) String() string

type CGCaptureOptions

type CGCaptureOptions int64

Configuration parameters that are used when capturing displays.

const (
	// The system should use the default fill behavior, which is fill with black.
	KCGCaptureNoOptions CGCaptureOptions = 0
	// Disables fill with black.
	KCGCaptureNoFill CGCaptureOptions = 1
)

func (CGCaptureOptions) String

func (e CGCaptureOptions) String() string

type CGColor

type CGColor struct{}

A set of components that define a color, with a color space specifying how to interpret them. CGColor is an opaque type.

type CGColorBufferFormat

type CGColorBufferFormat struct {
	Version          uint32
	BitmapInfo       CGBitmapInfo
	BitsPerComponent uint
	BitsPerPixel     uint
	BytesPerRow      uint
}

type CGColorConversionInfo

type CGColorConversionInfo struct{}

An object that describes how to convert between color spaces for use by other system services. CGColorConversionInfo is an opaque type.

type CGColorConversionInfoTransformType

type CGColorConversionInfoTransformType int64

Constants describing how a color conversion uses color spaces.

const (
	// Specifies a color conversion from a device color space to a color profile.
	KCGColorConversionTransformFromSpace CGColorConversionInfoTransformType = 0
	// Specifies a color conversion from a color profile to a device color space.
	KCGColorConversionTransformToSpace CGColorConversionInfoTransformType = 1
	// Specifies a color conversion between one color profile and another.
	KCGColorConversionTransformApplySpace CGColorConversionInfoTransformType = 2
)

func (CGColorConversionInfoTransformType) String

type CGColorDataFormat

type CGColorDataFormat struct {
	Version            uint32
	Colorspace_info    unsafe.Pointer
	Bitmap_info        CGBitmapInfo
	Bits_per_component uint
	Bytes_per_row      uint
	Intent             CGColorRenderingIntent
	Decode             *float64
}

type CGColorModel

type CGColorModel int64
const (
	KCGColorModelNoColorant CGColorModel = 0
	KCGColorModelGray       CGColorModel = 1
	KCGColorModelRGB        CGColorModel = 2
	KCGColorModelCMYK       CGColorModel = 4
	KCGColorModelLab        CGColorModel = 8
	KCGColorModelDeviceN    CGColorModel = 16
)

func (CGColorModel) String

func (e CGColorModel) String() string

type CGColorRenderingIntent

type CGColorRenderingIntent int64

Handling options for colors that are not located within the destination color space of a graphics context.

const (
	// The default rendering intent for the graphics context.
	KCGRenderingIntentDefault              CGColorRenderingIntent = 0
	KCGRenderingIntentAbsoluteColorimetric CGColorRenderingIntent = 1
	KCGRenderingIntentRelativeColorimetric CGColorRenderingIntent = 2
	// Preserve the visual relationship between colors by compressing the gamut of the graphics context to fit inside the gamut of the output device. Perceptual intent is good for photographs and other complex, detailed images.
	KCGRenderingIntentPerceptual CGColorRenderingIntent = 3
	KCGRenderingIntentSaturation CGColorRenderingIntent = 4
)

func CGImageGetRenderingIntent

func CGImageGetRenderingIntent(image unsafe.Pointer) CGColorRenderingIntent

func (CGColorRenderingIntent) String

func (e CGColorRenderingIntent) String() string

type CGColorSpace

type CGColorSpace struct{}

A profile that specifies how to interpret a color value for display. CGColorSpace is an opaque type.

type CGColorSpaceModel

type CGColorSpaceModel int64

Models for color spaces.

const (
	// An unknown color space model.
	KCGColorSpaceModelUnknown CGColorSpaceModel = -1
	// A monochrome color space model.
	KCGColorSpaceModelMonochrome CGColorSpaceModel = 0
	// An RGB color space model.
	KCGColorSpaceModelRGB CGColorSpaceModel = 1
	// A CMYK color space model.
	KCGColorSpaceModelCMYK CGColorSpaceModel = 2
	// A Lab color space model.
	KCGColorSpaceModelLab CGColorSpaceModel = 3
	// A DeviceN color space model.
	KCGColorSpaceModelDeviceN CGColorSpaceModel = 4
	// An indexed color space model.
	KCGColorSpaceModelIndexed CGColorSpaceModel = 5
	// A pattern color space model.
	KCGColorSpaceModelPattern CGColorSpaceModel = 6
	// An XYZ color space model.
	KCGColorSpaceModelXYZ CGColorSpaceModel = 7
)

func CGColorSpaceGetModel

func CGColorSpaceGetModel(space unsafe.Pointer) CGColorSpaceModel

func (CGColorSpaceModel) String

func (e CGColorSpaceModel) String() string

type CGComponent

type CGComponent int64
const (
	KCGComponentUnknown      CGComponent = 0
	KCGComponentInteger8Bit  CGComponent = 1
	KCGComponentInteger10Bit CGComponent = 6
	KCGComponentInteger16Bit CGComponent = 2
	KCGComponentInteger32Bit CGComponent = 3
	KCGComponentFloat16Bit   CGComponent = 5
	KCGComponentFloat32Bit   CGComponent = 4
)

func (CGComponent) String

func (e CGComponent) String() string

type CGConfigureOption

type CGConfigureOption int64

The scope of the changes in a display configuration transaction.

const (
	// Changes persist for the lifetime of the current application. After the application terminates, the display configuration settings revert to the current login session.
	KCGConfigureForAppOnly CGConfigureOption = 0
	// Changes persist for the lifetime of the current login session. After the current session terminates, the displays revert to the last saved permanent configuration.
	KCGConfigureForSession  CGConfigureOption = 1
	KCGConfigurePermanently CGConfigureOption = 2
)

func (CGConfigureOption) String

func (e CGConfigureOption) String() string

type CGContentInfo

type CGContentInfo struct {
	DeepestImageComponent  CGComponent
	ContentColorModels     CGColorModel
	HasWideGamut           bool
	HasTransparency        bool
	LargestContentHeadroom float32
}

type CGContentToneMappingInfo

type CGContentToneMappingInfo struct {
	Method  CGToneMapping
	Options unsafe.Pointer
}

func CGContextGetContentToneMappingInfo

func CGContextGetContentToneMappingInfo(c unsafe.Pointer) CGContentToneMappingInfo

type CGContext

type CGContext struct{}

A Quartz 2D drawing environment. CGContext is an opaque type.

type CGDataConsumer

type CGDataConsumer struct{}

An abstraction for data-writing tasks that eliminates the need to manage a raw memory buffer. CGDataConsumer is an opaque type.

type CGDataConsumerCallbacks

type CGDataConsumerCallbacks struct {
	PutBytes        unsafe.Pointer
	ReleaseConsumer unsafe.Pointer
}

A structure that contains pointers to callback functions that manage the copying of data for a data consumer.

type CGDataProvider

type CGDataProvider struct{}

An abstraction for data-reading tasks that eliminates the need to manage a raw memory buffer. CGDataProvider is an opaque type.

type CGDataProviderDirectCallbacks

type CGDataProviderDirectCallbacks struct {
	Version            uint
	GetBytePointer     unsafe.Pointer
	ReleaseBytePointer unsafe.Pointer
	GetBytesAtPosition unsafe.Pointer
	ReleaseInfo        unsafe.Pointer
}

Defines pointers to client-defined callback functions that manage the sending of data for a direct-access data provider.

type CGDataProviderSequentialCallbacks

type CGDataProviderSequentialCallbacks struct {
	Version     uint
	GetBytes    unsafe.Pointer
	SkipForward unsafe.Pointer
	Rewind      unsafe.Pointer
	ReleaseInfo unsafe.Pointer
}

Defines a structure containing pointers to client-defined callback functions that manage the sending of data for a sequential-access data provider.

type CGDeviceColor

type CGDeviceColor struct {
	Red   float32
	Green float32
	Blue  float32
}

type CGDisplayChangeSummaryFlags

type CGDisplayChangeSummaryFlags int64

The configuration parameters that are passed to a display reconfiguration callback function.

const (
	// The display configuration is about to change.
	KCGDisplayBeginConfigurationFlag CGDisplayChangeSummaryFlags = 1
	// The location of the upper-left corner of the display in the global display coordinate space has changed.
	KCGDisplayMovedFlag CGDisplayChangeSummaryFlags = 2
	// The display is now the main display.
	KCGDisplaySetMainFlag CGDisplayChangeSummaryFlags = 4
	// The display mode has changed.
	KCGDisplaySetModeFlag CGDisplayChangeSummaryFlags = 8
	// The display has been added to the active display list.
	KCGDisplayAddFlag CGDisplayChangeSummaryFlags = 16
	// The display has been removed from the active display list.
	KCGDisplayRemoveFlag CGDisplayChangeSummaryFlags = 32
	// The display has been enabled.
	KCGDisplayEnabledFlag CGDisplayChangeSummaryFlags = 256
	// The display has been disabled.
	KCGDisplayDisabledFlag CGDisplayChangeSummaryFlags = 512
	// The display is now mirroring another display.
	KCGDisplayMirrorFlag CGDisplayChangeSummaryFlags = 1024
	// The display is no longer mirroring another display.
	KCGDisplayUnMirrorFlag            CGDisplayChangeSummaryFlags = 2048
	KCGDisplayDesktopShapeChangedFlag CGDisplayChangeSummaryFlags = 4096
)

func (CGDisplayChangeSummaryFlags) String

type CGDisplayConfigRef

type CGDisplayConfigRef struct{}

C struct: _CGDisplayConfigRef CGDisplayConfigRef is an opaque type.

type CGDisplayMode

type CGDisplayMode struct{}

A reference to a display mode object. CGDisplayMode is an opaque type.

type CGDisplayStream

type CGDisplayStream struct{}

A reference to a display stream object. CGDisplayStream is an opaque type.

type CGDisplayStreamFrameStatus

type CGDisplayStreamFrameStatus int64

Describes a frame update event.

const (
	// A new frame was generated.
	KCGDisplayStreamFrameStatusFrameComplete CGDisplayStreamFrameStatus = 0
	// A new frame was not generated because the display did not change.
	KCGDisplayStreamFrameStatusFrameIdle CGDisplayStreamFrameStatus = 1
	// A new frame was not generated because the display has gone blank.
	KCGDisplayStreamFrameStatusFrameBlank CGDisplayStreamFrameStatus = 2
	// The display stream was stopped.
	KCGDisplayStreamFrameStatusStopped CGDisplayStreamFrameStatus = 3
)

func (CGDisplayStreamFrameStatus) String

type CGDisplayStreamUpdate

type CGDisplayStreamUpdate struct{}

A reference to frame update’s metadata. CGDisplayStreamUpdate is an opaque type.

type CGDisplayStreamUpdateRectType

type CGDisplayStreamUpdateRectType int64

Use these constants to determine which rectangles your app is interested in.

const (
	// The rectangles for the portions of the display that were redrawn.
	KCGDisplayStreamUpdateRefreshedRects CGDisplayStreamUpdateRectType = 0
	// The rectangles for the portions of the display that were simply moved from one part of the display to another.
	KCGDisplayStreamUpdateMovedRects CGDisplayStreamUpdateRectType = 1
	// The union of both rectangles that were redrawn and rectangles that were moved.
	KCGDisplayStreamUpdateDirtyRects CGDisplayStreamUpdateRectType = 2
	// The union is calculated and then simplified. This reduces the number of rectangles returned to your app, but it may report some pixels that were not actually changed.
	KCGDisplayStreamUpdateReducedDirtyRects CGDisplayStreamUpdateRectType = 3
)

func (CGDisplayStreamUpdateRectType) String

type CGError

type CGError int64

A uniform type for result codes returned by functions in Core Graphics.

const (
	// The requested operation was completed successfully.
	KCGErrorSuccess CGError = 0
	// A general failure occurred.
	KCGErrorFailure CGError = 1000
	// One or more of the parameters passed to a function are invalid. Check for NULL pointers.
	KCGErrorIllegalArgument CGError = 1001
	// The parameter representing a connection to the window server is invalid.
	KCGErrorInvalidConnection CGError = 1002
	// The CPSProcessSerNum or context identifier parameter is not valid.
	KCGErrorInvalidContext CGError = 1003
	// The requested operation is inappropriate for the parameters passed in, or the current system state.
	KCGErrorCannotComplete CGError = 1004
	// Return value from obsolete function stubs present for binary compatibility, but not typically called.
	KCGErrorNotImplemented CGError = 1006
	// A parameter passed in has a value that is inappropriate, or which does not map to a useful operation or value.
	KCGErrorRangeCheck CGError = 1007
	// A data type or token was encountered that did not match the expected type or token.
	KCGErrorTypeCheck CGError = 1008
	// The requested operation is not valid for the parameters passed in, or the current system state.
	KCGErrorInvalidOperation CGError = 1010
	// The requested operation could not be completed as the indicated resources were not found.
	KCGErrorNoneAvailable CGError = 1011
)

func CGAcquireDisplayFadeReservation

func CGAcquireDisplayFadeReservation(seconds float32, token *uint32) CGError

func CGAssociateMouseAndMouseCursorPosition

func CGAssociateMouseAndMouseCursorPosition(connected int) CGError

func CGBeginDisplayConfiguration

func CGBeginDisplayConfiguration(config unsafe.Pointer) CGError

func CGCancelDisplayConfiguration

func CGCancelDisplayConfiguration(config unsafe.Pointer) CGError

func CGCaptureAllDisplays

func CGCaptureAllDisplays() CGError

func CGCaptureAllDisplaysWithOptions

func CGCaptureAllDisplaysWithOptions(options CGCaptureOptions) CGError

func CGCompleteDisplayConfiguration

func CGCompleteDisplayConfiguration(config unsafe.Pointer, option CGConfigureOption) CGError

func CGConfigureDisplayFadeEffect

func CGConfigureDisplayFadeEffect(config unsafe.Pointer, fadeOutSeconds float32, fadeInSeconds float32, fadeRed float32, fadeGreen float32, fadeBlue float32) CGError

func CGConfigureDisplayMirrorOfDisplay

func CGConfigureDisplayMirrorOfDisplay(config unsafe.Pointer, display uint32, master uint32) CGError

func CGConfigureDisplayMode deprecated

func CGConfigureDisplayMode(config unsafe.Pointer, display uint32, mode unsafe.Pointer) CGError

Deprecated: No longer supported

func CGConfigureDisplayOrigin

func CGConfigureDisplayOrigin(config unsafe.Pointer, display uint32, x int32, y int32) CGError

func CGConfigureDisplayStereoOperation

func CGConfigureDisplayStereoOperation(config unsafe.Pointer, display uint32, stereo int, forceBlueLine int) CGError

func CGConfigureDisplayWithDisplayMode

func CGConfigureDisplayWithDisplayMode(config unsafe.Pointer, display uint32, mode unsafe.Pointer, options unsafe.Pointer) CGError

func CGDisplayCapture

func CGDisplayCapture(display uint32) CGError

func CGDisplayCaptureWithOptions

func CGDisplayCaptureWithOptions(display uint32, options CGCaptureOptions) CGError

func CGDisplayFade

func CGDisplayFade(token uint32, duration float32, startBlend float32, endBlend float32, redBlend float32, greenBlend float32, blueBlend float32, synchronous int) CGError

func CGDisplayHideCursor

func CGDisplayHideCursor(display uint32) CGError

func CGDisplayMoveCursorToPoint

func CGDisplayMoveCursorToPoint(display uint32, point corefoundation.CGPoint) CGError

func CGDisplayRegisterReconfigurationCallback

func CGDisplayRegisterReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError

func CGDisplayRelease

func CGDisplayRelease(display uint32) CGError

func CGDisplayRemoveReconfigurationCallback

func CGDisplayRemoveReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError

func CGDisplaySetDisplayMode

func CGDisplaySetDisplayMode(display uint32, mode unsafe.Pointer, options unsafe.Pointer) CGError

func CGDisplaySetStereoOperation

func CGDisplaySetStereoOperation(display uint32, stereo int, forceBlueLine int, option CGConfigureOption) CGError

func CGDisplayShowCursor

func CGDisplayShowCursor(display uint32) CGError

func CGDisplaySwitchToMode deprecated

func CGDisplaySwitchToMode(display uint32, mode unsafe.Pointer) CGError

Deprecated: No longer supported

func CGEnableEventStateCombining deprecated

func CGEnableEventStateCombining(combineState int) CGError

Deprecated: No longer supported

func CGGetActiveDisplayList

func CGGetActiveDisplayList(maxDisplays uint32, activeDisplays *uint32, displayCount *uint32) CGError

func CGGetDisplayTransferByFormula

func CGGetDisplayTransferByFormula(display uint32, redMin *float32, redMax *float32, redGamma *float32, greenMin *float32, greenMax *float32, greenGamma *float32, blueMin *float32, blueMax *float32, blueGamma *float32) CGError

func CGGetDisplayTransferByTable

func CGGetDisplayTransferByTable(display uint32, capacity uint32, redTable *float32, greenTable *float32, blueTable *float32, sampleCount *uint32) CGError

func CGGetDisplaysWithOpenGLDisplayMask

func CGGetDisplaysWithOpenGLDisplayMask(mask uint32, maxDisplays uint32, displays *uint32, matchingDisplayCount *uint32) CGError

func CGGetDisplaysWithPoint

func CGGetDisplaysWithPoint(point corefoundation.CGPoint, maxDisplays uint32, displays *uint32, matchingDisplayCount *uint32) CGError

func CGGetDisplaysWithRect

func CGGetDisplaysWithRect(rect corefoundation.CGRect, maxDisplays uint32, displays *uint32, matchingDisplayCount *uint32) CGError

func CGGetEventTapList

func CGGetEventTapList(maxNumberOfTaps uint32, tapList *CGEventTapInformation, eventTapCount *uint32) CGError

func CGGetOnlineDisplayList

func CGGetOnlineDisplayList(maxDisplays uint32, onlineDisplays *uint32, displayCount *uint32) CGError

func CGInhibitLocalEvents deprecated

func CGInhibitLocalEvents(inhibit int) CGError

Deprecated: No longer supported

func CGPostKeyboardEvent deprecated

func CGPostKeyboardEvent(keyChar uint16, virtualKey uint16, keyDown int) CGError

Deprecated: No longer supported

func CGRegisterScreenRefreshCallback deprecated

func CGRegisterScreenRefreshCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError

Deprecated: No longer supported

func CGReleaseAllDisplays

func CGReleaseAllDisplays() CGError

func CGReleaseDisplayFadeReservation

func CGReleaseDisplayFadeReservation(token uint32) CGError

func CGScreenRegisterMoveCallback deprecated

func CGScreenRegisterMoveCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError

Deprecated: No longer supported

func CGSetDisplayTransferByByteTable

func CGSetDisplayTransferByByteTable(display uint32, tableSize uint32, redTable *uint8, greenTable *uint8, blueTable *uint8) CGError

func CGSetDisplayTransferByFormula

func CGSetDisplayTransferByFormula(display uint32, redMin float32, redMax float32, redGamma float32, greenMin float32, greenMax float32, greenGamma float32, blueMin float32, blueMax float32, blueGamma float32) CGError

func CGSetDisplayTransferByTable

func CGSetDisplayTransferByTable(display uint32, tableSize uint32, redTable *float32, greenTable *float32, blueTable *float32) CGError

func CGSetLocalEventsFilterDuringSuppressionState deprecated

func CGSetLocalEventsFilterDuringSuppressionState(filter CGEventFilterMask, state CGEventSuppressionState) CGError

Deprecated: No longer supported

func CGSetLocalEventsSuppressionInterval deprecated

func CGSetLocalEventsSuppressionInterval(seconds float64) CGError

Deprecated: No longer supported

func CGWaitForScreenRefreshRects deprecated

func CGWaitForScreenRefreshRects(rects *corefoundation.CGRect, count *uint32) CGError

Deprecated: No longer supported

func CGWaitForScreenUpdateRects deprecated

func CGWaitForScreenUpdateRects(requestedOperations CGScreenUpdateOperation, currentOperation *CGScreenUpdateOperation, rects *corefoundation.CGRect, rectCount *uint, delta *CGScreenUpdateMoveDelta) CGError

Deprecated: No longer supported

func CGWarpMouseCursorPosition

func CGWarpMouseCursorPosition(newCursorPosition corefoundation.CGPoint) CGError

func (CGError) String

func (e CGError) String() string

type CGEvent

type CGEvent struct{}

C struct: __CGEvent CGEvent is an opaque type.

type CGEventField

type CGEventField int64

Constants used as keys to access specialized fields in low-level events.

const (
	// Key to access an integer field that contains the mouse button event number. Matching mouse-down and mouse-up events will have the same event number.
	KCGMouseEventNumber CGEventField = 0
	// Key to access an integer field that contains the mouse button click state. A click state of 1 represents a single click. A click state of 2 represents a double-click. A click state of 3 represents a triple-click.
	KCGMouseEventClickState CGEventField = 1
	// Key to access a double field that contains the mouse button pressure. The pressure value may range from 0 to 1, with 0 representing the mouse being up. This value is commonly set by tablet pens mimicking a mouse.
	KCGMouseEventPressure CGEventField = 2
	// Key to access an integer field that contains the mouse button number. For information about the possible values, see CGMouseButton.
	KCGMouseEventButtonNumber CGEventField = 3
	// Key to access an integer field that contains the horizontal mouse delta since the last mouse movement event.
	KCGMouseEventDeltaX CGEventField = 4
	// Key to access an integer field that contains the vertical mouse delta since the last mouse movement event.
	KCGMouseEventDeltaY CGEventField = 5
	// Key to access an integer field. The value is non-zero if the event should be ignored by the Inkwell subsystem.
	KCGMouseEventInstantMouser CGEventField = 6
	// Key to access an integer field that encodes the mouse event subtype as a kCFNumberIntType.
	KCGMouseEventSubtype CGEventField = 7
	// Key to access an integer field, non-zero when this is an autorepeat of a key-down, and zero otherwise.
	KCGKeyboardEventAutorepeat CGEventField = 8
	// Key to access an integer field that contains the virtual keycode of the key-down or key-up event.
	KCGKeyboardEventKeycode CGEventField = 9
	// Key to access an integer field that contains the keyboard type identifier.
	KCGKeyboardEventKeyboardType CGEventField = 10
	// Key to access an integer field that contains scrolling data. This field typically contains the change in vertical position since the last scrolling event from a Mighty Mouse scroller or a single-wheel mouse scroller.
	KCGScrollWheelEventDeltaAxis1 CGEventField = 11
	// Key to access an integer field that contains scrolling data. This field typically contains the change in horizontal position since the last scrolling event from a Mighty Mouse scroller.
	KCGScrollWheelEventDeltaAxis2 CGEventField = 12
	// This field is not used.
	KCGScrollWheelEventDeltaAxis3 CGEventField = 13
	// Key to access a field that contains scrolling data. The scrolling data represents a line-based or pixel-based change in vertical position since the last scrolling event from a Mighty Mouse scroller or a single-wheel mouse scroller. The scrolling data uses a fixed-point 16.16 signed integer format. For example, if the field contains a value of 1.0, the integer 0x00010000 is returned by CGEventGetIntegerValueField. If this key is passed to CGEventGetDoubleValueField, the fixed-point value is converted to a double value.
	KCGScrollWheelEventFixedPtDeltaAxis1 CGEventField = 93
	// Key to access a field that contains scrolling data. The scrolling data represents a line-based or pixel-based change in horizontal position since the last scrolling event from a Mighty Mouse scroller. The scrolling data uses a fixed-point 16.16 signed integer format. For example, if the field contains a value of 1.0, the integer 0x00010000 is returned by CGEventGetIntegerValueField. If this key is passed to CGEventGetDoubleValueField, the fixed-point value is converted to a double value.
	KCGScrollWheelEventFixedPtDeltaAxis2 CGEventField = 94
	// This field is not used.
	KCGScrollWheelEventFixedPtDeltaAxis3 CGEventField = 95
	// Key to access an integer field that contains pixel-based scrolling data. The scrolling data represents the change in vertical position since the last scrolling event from a Mighty Mouse scroller or a single-wheel mouse scroller.
	KCGScrollWheelEventPointDeltaAxis1 CGEventField = 96
	// Key to access an integer field that contains pixel-based scrolling data. The scrolling data represents the change in horizontal position since the last scrolling event from a Mighty Mouse scroller.
	KCGScrollWheelEventPointDeltaAxis2 CGEventField = 97
	// This field is not used.
	KCGScrollWheelEventPointDeltaAxis3 CGEventField = 98
	KCGScrollWheelEventScrollPhase     CGEventField = 99
	KCGScrollWheelEventScrollCount     CGEventField = 100
	KCGScrollWheelEventMomentumPhase   CGEventField = 123
	// Key to access an integer field that indicates whether the event should be ignored by the Inkwell subsystem. If the value is non-zero, the event should be ignored.
	KCGScrollWheelEventInstantMouser CGEventField = 14
	// Key to access an integer field that contains the absolute X coordinate in tablet space at full tablet resolution.
	KCGTabletEventPointX CGEventField = 15
	// Key to access an integer field that contains the absolute Y coordinate in tablet space at full tablet resolution.
	KCGTabletEventPointY CGEventField = 16
	// Key to access an integer field that contains the absolute Z coordinate in tablet space at full tablet resolution.
	KCGTabletEventPointZ CGEventField = 17
	// Key to access an integer field that contains the tablet button state. Bit 0 is the first button, and a set bit represents a closed or pressed button. Up to 16 buttons are supported.
	KCGTabletEventPointButtons CGEventField = 18
	// Key to access a double field that contains the tablet pen pressure. A value of 0.0 represents no pressure, and 1.0 represents maximum pressure.
	KCGTabletEventPointPressure CGEventField = 19
	// Key to access a double field that contains the horizontal tablet pen tilt. A value of 0.0 represents no tilt, and 1.0 represents maximum tilt.
	KCGTabletEventTiltX CGEventField = 20
	// Key to access a double field that contains the vertical tablet pen tilt. A value of 0.0 represents no tilt, and 1.0 represents maximum tilt.
	KCGTabletEventTiltY CGEventField = 21
	// Key to access a double field that contains the tablet pen rotation.
	KCGTabletEventRotation CGEventField = 22
	// Key to access a double field that contains the tangential pressure on the device. A value of 0.0 represents no pressure, and 1.0 represents maximum pressure.
	KCGTabletEventTangentialPressure CGEventField = 23
	// Key to access an integer field that contains the system-assigned unique device ID.
	KCGTabletEventDeviceID CGEventField = 24
	// Key to access an integer field that contains a vendor-specified value.
	KCGTabletEventVendor1 CGEventField = 25
	// Key to access an integer field that contains a vendor-specified value.
	KCGTabletEventVendor2 CGEventField = 26
	// Key to access an integer field that contains a vendor-specified value.
	KCGTabletEventVendor3 CGEventField = 27
	// Key to access an integer field that contains the vendor-defined ID, typically the USB vendor ID.
	KCGTabletProximityEventVendorID CGEventField = 28
	// Key to access an integer field that contains the vendor-defined tablet ID, typically the USB product ID.
	KCGTabletProximityEventTabletID CGEventField = 29
	// Key to access an integer field that contains the vendor-defined ID of the pointing device.
	KCGTabletProximityEventPointerID CGEventField = 30
	// Key to access an integer field that contains the system-assigned device ID.
	KCGTabletProximityEventDeviceID CGEventField = 31
	// Key to access an integer field that contains the system-assigned unique tablet ID.
	KCGTabletProximityEventSystemTabletID CGEventField = 32
	// Key to access an integer field that contains the vendor-assigned pointer type.
	KCGTabletProximityEventVendorPointerType CGEventField = 33
	// Key to access an integer field that contains the vendor-defined pointer serial number.
	KCGTabletProximityEventVendorPointerSerialNumber CGEventField = 34
	// Key to access an integer field that contains the vendor-defined unique ID.
	KCGTabletProximityEventVendorUniqueID CGEventField = 35
	// Key to access an integer field that contains the device capabilities mask.
	KCGTabletProximityEventCapabilityMask CGEventField = 36
	// Key to access an integer field that contains the pointer type.
	KCGTabletProximityEventPointerType CGEventField = 37
	// Key to access an integer field that indicates whether the pen is in proximity to the tablet. The value is non-zero if the pen is in proximity to the tablet and zero when leaving the tablet.
	KCGTabletProximityEventEnterProximity CGEventField = 38
	// Key to access a field that contains the event target process serial number. The value is a 64-bit long word.
	KCGEventTargetProcessSerialNumber CGEventField = 39
	// Key to access a field that contains the event target Unix process ID.
	KCGEventTargetUnixProcessID CGEventField = 40
	// Key to access a field that contains the event source Unix process ID.
	KCGEventSourceUnixProcessID CGEventField = 41
	// Key to access a field that contains the event source user-supplied data, up to 64 bits.
	KCGEventSourceUserData CGEventField = 42
	// Key to access a field that contains the event source Unix effective UID.
	KCGEventSourceUserID CGEventField = 43
	// Key to access a field that contains the event source Unix effective GID.
	KCGEventSourceGroupID CGEventField = 44
	// Key to access a field that contains the event source state ID used to create this event.
	KCGEventSourceStateID CGEventField = 45
	// Key to access an integer field that indicates whether a scrolling event contains continuous, pixel-based scrolling data. The value is non-zero when the scrolling data is pixel-based and zero when the scrolling data is line-based.
	KCGScrollWheelEventIsContinuous                            CGEventField = 88
	KCGMouseEventWindowUnderMousePointer                       CGEventField = 91
	KCGMouseEventWindowUnderMousePointerThatCanHandleThisEvent CGEventField = 92
	KCGEventUnacceleratedPointerMovementX                      CGEventField = 170
	KCGEventUnacceleratedPointerMovementY                      CGEventField = 171
	KCGScrollWheelEventMomentumOptionPhase                     CGEventField = 173
	KCGScrollWheelEventAcceleratedDeltaAxis1                   CGEventField = 176
	KCGScrollWheelEventAcceleratedDeltaAxis2                   CGEventField = 175
	KCGScrollWheelEventRawDeltaAxis1                           CGEventField = 178
	KCGScrollWheelEventRawDeltaAxis2                           CGEventField = 177
)

func (CGEventField) String

func (e CGEventField) String() string

type CGEventFilterMask

type CGEventFilterMask int64

Specify masks for classes of low-level events that can be filtered during event suppression states.

const (
	KCGEventFilterMaskPermitLocalMouseEvents    CGEventFilterMask = 1
	KCGEventFilterMaskPermitLocalKeyboardEvents CGEventFilterMask = 2
	KCGEventFilterMaskPermitSystemDefinedEvents CGEventFilterMask = 4
)

func CGEventSourceGetLocalEventsFilterDuringSuppressionState

func CGEventSourceGetLocalEventsFilterDuringSuppressionState(source unsafe.Pointer, state CGEventSuppressionState) CGEventFilterMask

func (CGEventFilterMask) String

func (e CGEventFilterMask) String() string

type CGEventFlags

type CGEventFlags int64

Constants that indicate the modifier key state at the time an event is created, as well as other event-related states.

const (
	// Indicates that the Caps Lock key is down for a keyboard, mouse, or flag-changed event.
	KCGEventFlagMaskAlphaShift CGEventFlags = 65536
	// Indicates that the Shift key is down for a keyboard, mouse, or flag-changed event.
	KCGEventFlagMaskShift CGEventFlags = 131072
	// Indicates that the Control key is down for a keyboard, mouse, or flag-changed event.
	KCGEventFlagMaskControl CGEventFlags = 262144
	// Indicates that the Alt or Option key is down for a keyboard, mouse, or flag-changed event.
	KCGEventFlagMaskAlternate CGEventFlags = 524288
	// Indicates that the Command key is down for a keyboard, mouse, or flag-changed event.
	KCGEventFlagMaskCommand CGEventFlags = 1048576
	// Indicates that the Help modifier key is down for a keyboard, mouse, or flag-changed event. This key is not present on most keyboards, and is different than the Help key found in the same row as Home and Page Up.
	KCGEventFlagMaskHelp CGEventFlags = 4194304
	// Indicates that the Fn (Function) key is down for a keyboard, mouse, or flag-changed event. This key is found primarily on laptop keyboards.
	KCGEventFlagMaskSecondaryFn CGEventFlags = 8388608
	// Identifies key events from the numeric keypad area on extended keyboards.
	KCGEventFlagMaskNumericPad CGEventFlags = 2097152
	// Indicates that mouse and pen movement events are not being coalesced.
	KCGEventFlagMaskNonCoalesced CGEventFlags = 256
)

func CGEventGetFlags

func CGEventGetFlags(event unsafe.Pointer) CGEventFlags

func CGEventSourceFlagsState

func CGEventSourceFlagsState(stateID CGEventSourceStateID) CGEventFlags

func (CGEventFlags) String

func (e CGEventFlags) String() string

type CGEventMouseSubtype

type CGEventMouseSubtype int64

Constants used with the kCGMouseEventSubtype event field.

const (
	// Specifies that the event is an ordinary mouse event, and does not contain additional tablet device information.
	KCGEventMouseSubtypeDefault CGEventMouseSubtype = 0
	// Specifies that the mouse event originated from a tablet device, and that the various kCGTabletEvent field selectors may be used to obtain tablet-specific data from the mouse event.
	KCGEventMouseSubtypeTabletPoint     CGEventMouseSubtype = 1
	KCGEventMouseSubtypeTabletProximity CGEventMouseSubtype = 2
)

func (CGEventMouseSubtype) String

func (e CGEventMouseSubtype) String() string

type CGEventSource

type CGEventSource struct{}

C struct: __CGEventSource CGEventSource is an opaque type.

type CGEventSourceStateID

type CGEventSourceStateID int64

Constants that specify the possible source states of an event source.

const (
	// Specifies that an event source should use a private event state table.
	KCGEventSourceStatePrivate CGEventSourceStateID = -1
	// Specifies that an event source should use the event state table that reflects the combined state of all event sources posting to the current user login session.
	KCGEventSourceStateCombinedSessionState CGEventSourceStateID = 0
	// Specifies that an event source should use the event state table that reflects the combined state of all hardware event sources posting from the HID system.
	KCGEventSourceStateHIDSystemState CGEventSourceStateID = 1
)

func CGEventSourceGetSourceStateID

func CGEventSourceGetSourceStateID(source unsafe.Pointer) CGEventSourceStateID

func (CGEventSourceStateID) String

func (e CGEventSourceStateID) String() string

type CGEventSuppressionState

type CGEventSuppressionState int64

Specify the event suppression states that can occur after posting an event.

const (
	// Specifies that certain local hardware events may be suppressed for a short interval after posting an event.
	KCGEventSuppressionStateSuppressionInterval CGEventSuppressionState = 0
	// Specifies that certain local hardware events may be suppressed during a mouse drag operation (mouse movement with the left or only mouse button down).
	KCGEventSuppressionStateRemoteMouseDrag CGEventSuppressionState = 1
	KCGNumberOfEventSuppressionStates       CGEventSuppressionState = 2
)

func (CGEventSuppressionState) String

func (e CGEventSuppressionState) String() string

type CGEventTapInformation

type CGEventTapInformation struct {
	EventTapID         uint32
	TapPoint           CGEventTapLocation
	Options            CGEventTapOptions
	EventsOfInterest   uint64
	TappingProcess     int
	ProcessBeingTapped int
	Enabled            bool
	MinUsecLatency     float32
	AvgUsecLatency     float32
	MaxUsecLatency     float32
}

C struct: __CGEventTapInformation

type CGEventTapLocation

type CGEventTapLocation int64

Constants that specify possible tapping points for events.

const (
	// Specifies that an event tap is placed at the point where HID system events enter the window server.
	KCGHIDEventTap CGEventTapLocation = 0
	// Specifies that an event tap is placed at the point where HID system and remote control events enter a login session.
	KCGSessionEventTap CGEventTapLocation = 1
	// Specifies that an event tap is placed at the point where session events have been annotated to flow to an application.
	KCGAnnotatedSessionEventTap CGEventTapLocation = 2
)

func (CGEventTapLocation) String

func (e CGEventTapLocation) String() string

type CGEventTapOptions

type CGEventTapOptions int64

Constants that specify whether a new event tap is an active filter or a passive listener.

const (
	KCGEventTapOptionDefault    CGEventTapOptions = 0
	KCGEventTapOptionListenOnly CGEventTapOptions = 1
)

func (CGEventTapOptions) String

func (e CGEventTapOptions) String() string

type CGEventTapPlacement

type CGEventTapPlacement int64

Constants that specify where a new event tap is inserted into the list of active event taps.

const (
	// Specifies that a new event tap should be inserted before any pre-existing event taps at the same location.
	KCGHeadInsertEventTap CGEventTapPlacement = 0
	// Specifies that a new event tap should be inserted after any pre-existing event taps at the same location.
	KCGTailAppendEventTap CGEventTapPlacement = 1
)

func (CGEventTapPlacement) String

func (e CGEventTapPlacement) String() string

type CGEventTapProxy

type CGEventTapProxy struct{}

C struct: __CGEventTapProxy CGEventTapProxy is an opaque type.

type CGEventType

type CGEventType int64

Constants that specify the different types of input events.

const (
	// Specifies a null event.
	KCGEventNull CGEventType = 0
	// Specifies a mouse down event with the left button.
	KCGEventLeftMouseDown CGEventType = 1
	// Specifies a mouse up event with the left button.
	KCGEventLeftMouseUp CGEventType = 2
	// Specifies a mouse down event with the right button.
	KCGEventRightMouseDown CGEventType = 3
	// Specifies a mouse up event with the right button.
	KCGEventRightMouseUp CGEventType = 4
	// Specifies a mouse moved event.
	KCGEventMouseMoved CGEventType = 5
	// Specifies a mouse drag event with the left button down.
	KCGEventLeftMouseDragged CGEventType = 6
	// Specifies a mouse drag event with the right button down.
	KCGEventRightMouseDragged CGEventType = 7
	// Specifies a key down event.
	KCGEventKeyDown CGEventType = 10
	// Specifies a key up event.
	KCGEventKeyUp CGEventType = 11
	// Specifies a key changed event for a modifier or status key.
	KCGEventFlagsChanged CGEventType = 12
	// Specifies a scroll wheel moved event.
	KCGEventScrollWheel CGEventType = 22
	// Specifies a tablet pointer event.
	KCGEventTabletPointer CGEventType = 23
	// Specifies a tablet proximity event.
	KCGEventTabletProximity CGEventType = 24
	// Specifies a mouse down event with one of buttons 2-31.
	KCGEventOtherMouseDown CGEventType = 25
	// Specifies a mouse up event with one of buttons 2-31.
	KCGEventOtherMouseUp CGEventType = 26
	// Specifies a mouse drag event with one of buttons 2-31 down.
	KCGEventOtherMouseDragged CGEventType = 27
	// Specifies an event indicating the event tap is disabled because of timeout.
	KCGEventTapDisabledByTimeout CGEventType = 4294967294
	// Specifies an event indicating the event tap is disabled because of user input.
	KCGEventTapDisabledByUserInput CGEventType = 4294967295
)

func CGEventGetType

func CGEventGetType(event unsafe.Pointer) CGEventType

func (CGEventType) String

func (e CGEventType) String() string

type CGFont

type CGFont struct{}

A set of character glyphs and layout information for drawing text. CGFont is an opaque type.

type CGFontPostScriptFormat

type CGFontPostScriptFormat int64

Possible formats for a PostScript font subset.

const (
	// A Type 1 font format.
	KCGFontPostScriptFormatType1 CGFontPostScriptFormat = 1
	// A Type 3 PostScript format.
	KCGFontPostScriptFormatType3 CGFontPostScriptFormat = 3
	// A constant representing a Type 42 font format.
	KCGFontPostScriptFormatType42 CGFontPostScriptFormat = 42
)

func (CGFontPostScriptFormat) String

func (e CGFontPostScriptFormat) String() string

type CGFunction

type CGFunction struct{}

A general facility for defining and using callback functions. CGFunction is an opaque type.

type CGFunctionCallbacks

type CGFunctionCallbacks struct {
	Version     uint
	Evaluate    unsafe.Pointer
	ReleaseInfo unsafe.Pointer
}

A structure that contains callbacks needed by a CGFunctionRef object.

type CGGesturePhase

type CGGesturePhase int64
const (
	KCGGesturePhaseNone      CGGesturePhase = 0
	KCGGesturePhaseBegan     CGGesturePhase = 1
	KCGGesturePhaseChanged   CGGesturePhase = 2
	KCGGesturePhaseEnded     CGGesturePhase = 4
	KCGGesturePhaseCancelled CGGesturePhase = 8
	KCGGesturePhaseMayBegin  CGGesturePhase = 128
)

func (CGGesturePhase) String

func (e CGGesturePhase) String() string

type CGGlyphDeprecatedEnum

type CGGlyphDeprecatedEnum int64
const (
	// Minimum font index value.
	CGGlyphMin CGGlyphDeprecatedEnum = 0
	// Maximum font index value.
	CGGlyphMax CGGlyphDeprecatedEnum = 1
)

func (CGGlyphDeprecatedEnum) String

func (e CGGlyphDeprecatedEnum) String() string

type CGGradient

type CGGradient struct{}

A definition for a smooth transition between colors for drawing radial and axial gradient fills. CGGradient is an opaque type.

type CGGradientDrawingOptions

type CGGradientDrawingOptions int64

Drawing locations for gradients.

const (
	// The fill should extend beyond the starting location. The color that extends beyond the starting point is the solid color defined by the CGGradientRef object to be at location 0.
	KCGGradientDrawsBeforeStartLocation CGGradientDrawingOptions = 1
	// The fill should extend beyond the ending location. The color that extends beyond the ending point is the solid color defined by the CGGradientRef object to be at location 1.
	KCGGradientDrawsAfterEndLocation CGGradientDrawingOptions = 2
)

func (CGGradientDrawingOptions) String

func (e CGGradientDrawingOptions) String() string

type CGImage

type CGImage struct{}

A bitmap image or image mask. CGImage is an opaque type.

type CGImageAlphaInfo

type CGImageAlphaInfo int64

Storage options for alpha component data.

const (
	// There is no alpha channel.
	KCGImageAlphaNone CGImageAlphaInfo = 0
	// The alpha component is stored in the least significant bits of each pixel and the color components have already been multiplied by this alpha value. For example, premultiplied RGBA.
	KCGImageAlphaPremultipliedLast CGImageAlphaInfo = 1
	// The alpha component is stored in the most significant bits of each pixel and the color components have already been multiplied by this alpha value. For example, premultiplied ARGB.
	KCGImageAlphaPremultipliedFirst CGImageAlphaInfo = 2
	// The alpha component is stored in the least significant bits of each pixel. For example, non-premultiplied RGBA.
	KCGImageAlphaLast CGImageAlphaInfo = 3
	// The alpha component is stored in the most significant bits of each pixel. For example, non-premultiplied ARGB.
	KCGImageAlphaFirst CGImageAlphaInfo = 4
	// There is no alpha channel.
	KCGImageAlphaNoneSkipLast CGImageAlphaInfo = 5
	// There is no alpha channel. If the total size of the pixel is greater than the space required for the number of color components in the color space, the most significant bits are ignored.
	KCGImageAlphaNoneSkipFirst CGImageAlphaInfo = 6
	// There is no color data, only an alpha channel.
	KCGImageAlphaOnly CGImageAlphaInfo = 7
)

func CGBitmapContextGetAlphaInfo

func CGBitmapContextGetAlphaInfo(context_ unsafe.Pointer) CGImageAlphaInfo

func CGImageGetAlphaInfo

func CGImageGetAlphaInfo(image unsafe.Pointer) CGImageAlphaInfo

func (CGImageAlphaInfo) String

func (e CGImageAlphaInfo) String() string

type CGImageByteOrderInfo

type CGImageByteOrderInfo int64
const (
	KCGImageByteOrderMask     CGImageByteOrderInfo = 28672
	KCGImageByteOrderDefault  CGImageByteOrderInfo = 0
	KCGImageByteOrder16Little CGImageByteOrderInfo = 4096
	KCGImageByteOrder32Little CGImageByteOrderInfo = 8192
	KCGImageByteOrder16Big    CGImageByteOrderInfo = 12288
	KCGImageByteOrder32Big    CGImageByteOrderInfo = 16384
	KCGImageByteOrder16Host   CGImageByteOrderInfo = 4096
	KCGImageByteOrder32Host   CGImageByteOrderInfo = 8192
)

func CGImageGetByteOrderInfo

func CGImageGetByteOrderInfo(image unsafe.Pointer) CGImageByteOrderInfo

func (CGImageByteOrderInfo) String

func (e CGImageByteOrderInfo) String() string

type CGImageComponentInfo

type CGImageComponentInfo int64
const (
	KCGImageComponentInteger CGImageComponentInfo = 0
	KCGImageComponentFloat   CGImageComponentInfo = 256
)

func (CGImageComponentInfo) String

func (e CGImageComponentInfo) String() string

type CGImagePixelFormatInfo

type CGImagePixelFormatInfo int64
const (
	KCGImagePixelFormatMask      CGImagePixelFormatInfo = 983040
	KCGImagePixelFormatPacked    CGImagePixelFormatInfo = 0
	KCGImagePixelFormatRGB555    CGImagePixelFormatInfo = 65536
	KCGImagePixelFormatRGB565    CGImagePixelFormatInfo = 131072
	KCGImagePixelFormatRGB101010 CGImagePixelFormatInfo = 196608
	KCGImagePixelFormatRGBCIF10  CGImagePixelFormatInfo = 262144
)

func CGImageGetPixelFormatInfo

func CGImageGetPixelFormatInfo(image unsafe.Pointer) CGImagePixelFormatInfo

func (CGImagePixelFormatInfo) String

func (e CGImagePixelFormatInfo) String() string

type CGInterpolationQuality

type CGInterpolationQuality int64

Levels of interpolation quality for rendering an image.

const (
	// The default level of quality.
	KCGInterpolationDefault CGInterpolationQuality = 0
	// No interpolation.
	KCGInterpolationNone CGInterpolationQuality = 1
	// A low level of interpolation quality. This setting may speed up image rendering.
	KCGInterpolationLow CGInterpolationQuality = 2
	// A medium level of interpolation quality. This setting is slower than the low setting but faster than the high setting.
	KCGInterpolationMedium CGInterpolationQuality = 4
	// A high level of interpolation quality. This setting may slow down image rendering.
	KCGInterpolationHigh CGInterpolationQuality = 3
)

func CGContextGetInterpolationQuality

func CGContextGetInterpolationQuality(c unsafe.Pointer) CGInterpolationQuality

func (CGInterpolationQuality) String

func (e CGInterpolationQuality) String() string

type CGLayer

type CGLayer struct{}

An offscreen context for reusing content drawn with Core Graphics. CGLayer is an opaque type.

type CGLineCap

type CGLineCap int64

Styles for rendering the endpoint of a stroked line.

const (
	// A line with a squared-off end. Core Graphics draws the line to extend only to the exact endpoint of the path. This is the default.
	KCGLineCapButt CGLineCap = 0
	// A line with a rounded end. Core Graphics draws the line to extend beyond the endpoint of the path. The line ends with a semicircular arc with a radius of 1/2 the line’s width, centered on the endpoint.
	KCGLineCapRound CGLineCap = 1
	// A line with a squared-off end. Core Graphics extends the line beyond the endpoint of the path for a distance equal to half the line width.
	KCGLineCapSquare CGLineCap = 2
)

func (CGLineCap) String

func (e CGLineCap) String() string

type CGLineJoin

type CGLineJoin int64

Junction types for stroked lines.

const (
	KCGLineJoinMiter CGLineJoin = 0
	// A join with a rounded end. Core Graphics draws the line to extend beyond the endpoint of the path. The line ends with a semicircular arc with a radius of 1/2 the line’s width, centered on the endpoint.
	KCGLineJoinRound CGLineJoin = 1
	// A join with a squared-off end. Core Graphics draws the line to extend beyond the endpoint of the path, for a distance of 1/2 the line’s width.
	KCGLineJoinBevel CGLineJoin = 2
)

func (CGLineJoin) String

func (e CGLineJoin) String() string

type CGMomentumScrollPhase

type CGMomentumScrollPhase int64
const (
	KCGMomentumScrollPhaseNone     CGMomentumScrollPhase = 0
	KCGMomentumScrollPhaseBegin    CGMomentumScrollPhase = 1
	KCGMomentumScrollPhaseContinue CGMomentumScrollPhase = 2
	KCGMomentumScrollPhaseEnd      CGMomentumScrollPhase = 3
)

func (CGMomentumScrollPhase) String

func (e CGMomentumScrollPhase) String() string

type CGMouseButton

type CGMouseButton int64

Constants that specify buttons on a one, two, or three-button mouse.

const (
	KCGMouseButtonLeft   CGMouseButton = 0
	KCGMouseButtonRight  CGMouseButton = 1
	KCGMouseButtonCenter CGMouseButton = 2
)

func (CGMouseButton) String

func (e CGMouseButton) String() string

type CGPDFAccessPermissions

type CGPDFAccessPermissions int64
const (
	KCGPDFAllowsLowQualityPrinting   CGPDFAccessPermissions = 1
	KCGPDFAllowsHighQualityPrinting  CGPDFAccessPermissions = 2
	KCGPDFAllowsDocumentChanges      CGPDFAccessPermissions = 4
	KCGPDFAllowsDocumentAssembly     CGPDFAccessPermissions = 8
	KCGPDFAllowsContentCopying       CGPDFAccessPermissions = 16
	KCGPDFAllowsContentAccessibility CGPDFAccessPermissions = 32
	KCGPDFAllowsCommenting           CGPDFAccessPermissions = 64
	KCGPDFAllowsFormFieldEntry       CGPDFAccessPermissions = 128
)

func CGPDFDocumentGetAccessPermissions

func CGPDFDocumentGetAccessPermissions(document unsafe.Pointer) CGPDFAccessPermissions

func (CGPDFAccessPermissions) String

func (e CGPDFAccessPermissions) String() string

type CGPDFArray

type CGPDFArray struct{}

An array structure within a PDF document. CGPDFArray is an opaque type.

type CGPDFBox

type CGPDFBox int64

Box types for a PDF page.

const (
	// The page media box—a rectangle, expressed in default user space units, that defines the boundaries of the physical medium on which the page is intended to be displayed or printed
	KCGPDFMediaBox CGPDFBox = 0
	// The page crop box—a rectangle, expressed in default user space units, that defines the visible region of default user space. When the page is displayed or printed, its contents are to be clipped to this rectangle.
	KCGPDFCropBox CGPDFBox = 1
	// The page bleed box—a rectangle, expressed in default user space units, that defines the region to which the contents of the page should be clipped when output in a production environment.
	KCGPDFBleedBox CGPDFBox = 2
	// The page trim box—a rectangle, expressed in default user space units, that defines the intended dimensions of the finished page after trimming.
	KCGPDFTrimBox CGPDFBox = 3
	// The page art box—a rectangle, expressed in default user space units, defining the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.
	KCGPDFArtBox CGPDFBox = 4
)

func (CGPDFBox) String

func (e CGPDFBox) String() string

type CGPDFContentStream

type CGPDFContentStream struct{}

A representation of one or more content data streams in a PDF page. CGPDFContentStream is an opaque type.

type CGPDFDataFormat

type CGPDFDataFormat int64

The encoding format of PDF data.

const (
	// The data stream is not encoded.
	CGPDFDataFormatRaw CGPDFDataFormat = 0
	// The data stream is encoded in JPEG format.
	CGPDFDataFormatJPEGEncoded CGPDFDataFormat = 1
	// The data stream is encoded in JPEG-2000 format.
	CGPDFDataFormatJPEG2000 CGPDFDataFormat = 2
)

func (CGPDFDataFormat) String

func (e CGPDFDataFormat) String() string

type CGPDFDictionary

type CGPDFDictionary struct{}

A dictionary structure within a PDF document. CGPDFDictionary is an opaque type.

type CGPDFDocument

type CGPDFDocument struct{}

A document that contains PDF (Portable Document Format) drawing information. CGPDFDocument is an opaque type.

type CGPDFObject

type CGPDFObject struct{}

An object representing content within a PDF document. CGPDFObject is an opaque type.

type CGPDFObjectType

type CGPDFObjectType int64

Types of PDF object.

const (
	// The type for a PDF null.
	KCGPDFObjectTypeNull CGPDFObjectType = 1
	// The type for a PDF Boolean.
	KCGPDFObjectTypeBoolean CGPDFObjectType = 2
	// The type for a PDF integer.
	KCGPDFObjectTypeInteger CGPDFObjectType = 3
	// The type for a PDF real.
	KCGPDFObjectTypeReal CGPDFObjectType = 4
	// Type for a PDF name.
	KCGPDFObjectTypeName CGPDFObjectType = 5
	// The type for a PDF string.
	KCGPDFObjectTypeString CGPDFObjectType = 6
	// Type for a PDF array.
	KCGPDFObjectTypeArray CGPDFObjectType = 7
	// The type for a PDF dictionary.
	KCGPDFObjectTypeDictionary CGPDFObjectType = 8
	// The type for a PDF stream.
	KCGPDFObjectTypeStream CGPDFObjectType = 9
)

func CGPDFObjectGetType

func CGPDFObjectGetType(object unsafe.Pointer) CGPDFObjectType

func (CGPDFObjectType) String

func (e CGPDFObjectType) String() string

type CGPDFOperatorTable

type CGPDFOperatorTable struct{}

A set of callback functions for operators used when scanning content in a PDF document. CGPDFOperatorTable is an opaque type.

type CGPDFPage

type CGPDFPage struct{}

A type that represents a page in a PDF document. CGPDFPage is an opaque type.

type CGPDFScanner

type CGPDFScanner struct{}

A parser object for handling content and operators in a PDF content stream. CGPDFScanner is an opaque type.

type CGPDFStream

type CGPDFStream struct{}

A stream or sequence of data bytes in a PDF document. CGPDFStream is an opaque type.

type CGPDFString

type CGPDFString struct{}

A text string in a PDF document. CGPDFString is an opaque type.

type CGPDFTagType

type CGPDFTagType int64
const (
	CGPDFTagTypeDocument           CGPDFTagType = 100
	CGPDFTagTypePart               CGPDFTagType = 101
	CGPDFTagTypeArt                CGPDFTagType = 102
	CGPDFTagTypeSection            CGPDFTagType = 103
	CGPDFTagTypeDiv                CGPDFTagType = 104
	CGPDFTagTypeBlockQuote         CGPDFTagType = 105
	CGPDFTagTypeCaption            CGPDFTagType = 106
	CGPDFTagTypeTOC                CGPDFTagType = 107
	CGPDFTagTypeTOCI               CGPDFTagType = 108
	CGPDFTagTypeIndex              CGPDFTagType = 109
	CGPDFTagTypeNonStructure       CGPDFTagType = 110
	CGPDFTagTypePrivate            CGPDFTagType = 111
	CGPDFTagTypeParagraph          CGPDFTagType = 200
	CGPDFTagTypeHeader             CGPDFTagType = 201
	CGPDFTagTypeHeader1            CGPDFTagType = 202
	CGPDFTagTypeHeader2            CGPDFTagType = 203
	CGPDFTagTypeHeader3            CGPDFTagType = 204
	CGPDFTagTypeHeader4            CGPDFTagType = 205
	CGPDFTagTypeHeader5            CGPDFTagType = 206
	CGPDFTagTypeHeader6            CGPDFTagType = 207
	CGPDFTagTypeList               CGPDFTagType = 300
	CGPDFTagTypeListItem           CGPDFTagType = 301
	CGPDFTagTypeLabel              CGPDFTagType = 302
	CGPDFTagTypeListBody           CGPDFTagType = 303
	CGPDFTagTypeTable              CGPDFTagType = 400
	CGPDFTagTypeTableRow           CGPDFTagType = 401
	CGPDFTagTypeTableHeaderCell    CGPDFTagType = 402
	CGPDFTagTypeTableDataCell      CGPDFTagType = 403
	CGPDFTagTypeTableHeader        CGPDFTagType = 404
	CGPDFTagTypeTableBody          CGPDFTagType = 405
	CGPDFTagTypeTableFooter        CGPDFTagType = 406
	CGPDFTagTypeSpan               CGPDFTagType = 500
	CGPDFTagTypeQuote              CGPDFTagType = 501
	CGPDFTagTypeNote               CGPDFTagType = 502
	CGPDFTagTypeReference          CGPDFTagType = 503
	CGPDFTagTypeBibliography       CGPDFTagType = 504
	CGPDFTagTypeCode               CGPDFTagType = 505
	CGPDFTagTypeLink               CGPDFTagType = 506
	CGPDFTagTypeAnnotation         CGPDFTagType = 507
	CGPDFTagTypeRuby               CGPDFTagType = 600
	CGPDFTagTypeRubyBaseText       CGPDFTagType = 601
	CGPDFTagTypeRubyAnnotationText CGPDFTagType = 602
	CGPDFTagTypeRubyPunctuation    CGPDFTagType = 603
	CGPDFTagTypeWarichu            CGPDFTagType = 604
	CGPDFTagTypeWarichuText        CGPDFTagType = 605
	CGPDFTagTypeWarichuPunctiation CGPDFTagType = 606
	CGPDFTagTypeFigure             CGPDFTagType = 700
	CGPDFTagTypeFormula            CGPDFTagType = 701
	CGPDFTagTypeForm               CGPDFTagType = 702
	CGPDFTagTypeObject             CGPDFTagType = 800
)

func (CGPDFTagType) String

func (e CGPDFTagType) String() string

type CGPSConverter

type CGPSConverter struct{}

An opaque data type used to convert PostScript data to PDF data. CGPSConverter is an opaque type.

type CGPSConverterCallbacks

type CGPSConverterCallbacks struct {
	Version       uint
	BeginDocument unsafe.Pointer
	EndDocument   unsafe.Pointer
	BeginPage     unsafe.Pointer
	EndPage       unsafe.Pointer
	NoteProgress  unsafe.Pointer
	NoteMessage   unsafe.Pointer
	ReleaseInfo   unsafe.Pointer
}

A structure for holding the callbacks provided when you create a PostScript converter object.

type CGPath

type CGPath struct{}

An immutable graphics path: a mathematical description of shapes or lines to be drawn in a graphics context. CGPath is an opaque type.

type CGPathDrawingMode

type CGPathDrawingMode int64

Options for rendering a path.

const (
	// Render the area contained within the path using the non-zero winding number rule.
	KCGPathFill CGPathDrawingMode = 0
	// Render the area within the path using the even-odd rule.
	KCGPathEOFill CGPathDrawingMode = 1
	// Render a line along the path.
	KCGPathStroke CGPathDrawingMode = 2
	// First fill and then stroke the path, using the nonzero winding number rule.
	KCGPathFillStroke CGPathDrawingMode = 3
	// First fill and then stroke the path, using the even-odd rule.
	KCGPathEOFillStroke CGPathDrawingMode = 4
)

func (CGPathDrawingMode) String

func (e CGPathDrawingMode) String() string

type CGPathElement

type CGPathElement struct {
	Type   CGPathElementType
	Points *corefoundation.CGPoint
}

A data structure that provides information about a path element.

type CGPathElementType

type CGPathElementType int64

The type of element found in a path.

const (
	// The path element that starts a new subpath.
	KCGPathElementMoveToPoint CGPathElementType = 0
	// The path element that adds a line from the current point to a new point.
	KCGPathElementAddLineToPoint CGPathElementType = 1
	// The path element that adds a quadratic curve from the current point to the specified point.
	KCGPathElementAddQuadCurveToPoint CGPathElementType = 2
	// The path element that adds a cubic curve from the current point to the specified point.
	KCGPathElementAddCurveToPoint CGPathElementType = 3
	// The path element that closes and completes a subpath. The element does not contain any points. See the function CGPathCloseSubpath.
	KCGPathElementCloseSubpath CGPathElementType = 4
)

func (CGPathElementType) String

func (e CGPathElementType) String() string

type CGPattern

type CGPattern struct{}

A 2D pattern to be used for drawing graphics paths. CGPattern is an opaque type.

type CGPatternCallbacks

type CGPatternCallbacks struct {
	Version     uint
	DrawPattern unsafe.Pointer
	ReleaseInfo unsafe.Pointer
}

A structure that holds a version and two callback functions for drawing a custom pattern.

type CGPatternTiling

type CGPatternTiling int64

Different methods for rendering a tiled pattern.

const (
	// The pattern cell is not distorted when painted.The spacing between pattern cells may vary by as much as 1 devicepixel.
	KCGPatternTilingNoDistortion CGPatternTiling = 0
	// Pattern cells are spaced consistently. Thepattern cell may be distorted by as much as 1 device pixel whenthe pattern is painted.
	KCGPatternTilingConstantSpacingMinimalDistortion CGPatternTiling = 1
	// Pattern cells are spaced consistently, as with kCGPatternTilingConstantSpacingMinimalDistortion.The pattern cell may be distorted additionally to permit a moreefficient implementation.
	KCGPatternTilingConstantSpacing CGPatternTiling = 2
)

func (CGPatternTiling) String

func (e CGPatternTiling) String() string

type CGRenderingBufferProvider

type CGRenderingBufferProvider struct{}

CGRenderingBufferProvider is an opaque type.

type CGScreenUpdateMoveDelta

type CGScreenUpdateMoveDelta struct {
	DX int32
	DY int32
}

The distance, in pixel units, that an onscreen region moves.

type CGScreenUpdateOperation

type CGScreenUpdateOperation int64

Types of screen-update operations.

const (
	// A screen-refresh operation.
	KCGScreenUpdateOperationRefresh CGScreenUpdateOperation = 0
	// A screen-move operation.
	KCGScreenUpdateOperationMove                       CGScreenUpdateOperation = 1
	KCGScreenUpdateOperationReducedDirtyRectangleCount CGScreenUpdateOperation = 2147483648
)

func (CGScreenUpdateOperation) String

func (e CGScreenUpdateOperation) String() string

type CGScrollEventUnit

type CGScrollEventUnit int64

Constants that specify the unit of measurement for a scrolling event.

const (
	// Specifies that the unit of measurement is pixels.
	KCGScrollEventUnitPixel CGScrollEventUnit = 0
	// Specifies that the unit of measurement is lines.
	KCGScrollEventUnitLine CGScrollEventUnit = 1
)

func (CGScrollEventUnit) String

func (e CGScrollEventUnit) String() string

type CGScrollPhase

type CGScrollPhase int64
const (
	KCGScrollPhaseBegan     CGScrollPhase = 1
	KCGScrollPhaseChanged   CGScrollPhase = 2
	KCGScrollPhaseEnded     CGScrollPhase = 4
	KCGScrollPhaseCancelled CGScrollPhase = 8
	KCGScrollPhaseMayBegin  CGScrollPhase = 128
)

func (CGScrollPhase) String

func (e CGScrollPhase) String() string

type CGShading

type CGShading struct{}

A definition for a smooth transition between colors, controlled by a custom function you provide, for drawing radial and axial gradient fills. CGShading is an opaque type.

type CGTextDrawingMode

type CGTextDrawingMode int64

Modes for rendering text.

const (
	// Perform a fill operation on the text.
	KCGTextFill CGTextDrawingMode = 0
	// Perform a stroke operation on the text.
	KCGTextStroke CGTextDrawingMode = 1
	// Perform fill, then stroke operations on the text.
	KCGTextFillStroke CGTextDrawingMode = 2
	// Do not draw the text, but do update the text position.
	KCGTextInvisible CGTextDrawingMode = 3
	// Perform a fill operation, then intersect the text with the current clipping path.
	KCGTextFillClip CGTextDrawingMode = 4
	// Perform a stroke operation, then intersect the text with the current clipping path.
	KCGTextStrokeClip CGTextDrawingMode = 5
	// Perform fill then stroke operations, then intersect the text with the current clipping path.
	KCGTextFillStrokeClip CGTextDrawingMode = 6
	// Specifies to intersect the text with the current clipping path. This mode does not paint the text.
	KCGTextClip CGTextDrawingMode = 7
)

func (CGTextDrawingMode) String

func (e CGTextDrawingMode) String() string

type CGTextEncoding

type CGTextEncoding int64

Text encodings for fonts. Deprecated: No longer supported

const (
	// The built-in encoding of the font.
	KCGEncodingFontSpecific CGTextEncoding = 0
	// The MacRoman encoding. MacRoman is an ASCII variant originally created for use in the Mac OS, in which characters 127 and lower are ASCII, and characters 128 and higher are non-English characters and symbols.
	KCGEncodingMacRoman CGTextEncoding = 1
)

func (CGTextEncoding) String

func (e CGTextEncoding) String() string

type CGToneMapping

type CGToneMapping int64
const (
	KCGToneMappingDefault                  CGToneMapping = 0
	KCGToneMappingImageSpecificLumaScaling CGToneMapping = 1
	KCGToneMappingReferenceWhiteBased      CGToneMapping = 2
	KCGToneMappingITURecommended           CGToneMapping = 3
	KCGToneMappingEXRGamma                 CGToneMapping = 4
	KCGToneMappingNone                     CGToneMapping = 5
)

func (CGToneMapping) String

func (e CGToneMapping) String() string

type CGWindowBackingType

type CGWindowBackingType int64

The data type used to specify the backing option for a given window.

const (
	KCGBackingStoreRetained    CGWindowBackingType = 0
	KCGBackingStoreNonretained CGWindowBackingType = 1
	KCGBackingStoreBuffered    CGWindowBackingType = 2
)

func (CGWindowBackingType) String

func (e CGWindowBackingType) String() string

type CGWindowImageOption

type CGWindowImageOption int64

The data type to use to specify the type of image to be generated for a window.

const (
	KCGWindowImageDefault             CGWindowImageOption = 0
	KCGWindowImageBoundsIgnoreFraming CGWindowImageOption = 1
	KCGWindowImageShouldBeOpaque      CGWindowImageOption = 2
	KCGWindowImageOnlyShadows         CGWindowImageOption = 4
	// When capturing the window, return the best image resolution. The returned image size may be different than the screen size.
	KCGWindowImageBestResolution CGWindowImageOption = 8
	// When capturing the window, return the nominal image resolution. The returned image size is the same as the screen size.
	KCGWindowImageNominalResolution CGWindowImageOption = 16
)

func (CGWindowImageOption) String

func (e CGWindowImageOption) String() string

type CGWindowLevelKey

type CGWindowLevelKey int64

Keys that represent the standard window levels in macOS. Quartz includes these keys to support application frameworks like Cocoa. Applications do not need to use them directly.

const (
	KCGBaseWindowLevelKey              CGWindowLevelKey = 0
	KCGMinimumWindowLevelKey           CGWindowLevelKey = 1
	KCGDesktopWindowLevelKey           CGWindowLevelKey = 2
	KCGBackstopMenuLevelKey            CGWindowLevelKey = 3
	KCGNormalWindowLevelKey            CGWindowLevelKey = 4
	KCGFloatingWindowLevelKey          CGWindowLevelKey = 5
	KCGTornOffMenuWindowLevelKey       CGWindowLevelKey = 6
	KCGDockWindowLevelKey              CGWindowLevelKey = 7
	KCGMainMenuWindowLevelKey          CGWindowLevelKey = 8
	KCGStatusWindowLevelKey            CGWindowLevelKey = 9
	KCGModalPanelWindowLevelKey        CGWindowLevelKey = 10
	KCGPopUpMenuWindowLevelKey         CGWindowLevelKey = 11
	KCGDraggingWindowLevelKey          CGWindowLevelKey = 12
	KCGScreenSaverWindowLevelKey       CGWindowLevelKey = 13
	KCGMaximumWindowLevelKey           CGWindowLevelKey = 14
	KCGOverlayWindowLevelKey           CGWindowLevelKey = 15
	KCGHelpWindowLevelKey              CGWindowLevelKey = 16
	KCGUtilityWindowLevelKey           CGWindowLevelKey = 17
	KCGDesktopIconWindowLevelKey       CGWindowLevelKey = 18
	KCGCursorWindowLevelKey            CGWindowLevelKey = 19
	KCGAssistiveTechHighWindowLevelKey CGWindowLevelKey = 20
	KCGNumberOfWindowLevelKeys         CGWindowLevelKey = 21
)

func (CGWindowLevelKey) String

func (e CGWindowLevelKey) String() string

type CGWindowListOption

type CGWindowListOption int64

The data type used to specify the options for gathering a list of windows.

const (
	KCGWindowListOptionAll                 CGWindowListOption = 0
	KCGWindowListOptionOnScreenOnly        CGWindowListOption = 1
	KCGWindowListOptionOnScreenAboveWindow CGWindowListOption = 2
	KCGWindowListOptionOnScreenBelowWindow CGWindowListOption = 4
	KCGWindowListOptionIncludingWindow     CGWindowListOption = 8
	KCGWindowListExcludeDesktopElements    CGWindowListOption = 16
)

func (CGWindowListOption) String

func (e CGWindowListOption) String() string

type CGWindowSharingType

type CGWindowSharingType int64

The data type used to specify the sharing mode used by a window.

const (
	KCGWindowSharingNone      CGWindowSharingType = 0
	KCGWindowSharingReadOnly  CGWindowSharingType = 1
	KCGWindowSharingReadWrite CGWindowSharingType = 2
)

func (CGWindowSharingType) String

func (e CGWindowSharingType) String() string

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type ColorSyncProfile

type ColorSyncProfile struct{}

ColorSyncProfile is an opaque type.

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type IOSurface

type IOSurface struct{}

C struct: __IOSurface IOSurface is an opaque type.

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type MTLDevice

type MTLDevice interface {
}

MTLDevice wraps the ObjC protocol MTLDevice.

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL