Documentation
¶
Overview ¶
Package coregraphics provides a fluent Go API over the macOS CoreGraphics framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- func CGAffineTransformConcat(t1 corefoundation.CGAffineTransform, t2 corefoundation.CGAffineTransform) corefoundation.CGAffineTransform
- func CGAffineTransformDecompose(transform corefoundation.CGAffineTransform) corefoundation.CGAffineTransformComponents
- func CGAffineTransformEqualToTransform(t1 corefoundation.CGAffineTransform, t2 corefoundation.CGAffineTransform) bool
- func CGAffineTransformIdentity() corefoundation.CGAffineTransform
- func CGAffineTransformInvert(t corefoundation.CGAffineTransform) corefoundation.CGAffineTransform
- func CGAffineTransformIsIdentity(t corefoundation.CGAffineTransform) bool
- func CGAffineTransformMake(a float64, b float64, c float64, d float64, tx float64, ty float64) corefoundation.CGAffineTransform
- func CGAffineTransformMakeRotation(angle float64) corefoundation.CGAffineTransform
- func CGAffineTransformMakeScale(sx float64, sy float64) corefoundation.CGAffineTransform
- func CGAffineTransformMakeTranslation(tx float64, ty float64) corefoundation.CGAffineTransform
- func CGAffineTransformMakeWithComponents(components corefoundation.CGAffineTransformComponents) corefoundation.CGAffineTransform
- func CGAffineTransformRotate(t corefoundation.CGAffineTransform, angle float64) corefoundation.CGAffineTransform
- func CGAffineTransformScale(t corefoundation.CGAffineTransform, sx float64, sy float64) corefoundation.CGAffineTransform
- func CGAffineTransformTranslate(t corefoundation.CGAffineTransform, tx float64, ty float64) corefoundation.CGAffineTransform
- func CGBitmapContextCreate(data unsafe.Pointer, width int, height int, bitsPerComponent int, ...) obj.Object
- func CGBitmapContextCreateAdaptive(width int, height int, auxiliaryInfo obj.Object, onResolve unsafe.Pointer, ...) obj.Object
- func CGBitmapContextCreateImage(context_ obj.Object) obj.Object
- func CGBitmapContextCreateWithData(data unsafe.Pointer, width int, height int, bitsPerComponent int, ...) obj.Object
- func CGBitmapContextGetBitsPerComponent(context_ obj.Object) int
- func CGBitmapContextGetBitsPerPixel(context_ obj.Object) int
- func CGBitmapContextGetBytesPerRow(context_ obj.Object) int
- func CGBitmapContextGetColorSpace(context_ obj.Object) obj.Object
- func CGBitmapContextGetData(context_ obj.Object) unsafe.Pointer
- func CGBitmapContextGetHeight(context_ obj.Object) int
- func CGBitmapContextGetWidth(context_ obj.Object) int
- func CGColorConversionInfoConvertData(info obj.Object, width int, height int, dstData unsafe.Pointer, ...) bool
- func CGColorConversionInfoCreate(src obj.Object, dst obj.Object) obj.Object
- func CGColorConversionInfoCreateForToneMapping(from obj.Object, sourceHeadroom float32, to obj.Object, targetHeadroom float32, ...) (obj.Object, error)
- func CGColorConversionInfoCreateFromListWithArguments(options obj.Object, arg obj.Object, arg2 CGColorConversionInfoTransformType, ...) obj.Object
- func CGColorConversionInfoCreateWithOptions(src obj.Object, dst obj.Object, options obj.Object) obj.Object
- func CGColorConversionInfoGetTypeID() int
- func CGColorCreate(space obj.Object) (result obj.Object, components float64)
- func CGColorCreateCopy(color obj.Object) obj.Object
- func CGColorCreateCopyByMatchingToColorSpace(arg obj.Object, intent CGColorRenderingIntent, color obj.Object, ...) obj.Object
- func CGColorCreateCopyWithAlpha(color obj.Object, alpha float64) obj.Object
- func CGColorCreateGenericCMYK(cyan float64, magenta float64, yellow float64, black float64, alpha float64) obj.Object
- func CGColorCreateGenericGray(gray float64, alpha float64) obj.Object
- func CGColorCreateGenericGrayGamma2_2(gray float64, alpha float64) obj.Object
- func CGColorCreateGenericRGB(red float64, green float64, blue float64, alpha float64) obj.Object
- func CGColorCreateSRGB(red float64, green float64, blue float64, alpha float64) obj.Object
- func CGColorCreateWithContentHeadroom(headroom float32, space obj.Object, red float64, green float64, blue float64, ...) obj.Object
- func CGColorCreateWithPattern(space obj.Object, pattern obj.Object) (result obj.Object, components float64)
- func CGColorEqualToColor(color1 obj.Object, color2 obj.Object) bool
- func CGColorGetAlpha(color obj.Object) float64
- func CGColorGetColorSpace(color obj.Object) obj.Object
- func CGColorGetComponents(color obj.Object) unsafe.Pointer
- func CGColorGetConstantColor(colorName obj.Object) obj.Object
- func CGColorGetContentHeadroom(color obj.Object) float32
- func CGColorGetNumberOfComponents(color obj.Object) int
- func CGColorGetPattern(color obj.Object) obj.Object
- func CGColorGetTypeID() int
- func CGColorRelease(color obj.Object)
- func CGColorRetain(color obj.Object) obj.Object
- func CGColorSpaceCopyBaseColorSpace(space obj.Object) obj.Object
- func CGColorSpaceCopyICCData(space obj.Object) obj.Object
- func CGColorSpaceCopyICCProfile(space obj.Object) obj.Object
- func CGColorSpaceCopyName(space obj.Object) obj.Object
- func CGColorSpaceCopyPropertyList(space obj.Object) obj.Object
- func CGColorSpaceCreateCalibratedGray(gamma float64) (result obj.Object, whitePoint float64, blackPoint float64)
- func CGColorSpaceCreateCalibratedRGB() (result obj.Object, whitePoint float64, blackPoint float64, gamma float64, ...)
- func CGColorSpaceCreateCopyWithStandardRange(space obj.Object) obj.Object
- func CGColorSpaceCreateDeviceCMYK() obj.Object
- func CGColorSpaceCreateDeviceGray() obj.Object
- func CGColorSpaceCreateDeviceRGB() obj.Object
- func CGColorSpaceCreateExtended(space obj.Object) obj.Object
- func CGColorSpaceCreateExtendedLinearized(space obj.Object) obj.Object
- func CGColorSpaceCreateICCBased(nComponents int, profile obj.Object, alternate obj.Object) (result obj.Object, range_ float64)
- func CGColorSpaceCreateIndexed(baseSpace obj.Object, lastIndex int) (result obj.Object, colorTable uint8)
- func CGColorSpaceCreateLab() (result obj.Object, whitePoint float64, blackPoint float64, range_ float64)
- func CGColorSpaceCreateLinearized(space obj.Object) obj.Object
- func CGColorSpaceCreatePattern(baseSpace obj.Object) obj.Object
- func CGColorSpaceCreateWithColorSyncProfile(arg obj.Object, options obj.Object) obj.Object
- func CGColorSpaceCreateWithICCData(data obj.Object) obj.Object
- func CGColorSpaceCreateWithICCProfile(data obj.Object) obj.Object
- func CGColorSpaceCreateWithName(name obj.Object) obj.Object
- func CGColorSpaceCreateWithPlatformColorSpace(ref unsafe.Pointer) obj.Object
- func CGColorSpaceCreateWithPropertyList(plist obj.Object) obj.Object
- func CGColorSpaceGetBaseColorSpace(space obj.Object) obj.Object
- func CGColorSpaceGetColorTable(space obj.Object) (table uint8)
- func CGColorSpaceGetColorTableCount(space obj.Object) int
- func CGColorSpaceGetName(space obj.Object) obj.Object
- func CGColorSpaceGetNumberOfComponents(space obj.Object) int
- func CGColorSpaceGetTypeID() int
- func CGColorSpaceIsHDR(arg obj.Object) bool
- func CGColorSpaceIsHLGBased(s obj.Object) bool
- func CGColorSpaceIsPQBased(s obj.Object) bool
- func CGColorSpaceIsWideGamutRGB(arg obj.Object) bool
- func CGColorSpaceRelease(space obj.Object)
- func CGColorSpaceRetain(space obj.Object) obj.Object
- func CGColorSpaceSupportsOutput(space obj.Object) bool
- func CGColorSpaceUsesExtendedRange(space obj.Object) bool
- func CGColorSpaceUsesITUR_2100TF(arg obj.Object) bool
- func CGContextAddArc(c obj.Object, x float64, y float64, radius float64, startAngle float64, ...)
- func CGContextAddArcToPoint(c obj.Object, x1 float64, y1 float64, x2 float64, y2 float64, radius float64)
- func CGContextAddCurveToPoint(c obj.Object, cp1x float64, cp1y float64, cp2x float64, cp2y float64, ...)
- func CGContextAddEllipseInRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextAddLineToPoint(c obj.Object, x float64, y float64)
- func CGContextAddLines(c obj.Object, points unsafe.Pointer, count int)
- func CGContextAddPath(c obj.Object, path obj.Object)
- func CGContextAddQuadCurveToPoint(c obj.Object, cpx float64, cpy float64, x float64, y float64)
- func CGContextAddRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextAddRects(c obj.Object, rects unsafe.Pointer, count int)
- func CGContextBeginPage(c obj.Object, mediaBox unsafe.Pointer)
- func CGContextBeginPath(c obj.Object)
- func CGContextBeginTransparencyLayer(c obj.Object, auxiliaryInfo obj.Object)
- func CGContextBeginTransparencyLayerWithRect(c obj.Object, rect corefoundation.CGRect, auxInfo obj.Object)
- func CGContextClearRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextClip(c obj.Object)
- func CGContextClipToMask(c obj.Object, rect corefoundation.CGRect, mask obj.Object)
- func CGContextClipToRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextClipToRects(c obj.Object, rects unsafe.Pointer, count int)
- func CGContextClosePath(c obj.Object)
- func CGContextConcatCTM(c obj.Object, transform corefoundation.CGAffineTransform)
- func CGContextConvertPointToDeviceSpace(c obj.Object, point corefoundation.CGPoint) corefoundation.CGPoint
- func CGContextConvertPointToUserSpace(c obj.Object, point corefoundation.CGPoint) corefoundation.CGPoint
- func CGContextConvertRectToDeviceSpace(c obj.Object, rect corefoundation.CGRect) corefoundation.CGRect
- func CGContextConvertRectToUserSpace(c obj.Object, rect corefoundation.CGRect) corefoundation.CGRect
- func CGContextConvertSizeToDeviceSpace(c obj.Object, size corefoundation.CGSize) corefoundation.CGSize
- func CGContextConvertSizeToUserSpace(c obj.Object, size corefoundation.CGSize) corefoundation.CGSize
- func CGContextCopyPath(c obj.Object) obj.Object
- func CGContextDrawConicGradient(c obj.Object, gradient obj.Object, center corefoundation.CGPoint, ...)
- func CGContextDrawImage(c obj.Object, rect corefoundation.CGRect, image obj.Object)
- func CGContextDrawImageApplyingToneMapping(c obj.Object, r corefoundation.CGRect, image obj.Object, method CGToneMapping, ...) bool
- func CGContextDrawLayerAtPoint(context_ obj.Object, point corefoundation.CGPoint, layer obj.Object)
- func CGContextDrawLayerInRect(context_ obj.Object, rect corefoundation.CGRect, layer obj.Object)
- func CGContextDrawLinearGradient(c obj.Object, gradient obj.Object, startPoint corefoundation.CGPoint, ...)
- func CGContextDrawPDFDocument(c obj.Object, rect corefoundation.CGRect, document obj.Object, page int)
- func CGContextDrawPDFPage(c obj.Object, page obj.Object)
- func CGContextDrawPath(c obj.Object, mode CGPathDrawingMode)
- func CGContextDrawRadialGradient(c obj.Object, gradient obj.Object, startCenter corefoundation.CGPoint, ...)
- func CGContextDrawShading(c obj.Object, shading obj.Object)
- func CGContextDrawTiledImage(c obj.Object, rect corefoundation.CGRect, image obj.Object)
- func CGContextEOClip(c obj.Object)
- func CGContextEOFillPath(c obj.Object)
- func CGContextEndPage(c obj.Object)
- func CGContextEndTransparencyLayer(c obj.Object)
- func CGContextFillEllipseInRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextFillPath(c obj.Object)
- func CGContextFillRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextFillRects(c obj.Object, rects unsafe.Pointer, count int)
- func CGContextFlush(c obj.Object)
- func CGContextGetCTM(c obj.Object) corefoundation.CGAffineTransform
- func CGContextGetClipBoundingBox(c obj.Object) corefoundation.CGRect
- func CGContextGetContentToneMappingInfo(c obj.Object) unsafe.Pointer
- func CGContextGetEDRTargetHeadroom(c obj.Object) float32
- func CGContextGetPathBoundingBox(c obj.Object) corefoundation.CGRect
- func CGContextGetPathCurrentPoint(c obj.Object) corefoundation.CGPoint
- func CGContextGetTextMatrix(c obj.Object) corefoundation.CGAffineTransform
- func CGContextGetTextPosition(c obj.Object) corefoundation.CGPoint
- func CGContextGetTypeID() int
- func CGContextGetUserSpaceToDeviceSpaceTransform(c obj.Object) corefoundation.CGAffineTransform
- func CGContextIsPathEmpty(c obj.Object) bool
- func CGContextMoveToPoint(c obj.Object, x float64, y float64)
- func CGContextPathContainsPoint(c obj.Object, point corefoundation.CGPoint, mode CGPathDrawingMode) bool
- func CGContextRelease(c obj.Object)
- func CGContextReplacePathWithStrokedPath(c obj.Object)
- func CGContextResetClip(c obj.Object)
- func CGContextRestoreGState(c obj.Object)
- func CGContextRetain(c obj.Object) obj.Object
- func CGContextRotateCTM(c obj.Object, angle float64)
- func CGContextSaveGState(c obj.Object)
- func CGContextScaleCTM(c obj.Object, sx float64, sy float64)
- func CGContextSelectFont(c obj.Object, name unsafe.Pointer, size float64, textEncoding CGTextEncoding)
- func CGContextSetAllowsAntialiasing(c obj.Object, allowsAntialiasing bool)
- func CGContextSetAllowsFontSmoothing(c obj.Object, allowsFontSmoothing bool)
- func CGContextSetAllowsFontSubpixelPositioning(c obj.Object, allowsFontSubpixelPositioning bool)
- func CGContextSetAllowsFontSubpixelQuantization(c obj.Object, allowsFontSubpixelQuantization bool)
- func CGContextSetAlpha(c obj.Object, alpha float64)
- func CGContextSetBlendMode(c obj.Object, mode CGBlendMode)
- func CGContextSetCMYKFillColor(c obj.Object, cyan float64, magenta float64, yellow float64, black float64, ...)
- func CGContextSetCMYKStrokeColor(c obj.Object, cyan float64, magenta float64, yellow float64, black float64, ...)
- func CGContextSetCharacterSpacing(c obj.Object, spacing float64)
- func CGContextSetContentToneMappingInfo(c obj.Object, info unsafe.Pointer)
- func CGContextSetEDRTargetHeadroom(c obj.Object, headroom float32) bool
- func CGContextSetFillColor(c obj.Object) (components float64)
- func CGContextSetFillColorSpace(c obj.Object, space obj.Object)
- func CGContextSetFillColorWithColor(c obj.Object, color obj.Object)
- func CGContextSetFillPattern(c obj.Object, pattern obj.Object) (components float64)
- func CGContextSetFlatness(c obj.Object, flatness float64)
- func CGContextSetFont(c obj.Object, font obj.Object)
- func CGContextSetFontSize(c obj.Object, size float64)
- func CGContextSetGrayFillColor(c obj.Object, gray float64, alpha float64)
- func CGContextSetGrayStrokeColor(c obj.Object, gray float64, alpha float64)
- func CGContextSetInterpolationQuality(c obj.Object, quality CGInterpolationQuality)
- func CGContextSetLineCap(c obj.Object, cap_ CGLineCap)
- func CGContextSetLineDash(c obj.Object, phase float64, lengths unsafe.Pointer, count int)
- func CGContextSetLineJoin(c obj.Object, join CGLineJoin)
- func CGContextSetLineWidth(c obj.Object, width float64)
- func CGContextSetMiterLimit(c obj.Object, limit float64)
- func CGContextSetPatternPhase(c obj.Object, phase corefoundation.CGSize)
- func CGContextSetRGBFillColor(c obj.Object, red float64, green float64, blue float64, alpha float64)
- func CGContextSetRGBStrokeColor(c obj.Object, red float64, green float64, blue float64, alpha float64)
- func CGContextSetRenderingIntent(c obj.Object, intent CGColorRenderingIntent)
- func CGContextSetShadow(c obj.Object, offset corefoundation.CGSize, blur float64)
- func CGContextSetShadowWithColor(c obj.Object, offset corefoundation.CGSize, blur float64, color obj.Object)
- func CGContextSetShouldAntialias(c obj.Object, shouldAntialias bool)
- func CGContextSetShouldSmoothFonts(c obj.Object, shouldSmoothFonts bool)
- func CGContextSetShouldSubpixelPositionFonts(c obj.Object, shouldSubpixelPositionFonts bool)
- func CGContextSetShouldSubpixelQuantizeFonts(c obj.Object, shouldSubpixelQuantizeFonts bool)
- func CGContextSetStrokeColor(c obj.Object) (components float64)
- func CGContextSetStrokeColorSpace(c obj.Object, space obj.Object)
- func CGContextSetStrokeColorWithColor(c obj.Object, color obj.Object)
- func CGContextSetStrokePattern(c obj.Object, pattern obj.Object) (components float64)
- func CGContextSetTextDrawingMode(c obj.Object, mode CGTextDrawingMode)
- func CGContextSetTextMatrix(c obj.Object, t corefoundation.CGAffineTransform)
- func CGContextSetTextPosition(c obj.Object, x float64, y float64)
- func CGContextShowGlyphs(c obj.Object, g unsafe.Pointer, count int)
- func CGContextShowGlyphsAtPoint(c obj.Object, x float64, y float64, glyphs unsafe.Pointer, count int)
- func CGContextShowGlyphsAtPositions(c obj.Object, lpositions unsafe.Pointer, count int) (glyphs uint16)
- func CGContextShowGlyphsWithAdvances(c obj.Object, advances unsafe.Pointer, count int) (glyphs uint16)
- func CGContextShowText(c obj.Object, str unsafe.Pointer, length int)
- func CGContextShowTextAtPoint(c obj.Object, x float64, y float64, str unsafe.Pointer, length int)
- func CGContextStrokeEllipseInRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextStrokeLineSegments(c obj.Object, points unsafe.Pointer, count int)
- func CGContextStrokePath(c obj.Object)
- func CGContextStrokeRect(c obj.Object, rect corefoundation.CGRect)
- func CGContextStrokeRectWithWidth(c obj.Object, rect corefoundation.CGRect, width float64)
- func CGContextSynchronize(c obj.Object)
- func CGContextSynchronizeAttributes(c obj.Object)
- func CGContextTranslateCTM(c obj.Object, tx float64, ty float64)
- func CGConvertColorDataWithFormat(width int, height int, dstData unsafe.Pointer, dstFormat unsafe.Pointer, ...) bool
- func CGCursorIsDrawnInFramebuffer() int
- func CGCursorIsVisible() int
- func CGDataConsumerCreate(info unsafe.Pointer, cbks unsafe.Pointer) obj.Object
- func CGDataConsumerCreateWithCFData(data obj.Object) obj.Object
- func CGDataConsumerCreateWithURL(url obj.Object) obj.Object
- func CGDataConsumerGetTypeID() int
- func CGDataConsumerRelease(consumer obj.Object)
- func CGDataConsumerRetain(consumer obj.Object) obj.Object
- func CGDataProviderCopyData(provider obj.Object) obj.Object
- func CGDataProviderCreateDirect(info unsafe.Pointer, size int64, callbacks unsafe.Pointer) obj.Object
- func CGDataProviderCreateSequential(info unsafe.Pointer, callbacks unsafe.Pointer) obj.Object
- func CGDataProviderCreateWithCFData(data obj.Object) obj.Object
- func CGDataProviderCreateWithData(info unsafe.Pointer, data unsafe.Pointer, size int, releaseData unsafe.Pointer) obj.Object
- func CGDataProviderCreateWithFilename(filename string) obj.Object
- func CGDataProviderCreateWithURL(url obj.Object) obj.Object
- func CGDataProviderGetInfo(provider obj.Object) unsafe.Pointer
- func CGDataProviderGetTypeID() int
- func CGDataProviderRelease(provider obj.Object)
- func CGDataProviderRetain(provider obj.Object) obj.Object
- func CGDirectDisplayCopyCurrentMetalDevice(display uint32) unsafe.Pointer
- func CGDisplayAvailableModes(dsp uint32) obj.Object
- func CGDisplayBestModeForParameters(display uint32, bitsPerPixel int, width int, height int) (result obj.Object, exactMatch int)
- func CGDisplayBestModeForParametersAndRefreshRate(display uint32, bitsPerPixel int, width int, height int, refreshRate float64) (result obj.Object, exactMatch int)
- func CGDisplayBounds(display uint32) corefoundation.CGRect
- func CGDisplayCopyAllDisplayModes(display uint32, options obj.Object) obj.Object
- func CGDisplayCopyColorSpace(display uint32) obj.Object
- func CGDisplayCopyDisplayMode(display uint32) obj.Object
- func CGDisplayCurrentMode(display uint32) obj.Object
- func CGDisplayFadeOperationInProgress() int
- func CGDisplayGammaTableCapacity(display uint32) uint32
- func CGDisplayGetDrawingContext(display uint32) obj.Object
- func CGDisplayIDToOpenGLDisplayMask(display uint32) uint32
- func CGDisplayIOServicePort(display uint32) int
- func CGDisplayIsActive(display uint32) int
- func CGDisplayIsAlwaysInMirrorSet(display uint32) int
- func CGDisplayIsAsleep(display uint32) int
- func CGDisplayIsBuiltin(display uint32) int
- func CGDisplayIsCaptured(display uint32) int
- func CGDisplayIsInHWMirrorSet(display uint32) int
- func CGDisplayIsInMirrorSet(display uint32) int
- func CGDisplayIsMain(display uint32) int
- func CGDisplayIsOnline(display uint32) int
- func CGDisplayIsStereo(display uint32) int
- func CGDisplayMirrorsDisplay(display uint32) uint32
- func CGDisplayModeCopyPixelEncoding(mode obj.Object) obj.Object
- func CGDisplayModeGetHeight(mode obj.Object) int
- func CGDisplayModeGetIODisplayModeID(mode obj.Object) int32
- func CGDisplayModeGetIOFlags(mode obj.Object) uint32
- func CGDisplayModeGetPixelHeight(mode obj.Object) int
- func CGDisplayModeGetPixelWidth(mode obj.Object) int
- func CGDisplayModeGetRefreshRate(mode obj.Object) float64
- func CGDisplayModeGetTypeID() int
- func CGDisplayModeGetWidth(mode obj.Object) int
- func CGDisplayModeIsUsableForDesktopGUI(mode obj.Object) bool
- func CGDisplayModeRelease(mode obj.Object)
- func CGDisplayModeRetain(mode obj.Object) obj.Object
- func CGDisplayModelNumber(display uint32) uint32
- func CGDisplayPixelsHigh(display uint32) int
- func CGDisplayPixelsWide(display uint32) int
- func CGDisplayPrimaryDisplay(display uint32) uint32
- func CGDisplayRestoreColorSyncSettings()
- func CGDisplayRotation(display uint32) float64
- func CGDisplayScreenSize(display uint32) corefoundation.CGSize
- func CGDisplaySerialNumber(display uint32) uint32
- func CGDisplayUnitNumber(display uint32) uint32
- func CGDisplayUsesOpenGLAcceleration(display uint32) int
- func CGDisplayVendorNumber(display uint32) uint32
- func CGEXRToneMappingGammaGetDefaultOptions() obj.Object
- func CGErrorSetCallback(callback unsafe.Pointer)
- func CGEventCreate(source obj.Object) obj.Object
- func CGEventCreateCopy(event obj.Object) obj.Object
- func CGEventCreateData(allocator obj.Object, event obj.Object) obj.Object
- func CGEventCreateFromData(allocator obj.Object, data obj.Object) obj.Object
- func CGEventCreateKeyboardEvent(source obj.Object, virtualKey uint16, keyDown bool) obj.Object
- func CGEventCreateMouseEvent(source obj.Object, mouseType CGEventType, ...) obj.Object
- func CGEventCreateScrollWheelEvent2(source obj.Object, units CGScrollEventUnit, wheelCount uint32, wheel1 int32, ...) obj.Object
- func CGEventCreateSourceFromEvent(event obj.Object) obj.Object
- func CGEventGetDoubleValueField(event obj.Object, field CGEventField) float64
- func CGEventGetIntegerValueField(event obj.Object, field CGEventField) int64
- func CGEventGetLocation(event obj.Object) corefoundation.CGPoint
- func CGEventGetTimestamp(event obj.Object) uint64
- func CGEventGetTypeID() int
- func CGEventGetUnflippedLocation(event obj.Object) corefoundation.CGPoint
- func CGEventKeyboardGetUnicodeString(event obj.Object, maxStringLength int) (actualStringLength int, unicodeString uint16)
- func CGEventKeyboardSetUnicodeString(event obj.Object, stringLength int) (unicodeString uint16)
- func CGEventPost(tap CGEventTapLocation, event obj.Object)
- func CGEventPostToPSN(processSerialNumber unsafe.Pointer, event obj.Object)
- func CGEventPostToPid(pid int, event obj.Object)
- func CGEventSetDoubleValueField(event obj.Object, field CGEventField, value float64)
- func CGEventSetFlags(event obj.Object, flags CGEventFlags)
- func CGEventSetIntegerValueField(event obj.Object, field CGEventField, value int64)
- func CGEventSetLocation(event obj.Object, location corefoundation.CGPoint)
- func CGEventSetSource(event obj.Object, source obj.Object)
- func CGEventSetTimestamp(event obj.Object, timestamp uint64)
- func CGEventSetType(event obj.Object, type_ CGEventType)
- func CGEventSourceButtonState(stateID CGEventSourceStateID, button CGMouseButton) bool
- func CGEventSourceCounterForEventType(stateID CGEventSourceStateID, eventType CGEventType) uint32
- func CGEventSourceCreate(stateID CGEventSourceStateID) obj.Object
- func CGEventSourceGetKeyboardType(source obj.Object) uint32
- func CGEventSourceGetLocalEventsSuppressionInterval(source obj.Object) float64
- func CGEventSourceGetPixelsPerLine(source obj.Object) float64
- func CGEventSourceGetTypeID() int
- func CGEventSourceGetUserData(source obj.Object) int64
- func CGEventSourceKeyState(stateID CGEventSourceStateID, key uint16) bool
- func CGEventSourceSecondsSinceLastEventType(stateID CGEventSourceStateID, eventType CGEventType) float64
- func CGEventSourceSetKeyboardType(source obj.Object, keyboardType uint32)
- func CGEventSourceSetLocalEventsFilterDuringSuppressionState(source obj.Object, filter CGEventFilterMask, state CGEventSuppressionState)
- func CGEventSourceSetLocalEventsSuppressionInterval(source obj.Object, seconds float64)
- func CGEventSourceSetPixelsPerLine(source obj.Object, pixelsPerLine float64)
- func CGEventSourceSetUserData(source obj.Object, userData int64)
- func CGEventTapCreate(tap CGEventTapLocation, place CGEventTapPlacement, options CGEventTapOptions, ...) obj.Object
- func CGEventTapCreateForPSN(processSerialNumber unsafe.Pointer, place CGEventTapPlacement, ...) obj.Object
- func CGEventTapCreateForPid(pid int, place CGEventTapPlacement, options CGEventTapOptions, ...) obj.Object
- func CGEventTapEnable(tap obj.Object, enable bool)
- func CGEventTapIsEnabled(tap obj.Object) bool
- func CGEventTapPostEvent(proxy obj.Object, event obj.Object)
- func CGFontCanCreatePostScriptSubset(font obj.Object, format CGFontPostScriptFormat) bool
- func CGFontCopyFullName(font obj.Object) obj.Object
- func CGFontCopyGlyphNameForGlyph(font obj.Object, glyph uint16) obj.Object
- func CGFontCopyPostScriptName(font obj.Object) obj.Object
- func CGFontCopyTableForTag(font obj.Object, tag uint32) obj.Object
- func CGFontCopyTableTags(font obj.Object) obj.Object
- func CGFontCopyVariationAxes(font obj.Object) obj.Object
- func CGFontCopyVariations(font obj.Object) obj.Object
- func CGFontCreateCopyWithVariations(font obj.Object, variations obj.Object) obj.Object
- func CGFontCreatePostScriptEncoding(font obj.Object) (result obj.Object, encoding uint16)
- func CGFontCreatePostScriptSubset(font obj.Object, subsetName obj.Object, format CGFontPostScriptFormat, ...) (result obj.Object, encoding uint16)
- func CGFontCreateWithDataProvider(provider obj.Object) obj.Object
- func CGFontCreateWithFontName(name obj.Object) obj.Object
- func CGFontCreateWithPlatformFont(platformFontReference unsafe.Pointer) obj.Object
- func CGFontGetAscent(font obj.Object) int
- func CGFontGetCapHeight(font obj.Object) int
- func CGFontGetDescent(font obj.Object) int
- func CGFontGetFontBBox(font obj.Object) corefoundation.CGRect
- func CGFontGetGlyphAdvances(font obj.Object, glyphs unsafe.Pointer, count int) (ok bool, advances int32)
- func CGFontGetGlyphBBoxes(font obj.Object, glyphs unsafe.Pointer, count int, bboxes unsafe.Pointer) bool
- func CGFontGetGlyphWithGlyphName(font obj.Object, name obj.Object) uint16
- func CGFontGetItalicAngle(font obj.Object) float64
- func CGFontGetLeading(font obj.Object) int
- func CGFontGetNumberOfGlyphs(font obj.Object) int
- func CGFontGetStemV(font obj.Object) float64
- func CGFontGetTypeID() int
- func CGFontGetUnitsPerEm(font obj.Object) int
- func CGFontGetXHeight(font obj.Object) int
- func CGFontRelease(font obj.Object)
- func CGFontRetain(font obj.Object) obj.Object
- func CGFunctionCreate(info unsafe.Pointer, domainDimension int, rangeDimension int, ...) (result obj.Object, domain float64, range_ float64)
- func CGFunctionGetTypeID() int
- func CGFunctionRelease(function obj.Object)
- func CGFunctionRetain(function obj.Object) obj.Object
- func CGGetLastMouseDelta() (deltaX int32, deltaY int32)
- func CGGradientCreateWithColorComponents(space obj.Object, locations unsafe.Pointer, count int) (result obj.Object, components float64)
- func CGGradientCreateWithColors(space obj.Object, colors obj.Object) (result obj.Object, locations float64)
- func CGGradientCreateWithContentHeadroom(headroom float32, space obj.Object, locations unsafe.Pointer, count int) (result obj.Object, components float64)
- func CGGradientGetContentHeadroom(gradient obj.Object) float32
- func CGGradientGetTypeID() int
- func CGGradientRelease(gradient obj.Object)
- func CGGradientRetain(gradient obj.Object) obj.Object
- func CGImageCalculateContentAverageLightLevel(image obj.Object) float32
- func CGImageCalculateContentHeadroom(image obj.Object) float32
- func CGImageContainsImageSpecificToneMappingMetadata(image obj.Object) bool
- func CGImageCreate(width int, height int, bitsPerComponent int, bitsPerPixel int, bytesPerRow int, ...) (result obj.Object, decode float64)
- func CGImageCreateCopy(image obj.Object) obj.Object
- func CGImageCreateCopyWithCalculatedHDRStats(image obj.Object) obj.Object
- func CGImageCreateCopyWithColorSpace(image obj.Object, space obj.Object) obj.Object
- func CGImageCreateCopyWithContentAverageLightLevel(image obj.Object, avll float32) obj.Object
- func CGImageCreateCopyWithContentHeadroom(headroom float32, image obj.Object) obj.Object
- func CGImageCreateWithContentHeadroom(headroom float32, width int, height int, bitsPerComponent int, ...) (result obj.Object, decode float64)
- func CGImageCreateWithImageInRect(image obj.Object, rect corefoundation.CGRect) obj.Object
- func CGImageCreateWithJPEGDataProvider(source obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
- func CGImageCreateWithMask(image obj.Object, mask obj.Object) obj.Object
- func CGImageCreateWithMaskingColors(image obj.Object) (result obj.Object, components float64)
- func CGImageCreateWithPNGDataProvider(source obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
- func CGImageGetBitsPerComponent(image obj.Object) int
- func CGImageGetBitsPerPixel(image obj.Object) int
- func CGImageGetBytesPerRow(image obj.Object) int
- func CGImageGetColorSpace(image obj.Object) obj.Object
- func CGImageGetContentAverageLightLevel(image obj.Object) float32
- func CGImageGetContentHeadroom(image obj.Object) float32
- func CGImageGetDataProvider(image obj.Object) obj.Object
- func CGImageGetDecode(image obj.Object) unsafe.Pointer
- func CGImageGetHeight(image obj.Object) int
- func CGImageGetShouldInterpolate(image obj.Object) bool
- func CGImageGetTypeID() int
- func CGImageGetUTType(image obj.Object) obj.Object
- func CGImageGetWidth(image obj.Object) int
- func CGImageIsMask(image obj.Object) bool
- func CGImageMaskCreate(width int, height int, bitsPerComponent int, bitsPerPixel int, bytesPerRow int, ...) (result obj.Object, decode float64)
- func CGImageRelease(image obj.Object)
- func CGImageRetain(image obj.Object) obj.Object
- func CGImageShouldToneMap(image obj.Object) bool
- func CGLayerCreateWithContext(context_ obj.Object, size corefoundation.CGSize, auxiliaryInfo obj.Object) obj.Object
- func CGLayerGetContext(layer obj.Object) obj.Object
- func CGLayerGetSize(layer obj.Object) corefoundation.CGSize
- func CGLayerGetTypeID() int
- func CGLayerRelease(layer obj.Object)
- func CGLayerRetain(layer obj.Object) obj.Object
- func CGMainDisplayID() uint32
- func CGOpenGLDisplayMaskToDisplayID(mask uint32) uint32
- func CGPDFArrayApplyBlock(array obj.Object, block unsafe.Pointer, info unsafe.Pointer)
- func CGPDFArrayGetArray(array obj.Object, index int, value unsafe.Pointer) bool
- func CGPDFArrayGetBoolean(array obj.Object, index int) (ok bool, value uint8)
- func CGPDFArrayGetCount(array obj.Object) int
- func CGPDFArrayGetDictionary(array obj.Object, index int, value unsafe.Pointer) bool
- func CGPDFArrayGetInteger(array obj.Object, index int) (ok bool, value int)
- func CGPDFArrayGetName(array obj.Object, index int, value string) bool
- func CGPDFArrayGetNull(array obj.Object, index int) bool
- func CGPDFArrayGetNumber(array obj.Object, index int) (ok bool, value float64)
- func CGPDFArrayGetObject(array obj.Object, index int, value unsafe.Pointer) bool
- func CGPDFArrayGetStream(array obj.Object, index int, value unsafe.Pointer) bool
- func CGPDFArrayGetString(array obj.Object, index int, value unsafe.Pointer) bool
- func CGPDFContentStreamCreateWithPage(page obj.Object) obj.Object
- func CGPDFContentStreamCreateWithStream(stream obj.Object, streamResources obj.Object, parent obj.Object) obj.Object
- func CGPDFContentStreamGetResource(cs obj.Object, category string, name string) obj.Object
- func CGPDFContentStreamGetStreams(cs obj.Object) obj.Object
- func CGPDFContentStreamRelease(cs obj.Object)
- func CGPDFContentStreamRetain(cs obj.Object) obj.Object
- func CGPDFContextAddDestinationAtPoint(context_ obj.Object, name obj.Object, point corefoundation.CGPoint)
- func CGPDFContextAddDocumentMetadata(context_ obj.Object, metadata obj.Object)
- func CGPDFContextBeginPage(context_ obj.Object, pageInfo obj.Object)
- func CGPDFContextBeginTag(context_ obj.Object, tagType CGPDFTagType, tagProperties obj.Object)
- func CGPDFContextClose(context_ obj.Object)
- func CGPDFContextCreate(consumer obj.Object, mediaBox unsafe.Pointer, auxiliaryInfo obj.Object) obj.Object
- func CGPDFContextCreateWithURL(url obj.Object, mediaBox unsafe.Pointer, auxiliaryInfo obj.Object) obj.Object
- func CGPDFContextEndPage(context_ obj.Object)
- func CGPDFContextEndTag(context_ obj.Object)
- func CGPDFContextSetDestinationForRect(context_ obj.Object, name obj.Object, rect corefoundation.CGRect)
- func CGPDFContextSetIDTree(context_ obj.Object, idTreeDictionary obj.Object)
- func CGPDFContextSetOutline(context_ obj.Object, outline obj.Object)
- func CGPDFContextSetPageTagStructureTree(context_ obj.Object, pageTagStructureTreeDictionary obj.Object)
- func CGPDFContextSetParentTree(context_ obj.Object, parentTreeDictionary obj.Object)
- func CGPDFContextSetURLForRect(context_ obj.Object, url obj.Object, rect corefoundation.CGRect)
- func CGPDFDictionaryApplyBlock(dict obj.Object, block unsafe.Pointer, info unsafe.Pointer)
- func CGPDFDictionaryApplyFunction(dict obj.Object, function unsafe.Pointer, info unsafe.Pointer)
- func CGPDFDictionaryGetArray(dict obj.Object, key string, value unsafe.Pointer) bool
- func CGPDFDictionaryGetBoolean(dict obj.Object, key string) (ok bool, value uint8)
- func CGPDFDictionaryGetCount(dict obj.Object) int
- func CGPDFDictionaryGetDictionary(dict obj.Object, key string, value unsafe.Pointer) bool
- func CGPDFDictionaryGetInteger(dict obj.Object, key string) (ok bool, value int)
- func CGPDFDictionaryGetName(dict obj.Object, key string, value string) bool
- func CGPDFDictionaryGetNumber(dict obj.Object, key string) (ok bool, value float64)
- func CGPDFDictionaryGetObject(dict obj.Object, key string, value unsafe.Pointer) bool
- func CGPDFDictionaryGetStream(dict obj.Object, key string, value unsafe.Pointer) bool
- func CGPDFDictionaryGetString(dict obj.Object, key string, value unsafe.Pointer) bool
- func CGPDFDocumentAllowsCopying(document obj.Object) bool
- func CGPDFDocumentAllowsPrinting(document obj.Object) bool
- func CGPDFDocumentCreateWithProvider(provider obj.Object) obj.Object
- func CGPDFDocumentCreateWithURL(url obj.Object) obj.Object
- func CGPDFDocumentGetArtBox(document obj.Object, page int) corefoundation.CGRect
- func CGPDFDocumentGetBleedBox(document obj.Object, page int) corefoundation.CGRect
- func CGPDFDocumentGetCatalog(document obj.Object) obj.Object
- func CGPDFDocumentGetCropBox(document obj.Object, page int) corefoundation.CGRect
- func CGPDFDocumentGetID(document obj.Object) obj.Object
- func CGPDFDocumentGetInfo(document obj.Object) obj.Object
- func CGPDFDocumentGetMediaBox(document obj.Object, page int) corefoundation.CGRect
- func CGPDFDocumentGetNumberOfPages(document obj.Object) int
- func CGPDFDocumentGetOutline(document obj.Object) obj.Object
- func CGPDFDocumentGetPage(document obj.Object, pageNumber int) obj.Object
- func CGPDFDocumentGetRotationAngle(document obj.Object, page int) int
- func CGPDFDocumentGetTrimBox(document obj.Object, page int) corefoundation.CGRect
- func CGPDFDocumentGetTypeID() int
- func CGPDFDocumentGetVersion(document obj.Object) (majorVersion int32, minorVersion int32)
- func CGPDFDocumentIsEncrypted(document obj.Object) bool
- func CGPDFDocumentIsUnlocked(document obj.Object) bool
- func CGPDFDocumentRelease(document obj.Object)
- func CGPDFDocumentRetain(document obj.Object) obj.Object
- func CGPDFDocumentUnlockWithPassword(document obj.Object, password string) bool
- func CGPDFObjectGetValue(object obj.Object, type_ CGPDFObjectType, value unsafe.Pointer) bool
- func CGPDFOperatorTableCreate() obj.Object
- func CGPDFOperatorTableRelease(table obj.Object)
- func CGPDFOperatorTableRetain(table obj.Object) obj.Object
- func CGPDFOperatorTableSetCallback(table obj.Object, name string, callback unsafe.Pointer)
- func CGPDFPageGetBoxRect(page obj.Object, box CGPDFBox) corefoundation.CGRect
- func CGPDFPageGetDictionary(page obj.Object) obj.Object
- func CGPDFPageGetDocument(page obj.Object) obj.Object
- func CGPDFPageGetDrawingTransform(page obj.Object, box CGPDFBox, rect corefoundation.CGRect, rotate int, ...) corefoundation.CGAffineTransform
- func CGPDFPageGetPageNumber(page obj.Object) int
- func CGPDFPageGetRotationAngle(page obj.Object) int
- func CGPDFPageGetTypeID() int
- func CGPDFPageRelease(page obj.Object)
- func CGPDFPageRetain(page obj.Object) obj.Object
- func CGPDFScannerCreate(cs obj.Object, table obj.Object, info unsafe.Pointer) obj.Object
- func CGPDFScannerGetContentStream(scanner obj.Object) obj.Object
- func CGPDFScannerPopArray(scanner obj.Object, value unsafe.Pointer) bool
- func CGPDFScannerPopBoolean(scanner obj.Object) (ok bool, value uint8)
- func CGPDFScannerPopDictionary(scanner obj.Object, value unsafe.Pointer) bool
- func CGPDFScannerPopInteger(scanner obj.Object) (ok bool, value int)
- func CGPDFScannerPopName(scanner obj.Object, value string) bool
- func CGPDFScannerPopNumber(scanner obj.Object) (ok bool, value float64)
- func CGPDFScannerPopObject(scanner obj.Object, value unsafe.Pointer) bool
- func CGPDFScannerPopStream(scanner obj.Object, value unsafe.Pointer) bool
- func CGPDFScannerPopString(scanner obj.Object, value unsafe.Pointer) bool
- func CGPDFScannerRelease(scanner obj.Object)
- func CGPDFScannerRetain(scanner obj.Object) obj.Object
- func CGPDFScannerScan(scanner obj.Object) bool
- func CGPDFScannerStop(s obj.Object)
- func CGPDFStreamGetDictionary(stream obj.Object) obj.Object
- func CGPDFStringCopyDate(str obj.Object) obj.Object
- func CGPDFStringCopyTextString(str obj.Object) obj.Object
- func CGPDFStringGetBytePtr(str obj.Object) unsafe.Pointer
- func CGPDFStringGetLength(str obj.Object) int
- func CGPDFTagTypeGetName(tagType CGPDFTagType) string
- func CGPSConverterAbort(converter obj.Object) bool
- func CGPSConverterConvert(converter obj.Object, provider obj.Object, consumer obj.Object, ...) bool
- func CGPSConverterCreate(info unsafe.Pointer, callbacks unsafe.Pointer, options obj.Object) obj.Object
- func CGPSConverterGetTypeID() int
- func CGPSConverterIsConverting(converter obj.Object) bool
- func CGPathAddArc(path obj.Object, m unsafe.Pointer, x float64, y float64, radius float64, ...)
- func CGPathAddArcToPoint(path obj.Object, m unsafe.Pointer, x1 float64, y1 float64, x2 float64, ...)
- func CGPathAddCurveToPoint(path obj.Object, m unsafe.Pointer, cp1x float64, cp1y float64, cp2x float64, ...)
- func CGPathAddEllipseInRect(path obj.Object, m unsafe.Pointer, rect corefoundation.CGRect)
- func CGPathAddLineToPoint(path obj.Object, m unsafe.Pointer, x float64, y float64)
- func CGPathAddLines(path obj.Object, m unsafe.Pointer, points unsafe.Pointer, count int)
- func CGPathAddPath(path1 obj.Object, m unsafe.Pointer, path2 obj.Object)
- func CGPathAddQuadCurveToPoint(path obj.Object, m unsafe.Pointer, cpx float64, cpy float64, x float64, ...)
- func CGPathAddRect(path obj.Object, m unsafe.Pointer, rect corefoundation.CGRect)
- func CGPathAddRects(path obj.Object, m unsafe.Pointer, rects unsafe.Pointer, count int)
- func CGPathAddRelativeArc(path obj.Object, matrix unsafe.Pointer, x float64, y float64, radius float64, ...)
- func CGPathAddRoundedRect(path obj.Object, transform unsafe.Pointer, rect corefoundation.CGRect, ...)
- func CGPathApply(path obj.Object, info unsafe.Pointer, function unsafe.Pointer)
- func CGPathApplyWithBlock(path obj.Object, block unsafe.Pointer)
- func CGPathCloseSubpath(path obj.Object)
- func CGPathContainsPoint(path obj.Object, m unsafe.Pointer, point corefoundation.CGPoint, eoFill bool) bool
- func CGPathCreateCopy(path obj.Object) obj.Object
- func CGPathCreateCopyByDashingPath(path obj.Object, transform unsafe.Pointer, phase float64, ...) obj.Object
- func CGPathCreateCopyByFlattening(path obj.Object, flatteningThreshold float64) obj.Object
- func CGPathCreateCopyByIntersectingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyByNormalizing(path obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyByStrokingPath(path obj.Object, transform unsafe.Pointer, lineWidth float64, ...) obj.Object
- func CGPathCreateCopyBySubtractingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyBySymmetricDifferenceOfPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyByTransformingPath(path obj.Object, transform unsafe.Pointer) obj.Object
- func CGPathCreateCopyByUnioningPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyOfLineByIntersectingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateCopyOfLineBySubtractingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateMutable() obj.Object
- func CGPathCreateMutableCopy(path obj.Object) obj.Object
- func CGPathCreateMutableCopyByTransformingPath(path obj.Object, transform unsafe.Pointer) obj.Object
- func CGPathCreateSeparateComponents(path obj.Object, evenOddFillRule bool) obj.Object
- func CGPathCreateWithEllipseInRect(rect corefoundation.CGRect, transform unsafe.Pointer) obj.Object
- func CGPathCreateWithRect(rect corefoundation.CGRect, transform unsafe.Pointer) obj.Object
- func CGPathCreateWithRoundedRect(rect corefoundation.CGRect, cornerWidth float64, cornerHeight float64, ...) obj.Object
- func CGPathEqualToPath(path1 obj.Object, path2 obj.Object) bool
- func CGPathGetBoundingBox(path obj.Object) corefoundation.CGRect
- func CGPathGetCurrentPoint(path obj.Object) corefoundation.CGPoint
- func CGPathGetPathBoundingBox(path obj.Object) corefoundation.CGRect
- func CGPathGetTypeID() int
- func CGPathIntersectsPath(path1 obj.Object, path2 obj.Object, evenOddFillRule bool) bool
- func CGPathIsEmpty(path obj.Object) bool
- func CGPathIsRect(path obj.Object, rect unsafe.Pointer) bool
- func CGPathMoveToPoint(path obj.Object, m unsafe.Pointer, x float64, y float64)
- func CGPathRelease(path obj.Object)
- func CGPathRetain(path obj.Object) obj.Object
- func CGPatternCreate(info unsafe.Pointer, bounds corefoundation.CGRect, ...) obj.Object
- func CGPatternGetTypeID() int
- func CGPatternRelease(pattern obj.Object)
- func CGPatternRetain(pattern obj.Object) obj.Object
- func CGPointApplyAffineTransform(point corefoundation.CGPoint, t corefoundation.CGAffineTransform) corefoundation.CGPoint
- func CGPointCreateDictionaryRepresentation(point corefoundation.CGPoint) obj.Object
- func CGPointEqualToPoint(point1 corefoundation.CGPoint, point2 corefoundation.CGPoint) bool
- func CGPointMake(x float64, y float64) corefoundation.CGPoint
- func CGPointMakeWithDictionaryRepresentation(dict obj.Object, point unsafe.Pointer) bool
- func CGPointZero() corefoundation.CGPoint
- func CGPreflightListenEventAccess() bool
- func CGPreflightPostEventAccess() bool
- func CGPreflightScreenCaptureAccess() bool
- func CGRectApplyAffineTransform(rect corefoundation.CGRect, t corefoundation.CGAffineTransform) corefoundation.CGRect
- func CGRectContainsPoint(rect corefoundation.CGRect, point corefoundation.CGPoint) bool
- func CGRectContainsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
- func CGRectCreateDictionaryRepresentation(arg corefoundation.CGRect) obj.Object
- func CGRectDivide(rect corefoundation.CGRect, slice unsafe.Pointer, remainder unsafe.Pointer, ...)
- func CGRectEqualToRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
- func CGRectGetHeight(rect corefoundation.CGRect) float64
- func CGRectGetMaxX(rect corefoundation.CGRect) float64
- func CGRectGetMaxY(rect corefoundation.CGRect) float64
- func CGRectGetMidX(rect corefoundation.CGRect) float64
- func CGRectGetMidY(rect corefoundation.CGRect) float64
- func CGRectGetMinX(rect corefoundation.CGRect) float64
- func CGRectGetMinY(rect corefoundation.CGRect) float64
- func CGRectGetWidth(rect corefoundation.CGRect) float64
- func CGRectInfinite() corefoundation.CGRect
- func CGRectInset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect
- func CGRectIntegral(rect corefoundation.CGRect) corefoundation.CGRect
- func CGRectIntersection(r1 corefoundation.CGRect, r2 corefoundation.CGRect) corefoundation.CGRect
- func CGRectIntersectsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
- func CGRectIsEmpty(rect corefoundation.CGRect) bool
- func CGRectIsInfinite(rect corefoundation.CGRect) bool
- func CGRectIsNull(rect corefoundation.CGRect) bool
- func CGRectMake(x float64, y float64, width float64, height float64) corefoundation.CGRect
- func CGRectMakeWithDictionaryRepresentation(dict obj.Object, rect unsafe.Pointer) bool
- func CGRectNull() corefoundation.CGRect
- func CGRectOffset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect
- func CGRectStandardize(rect corefoundation.CGRect) corefoundation.CGRect
- func CGRectUnion(r1 corefoundation.CGRect, r2 corefoundation.CGRect) corefoundation.CGRect
- func CGRectZero() corefoundation.CGRect
- func CGReleaseScreenRefreshRects(rects unsafe.Pointer)
- func CGRenderingBufferLockBytePtr(provider obj.Object) unsafe.Pointer
- func CGRenderingBufferProviderCreate(info unsafe.Pointer, size int, lockPointer unsafe.Pointer, ...) obj.Object
- func CGRenderingBufferProviderCreateWithCFData(data obj.Object) obj.Object
- func CGRenderingBufferProviderGetSize(provider obj.Object) int
- func CGRenderingBufferProviderGetTypeID() int
- func CGRenderingBufferUnlockBytePtr(provider obj.Object)
- func CGRequestListenEventAccess() bool
- func CGRequestPostEventAccess() bool
- func CGRequestScreenCaptureAccess() bool
- func CGRestorePermanentDisplayConfiguration()
- func CGScreenUnregisterMoveCallback(callback unsafe.Pointer, userInfo unsafe.Pointer)
- func CGSessionCopyCurrentDictionary() obj.Object
- func CGShadingCreateAxial(space obj.Object, start corefoundation.CGPoint, end corefoundation.CGPoint, ...) obj.Object
- func CGShadingCreateAxialWithContentHeadroom(headroom float32, space obj.Object, start corefoundation.CGPoint, ...) obj.Object
- func CGShadingCreateRadial(space obj.Object, start corefoundation.CGPoint, startRadius float64, ...) obj.Object
- func CGShadingCreateRadialWithContentHeadroom(headroom float32, space obj.Object, start corefoundation.CGPoint, ...) obj.Object
- func CGShadingGetContentHeadroom(shading obj.Object) float32
- func CGShadingGetTypeID() int
- func CGShadingRelease(shading obj.Object)
- func CGShadingRetain(shading obj.Object) obj.Object
- func CGShieldingWindowID(display uint32) uint32
- func CGShieldingWindowLevel() int32
- func CGSizeApplyAffineTransform(size corefoundation.CGSize, t corefoundation.CGAffineTransform) corefoundation.CGSize
- func CGSizeCreateDictionaryRepresentation(size corefoundation.CGSize) obj.Object
- func CGSizeEqualToSize(size1 corefoundation.CGSize, size2 corefoundation.CGSize) bool
- func CGSizeMake(width float64, height float64) corefoundation.CGSize
- func CGSizeMakeWithDictionaryRepresentation(dict obj.Object, size unsafe.Pointer) bool
- func CGSizeZero() corefoundation.CGSize
- func CGUnregisterScreenRefreshCallback(callback unsafe.Pointer, userInfo unsafe.Pointer)
- func CGVectorMake(dx float64, dy float64) corefoundation.CGVector
- func CGWaitForScreenUpdateRects(requestedOperations CGScreenUpdateOperation, rects unsafe.Pointer) (result CGError, currentOperation CGScreenUpdateOperation, rectCount int, ...)
- func CGWindowLevelForKey(key CGWindowLevelKey) int32
- func CGWindowListCopyWindowInfo(option CGWindowListOption, relativeToWindow uint32) obj.Object
- func CGWindowListCreate(option CGWindowListOption, relativeToWindow uint32) obj.Object
- func CGWindowListCreateDescriptionFromArray(windowArray obj.Object) obj.Object
- func CGWindowListCreateImage(screenBounds corefoundation.CGRect, listOption CGWindowListOption, ...) obj.Object
- func CGWindowListCreateImageFromArray(screenBounds corefoundation.CGRect, windowArray obj.Object, ...) obj.Object
- func CGWindowServerCFMachPort() obj.Object
- func CGWindowServerCreateServerPort() obj.Object
- func KCGAdaptiveMaximumBitDepth() obj.Object
- func KCGColorBlack() obj.Object
- func KCGColorClear() obj.Object
- func KCGColorConversionBlackPointCompensation() obj.Object
- func KCGColorConversionTRCSize() obj.Object
- func KCGColorSpaceACESCGLinear() obj.Object
- func KCGColorSpaceAdobeRGB1998() obj.Object
- func KCGColorSpaceCoreMedia709() obj.Object
- func KCGColorSpaceDCIP3() obj.Object
- func KCGColorSpaceDisplayP3() obj.Object
- func KCGColorSpaceDisplayP3_HLG() obj.Object
- func KCGColorSpaceDisplayP3_PQ() obj.Object
- func KCGColorSpaceDisplayP3_PQ_EOTF() obj.Object
- func KCGColorSpaceExtendedDisplayP3() obj.Object
- func KCGColorSpaceExtendedGray() obj.Object
- func KCGColorSpaceExtendedITUR_2020() obj.Object
- func KCGColorSpaceExtendedLinearDisplayP3() obj.Object
- func KCGColorSpaceExtendedLinearGray() obj.Object
- func KCGColorSpaceExtendedLinearITUR_2020() obj.Object
- func KCGColorSpaceExtendedLinearSRGB() obj.Object
- func KCGColorSpaceExtendedRange() obj.Object
- func KCGColorSpaceExtendedSRGB() obj.Object
- func KCGColorSpaceGenericCMYK() obj.Object
- func KCGColorSpaceGenericGray() obj.Object
- func KCGColorSpaceGenericGrayGamma2_2() obj.Object
- func KCGColorSpaceGenericLab() obj.Object
- func KCGColorSpaceGenericRGB() obj.Object
- func KCGColorSpaceGenericRGBLinear() obj.Object
- func KCGColorSpaceGenericXYZ() obj.Object
- func KCGColorSpaceITUR_709() obj.Object
- func KCGColorSpaceITUR_709_HLG() obj.Object
- func KCGColorSpaceITUR_709_PQ() obj.Object
- func KCGColorSpaceITUR_2020() obj.Object
- func KCGColorSpaceITUR_2020_HLG() obj.Object
- func KCGColorSpaceITUR_2020_PQ() obj.Object
- func KCGColorSpaceITUR_2020_PQ_EOTF() obj.Object
- func KCGColorSpaceITUR_2020_sRGBGamma() obj.Object
- func KCGColorSpaceITUR_2100_HLG() obj.Object
- func KCGColorSpaceITUR_2100_PQ() obj.Object
- func KCGColorSpaceLinearDisplayP3() obj.Object
- func KCGColorSpaceLinearGray() obj.Object
- func KCGColorSpaceLinearITUR_2020() obj.Object
- func KCGColorSpaceLinearSRGB() obj.Object
- func KCGColorSpaceROMMRGB() obj.Object
- func KCGColorSpaceSRGB() obj.Object
- func KCGColorWhite() obj.Object
- func KCGContentAverageLightLevel() obj.Object
- func KCGContentAverageLightLevelNits() obj.Object
- func KCGDefaultHDRImageContentHeadroom() float32
- func KCGDisplayShowDuplicateLowResolutionModes() obj.Object
- func KCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995() obj.Object
- func KCGDynamicRangeConstrained() obj.Object
- func KCGDynamicRangeHigh() obj.Object
- func KCGDynamicRangeStandard() obj.Object
- func KCGEXRToneMappingGammaDefog() obj.Object
- func KCGEXRToneMappingGammaExposure() obj.Object
- func KCGEXRToneMappingGammaKneeHigh() obj.Object
- func KCGEXRToneMappingGammaKneeLow() obj.Object
- func KCGFontVariationAxisDefaultValue() obj.Object
- func KCGFontVariationAxisMaxValue() obj.Object
- func KCGFontVariationAxisMinValue() obj.Object
- func KCGFontVariationAxisName() obj.Object
- func KCGPDFContextAccessPermissions() obj.Object
- func KCGPDFContextAllowsCopying() obj.Object
- func KCGPDFContextAllowsPrinting() obj.Object
- func KCGPDFContextArtBox() obj.Object
- func KCGPDFContextAuthor() obj.Object
- func KCGPDFContextBleedBox() obj.Object
- func KCGPDFContextCreateLinearizedPDF() obj.Object
- func KCGPDFContextCreatePDFA() obj.Object
- func KCGPDFContextCreator() obj.Object
- func KCGPDFContextCropBox() obj.Object
- func KCGPDFContextEncryptionKeyLength() obj.Object
- func KCGPDFContextKeywords() obj.Object
- func KCGPDFContextMediaBox() obj.Object
- func KCGPDFContextOutputIntent() obj.Object
- func KCGPDFContextOutputIntents() obj.Object
- func KCGPDFContextOwnerPassword() obj.Object
- func KCGPDFContextSubject() obj.Object
- func KCGPDFContextTitle() obj.Object
- func KCGPDFContextTrimBox() obj.Object
- func KCGPDFContextUserPassword() obj.Object
- func KCGPDFOutlineChildren() obj.Object
- func KCGPDFOutlineDestination() obj.Object
- func KCGPDFOutlineDestinationRect() obj.Object
- func KCGPDFOutlineTitle() obj.Object
- func KCGPDFTagPropertyActualText() uintptr
- func KCGPDFTagPropertyAlternativeText() uintptr
- func KCGPDFTagPropertyLanguageText() uintptr
- func KCGPDFTagPropertyTitleText() uintptr
- func KCGPDFXDestinationOutputProfile() obj.Object
- func KCGPDFXInfo() obj.Object
- func KCGPDFXOutputCondition() obj.Object
- func KCGPDFXOutputConditionIdentifier() obj.Object
- func KCGPDFXOutputIntentSubtype() obj.Object
- func KCGPDFXRegistryName() obj.Object
- func KCGPreferredDynamicRange() obj.Object
- func KCGSkipBoostToHDR() obj.Object
- func KCGUse100nitsHLGOOTF() obj.Object
- func KCGUseBT1886ForCoreVideoGamma() obj.Object
- func KCGUseLegacyHDREcosystem() obj.Object
- func KCGWindowAlpha() obj.Object
- func KCGWindowBackingLocationVideoMemory() obj.Object
- func KCGWindowBounds() obj.Object
- func KCGWindowIsOnscreen() obj.Object
- func KCGWindowLayer() obj.Object
- func KCGWindowMemoryUsage() obj.Object
- func KCGWindowName() obj.Object
- func KCGWindowNumber() obj.Object
- func KCGWindowOwnerName() obj.Object
- func KCGWindowOwnerPID() obj.Object
- func KCGWindowSharingState() obj.Object
- func KCGWindowStoreType() obj.Object
- func KCGWindowWorkspace() obj.Object
- type CGBitmapInfo
- type CGBitmapLayout
- type CGBitmapParameters
- type CGBlendMode
- type CGCaptureOptions
- type CGColor
- type CGColorBufferFormat
- type CGColorConversionInfo
- type CGColorConversionInfoTransformType
- type CGColorDataFormat
- type CGColorModel
- type CGColorRenderingIntent
- type CGColorSpace
- type CGColorSpaceModel
- type CGComponent
- type CGConfigureOption
- type CGContentInfo
- type CGContentToneMappingInfo
- type CGContext
- type CGDataConsumer
- type CGDataConsumerCallbacks
- type CGDataProvider
- type CGDataProviderDirectCallbacks
- type CGDataProviderSequentialCallbacks
- type CGDeviceColor
- type CGDisplayChangeSummaryFlags
- type CGDisplayConfigRef
- type CGDisplayMode
- type CGDisplayStream
- type CGDisplayStreamFrameStatus
- type CGDisplayStreamUpdate
- type CGDisplayStreamUpdateRectType
- type CGError
- func CGAcquireDisplayFadeReservation(seconds float32) (result CGError, token uint32)
- func CGAssociateMouseAndMouseCursorPosition(connected int) CGError
- func CGBeginDisplayConfiguration(config unsafe.Pointer) CGError
- func CGCancelDisplayConfiguration(config obj.Object) CGError
- func CGCaptureAllDisplays() CGError
- func CGCaptureAllDisplaysWithOptions(options CGCaptureOptions) CGError
- func CGCompleteDisplayConfiguration(config obj.Object, option CGConfigureOption) CGError
- func CGConfigureDisplayFadeEffect(config obj.Object, fadeOutSeconds float32, fadeInSeconds float32, ...) CGError
- func CGConfigureDisplayMirrorOfDisplay(config obj.Object, display uint32, master uint32) CGError
- func CGConfigureDisplayMode(config obj.Object, display uint32, mode obj.Object) CGError
- func CGConfigureDisplayOrigin(config obj.Object, display uint32, x int32, y int32) CGError
- func CGConfigureDisplayStereoOperation(config obj.Object, display uint32, stereo int, forceBlueLine int) CGError
- func CGConfigureDisplayWithDisplayMode(config obj.Object, display uint32, mode obj.Object, options obj.Object) CGError
- func CGDisplayCapture(display uint32) CGError
- func CGDisplayCaptureWithOptions(display uint32, options CGCaptureOptions) CGError
- func CGDisplayFade(token uint32, duration float32, startBlend float32, endBlend float32, ...) CGError
- func CGDisplayHideCursor(display uint32) CGError
- func CGDisplayMoveCursorToPoint(display uint32, point corefoundation.CGPoint) CGError
- func CGDisplayRegisterReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
- func CGDisplayRelease(display uint32) CGError
- func CGDisplayRemoveReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
- func CGDisplaySetDisplayMode(display uint32, mode obj.Object, options obj.Object) CGError
- func CGDisplaySetStereoOperation(display uint32, stereo int, forceBlueLine int, option CGConfigureOption) CGError
- func CGDisplayShowCursor(display uint32) CGError
- func CGDisplaySwitchToMode(display uint32, mode obj.Object) CGError
- func CGEnableEventStateCombining(combineState int) CGError
- func CGGetActiveDisplayList(maxDisplays uint32, activeDisplays unsafe.Pointer) (result CGError, displayCount uint32)
- func CGGetDisplayTransferByFormula(display uint32) (result CGError, redMin float32, redMax float32, redGamma float32, ...)
- func CGGetDisplayTransferByTable(display uint32, capacity uint32, blueTable unsafe.Pointer) (result CGError, redTable float32, greenTable float32, sampleCount uint32)
- func CGGetDisplaysWithOpenGLDisplayMask(mask uint32, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
- func CGGetDisplaysWithPoint(point corefoundation.CGPoint, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
- func CGGetDisplaysWithRect(rect corefoundation.CGRect, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
- func CGGetEventTapList(maxNumberOfTaps uint32, tapList unsafe.Pointer) (result CGError, eventTapCount uint32)
- func CGGetOnlineDisplayList(maxDisplays uint32, onlineDisplays unsafe.Pointer) (result CGError, displayCount uint32)
- func CGInhibitLocalEvents(inhibit int) CGError
- func CGPostKeyboardEvent(keyChar uint16, virtualKey uint16, keyDown int) CGError
- func CGRegisterScreenRefreshCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
- func CGReleaseAllDisplays() CGError
- func CGReleaseDisplayFadeReservation(token uint32) CGError
- func CGScreenRegisterMoveCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
- func CGSetDisplayTransferByByteTable(display uint32, tableSize uint32) (result CGError, redTable uint8, greenTable uint8, blueTable uint8)
- func CGSetDisplayTransferByFormula(display uint32, redMin float32, redMax float32, redGamma float32, ...) CGError
- func CGSetDisplayTransferByTable(display uint32, tableSize uint32) (result CGError, redTable float32, greenTable float32, blueTable float32)
- func CGSetLocalEventsFilterDuringSuppressionState(filter CGEventFilterMask, state CGEventSuppressionState) CGError
- func CGSetLocalEventsSuppressionInterval(seconds float64) CGError
- func CGWaitForScreenRefreshRects(rects unsafe.Pointer) (result CGError, count uint32)
- func CGWarpMouseCursorPosition(newCursorPosition corefoundation.CGPoint) CGError
- type CGEvent
- type CGEventField
- type CGEventFilterMask
- type CGEventFlags
- type CGEventMouseSubtype
- type CGEventSource
- type CGEventSourceStateID
- type CGEventSuppressionState
- type CGEventTapInformation
- type CGEventTapLocation
- type CGEventTapOptions
- type CGEventTapPlacement
- type CGEventTapProxy
- type CGEventType
- type CGFont
- type CGFontPostScriptFormat
- type CGFunction
- type CGFunctionCallbacks
- type CGGesturePhase
- type CGGlyphDeprecatedEnum
- type CGGradient
- type CGGradientDrawingOptions
- type CGImage
- type CGImageAlphaInfo
- type CGImageByteOrderInfo
- type CGImageComponentInfo
- type CGImagePixelFormatInfo
- type CGInterpolationQuality
- type CGLayer
- type CGLineCap
- type CGLineJoin
- type CGMomentumScrollPhase
- type CGMouseButton
- type CGPDFAccessPermissions
- type CGPDFArray
- type CGPDFBox
- type CGPDFContentStream
- type CGPDFDataFormat
- type CGPDFDictionary
- type CGPDFDocument
- type CGPDFObject
- type CGPDFObjectType
- type CGPDFOperatorTable
- type CGPDFPage
- type CGPDFScanner
- type CGPDFStream
- type CGPDFString
- type CGPDFTagType
- type CGPSConverter
- type CGPSConverterCallbacks
- type CGPath
- type CGPathDrawingMode
- type CGPathElement
- type CGPathElementType
- type CGPattern
- type CGPatternCallbacks
- type CGPatternTiling
- type CGRenderingBufferProvider
- type CGScreenUpdateMoveDelta
- type CGScreenUpdateOperation
- type CGScrollEventUnit
- type CGScrollPhase
- type CGShading
- type CGTextDrawingMode
- type CGTextEncodingdeprecated
- type CGToneMapping
- type CGWindowBackingType
- type CGWindowImageOption
- type CGWindowLevelKey
- type CGWindowListOption
- type CGWindowSharingType
- type Clockid
- type ColorSyncProfile
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type EvCmd
- type FilesecProperty
- type Flag
- type IOSurface
- type Idtype
- type IpcInfoObjectType
- type MTLDevice
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type NXMouseButton
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CGAffineTransformConcat ¶
func CGAffineTransformConcat(t1 corefoundation.CGAffineTransform, t2 corefoundation.CGAffineTransform) corefoundation.CGAffineTransform
CGAffineTransformConcat calls the CoreGraphics framework function CGAffineTransformConcat.
func CGAffineTransformDecompose ¶
func CGAffineTransformDecompose(transform corefoundation.CGAffineTransform) corefoundation.CGAffineTransformComponents
CGAffineTransformDecompose calls the CoreGraphics framework function CGAffineTransformDecompose.
func CGAffineTransformEqualToTransform ¶
func CGAffineTransformEqualToTransform(t1 corefoundation.CGAffineTransform, t2 corefoundation.CGAffineTransform) bool
CGAffineTransformEqualToTransform calls the CoreGraphics framework function CGAffineTransformEqualToTransform.
func CGAffineTransformIdentity ¶
func CGAffineTransformIdentity() corefoundation.CGAffineTransform
CGAffineTransformIdentity returns the value of the constant CGAffineTransformIdentity.
func CGAffineTransformInvert ¶
func CGAffineTransformInvert(t corefoundation.CGAffineTransform) corefoundation.CGAffineTransform
CGAffineTransformInvert calls the CoreGraphics framework function CGAffineTransformInvert.
func CGAffineTransformIsIdentity ¶
func CGAffineTransformIsIdentity(t corefoundation.CGAffineTransform) bool
CGAffineTransformIsIdentity calls the CoreGraphics framework function CGAffineTransformIsIdentity.
func CGAffineTransformMake ¶
func CGAffineTransformMake(a float64, b float64, c float64, d float64, tx float64, ty float64) corefoundation.CGAffineTransform
CGAffineTransformMake calls the CoreGraphics framework function CGAffineTransformMake.
func CGAffineTransformMakeRotation ¶
func CGAffineTransformMakeRotation(angle float64) corefoundation.CGAffineTransform
CGAffineTransformMakeRotation calls the CoreGraphics framework function CGAffineTransformMakeRotation.
func CGAffineTransformMakeScale ¶
func CGAffineTransformMakeScale(sx float64, sy float64) corefoundation.CGAffineTransform
CGAffineTransformMakeScale calls the CoreGraphics framework function CGAffineTransformMakeScale.
func CGAffineTransformMakeTranslation ¶
func CGAffineTransformMakeTranslation(tx float64, ty float64) corefoundation.CGAffineTransform
CGAffineTransformMakeTranslation calls the CoreGraphics framework function CGAffineTransformMakeTranslation.
func CGAffineTransformMakeWithComponents ¶
func CGAffineTransformMakeWithComponents(components corefoundation.CGAffineTransformComponents) corefoundation.CGAffineTransform
CGAffineTransformMakeWithComponents calls the CoreGraphics framework function CGAffineTransformMakeWithComponents.
func CGAffineTransformRotate ¶
func CGAffineTransformRotate(t corefoundation.CGAffineTransform, angle float64) corefoundation.CGAffineTransform
CGAffineTransformRotate calls the CoreGraphics framework function CGAffineTransformRotate.
func CGAffineTransformScale ¶
func CGAffineTransformScale(t corefoundation.CGAffineTransform, sx float64, sy float64) corefoundation.CGAffineTransform
CGAffineTransformScale calls the CoreGraphics framework function CGAffineTransformScale.
func CGAffineTransformTranslate ¶
func CGAffineTransformTranslate(t corefoundation.CGAffineTransform, tx float64, ty float64) corefoundation.CGAffineTransform
CGAffineTransformTranslate calls the CoreGraphics framework function CGAffineTransformTranslate.
func CGBitmapContextCreate ¶
func CGBitmapContextCreate(data unsafe.Pointer, width int, height int, bitsPerComponent int, bytesPerRow int, space obj.Object, bitmapInfo CGBitmapInfo) obj.Object
CGBitmapContextCreate calls the CoreGraphics framework function CGBitmapContextCreate.
func CGBitmapContextCreateAdaptive ¶
func CGBitmapContextCreateAdaptive(width int, height int, auxiliaryInfo obj.Object, onResolve unsafe.Pointer, onAllocate unsafe.Pointer, onFree unsafe.Pointer, onError unsafe.Pointer) obj.Object
CGBitmapContextCreateAdaptive calls the CoreGraphics framework function CGBitmapContextCreateAdaptive.
func CGBitmapContextCreateImage ¶
CGBitmapContextCreateImage calls the CoreGraphics framework function CGBitmapContextCreateImage.
func CGBitmapContextCreateWithData ¶
func CGBitmapContextCreateWithData(data unsafe.Pointer, width int, height int, bitsPerComponent int, bytesPerRow int, space obj.Object, bitmapInfo CGBitmapInfo, releaseCallback unsafe.Pointer, releaseInfo unsafe.Pointer) obj.Object
CGBitmapContextCreateWithData calls the CoreGraphics framework function CGBitmapContextCreateWithData.
func CGBitmapContextGetBitsPerComponent ¶
CGBitmapContextGetBitsPerComponent calls the CoreGraphics framework function CGBitmapContextGetBitsPerComponent.
func CGBitmapContextGetBitsPerPixel ¶
CGBitmapContextGetBitsPerPixel calls the CoreGraphics framework function CGBitmapContextGetBitsPerPixel.
func CGBitmapContextGetBytesPerRow ¶
CGBitmapContextGetBytesPerRow calls the CoreGraphics framework function CGBitmapContextGetBytesPerRow.
func CGBitmapContextGetColorSpace ¶
CGBitmapContextGetColorSpace calls the CoreGraphics framework function CGBitmapContextGetColorSpace.
func CGBitmapContextGetData ¶
CGBitmapContextGetData calls the CoreGraphics framework function CGBitmapContextGetData.
func CGBitmapContextGetHeight ¶
CGBitmapContextGetHeight calls the CoreGraphics framework function CGBitmapContextGetHeight.
func CGBitmapContextGetWidth ¶
CGBitmapContextGetWidth calls the CoreGraphics framework function CGBitmapContextGetWidth.
func CGColorConversionInfoConvertData ¶
func CGColorConversionInfoConvertData(info obj.Object, width int, height int, dstData unsafe.Pointer, dstFormat unsafe.Pointer, srcData unsafe.Pointer, srcFormat unsafe.Pointer, options obj.Object) bool
CGColorConversionInfoConvertData calls the CoreGraphics framework function CGColorConversionInfoConvertData.
func CGColorConversionInfoCreate ¶
CGColorConversionInfoCreate calls the CoreGraphics framework function CGColorConversionInfoCreate.
func CGColorConversionInfoCreateFromListWithArguments ¶
func CGColorConversionInfoCreateFromListWithArguments(options obj.Object, arg obj.Object, arg2 CGColorConversionInfoTransformType, arg3 CGColorRenderingIntent, arg4 string) obj.Object
CGColorConversionInfoCreateFromListWithArguments calls the CoreGraphics framework function CGColorConversionInfoCreateFromListWithArguments.
func CGColorConversionInfoCreateWithOptions ¶
func CGColorConversionInfoCreateWithOptions(src obj.Object, dst obj.Object, options obj.Object) obj.Object
CGColorConversionInfoCreateWithOptions calls the CoreGraphics framework function CGColorConversionInfoCreateWithOptions.
func CGColorConversionInfoGetTypeID ¶
func CGColorConversionInfoGetTypeID() int
CGColorConversionInfoGetTypeID calls the CoreGraphics framework function CGColorConversionInfoGetTypeID.
func CGColorCreate ¶
CGColorCreate calls the CoreGraphics framework function CGColorCreate.
func CGColorCreateCopy ¶
CGColorCreateCopy calls the CoreGraphics framework function CGColorCreateCopy.
func CGColorCreateCopyByMatchingToColorSpace ¶
func CGColorCreateCopyByMatchingToColorSpace(arg obj.Object, intent CGColorRenderingIntent, color obj.Object, options obj.Object) obj.Object
CGColorCreateCopyByMatchingToColorSpace calls the CoreGraphics framework function CGColorCreateCopyByMatchingToColorSpace.
func CGColorCreateCopyWithAlpha ¶
CGColorCreateCopyWithAlpha calls the CoreGraphics framework function CGColorCreateCopyWithAlpha.
func CGColorCreateGenericCMYK ¶
func CGColorCreateGenericCMYK(cyan float64, magenta float64, yellow float64, black float64, alpha float64) obj.Object
CGColorCreateGenericCMYK calls the CoreGraphics framework function CGColorCreateGenericCMYK.
func CGColorCreateGenericGray ¶
CGColorCreateGenericGray calls the CoreGraphics framework function CGColorCreateGenericGray.
func CGColorCreateGenericGrayGamma2_2 ¶
CGColorCreateGenericGrayGamma2_2 calls the CoreGraphics framework function CGColorCreateGenericGrayGamma2_2.
func CGColorCreateGenericRGB ¶
CGColorCreateGenericRGB calls the CoreGraphics framework function CGColorCreateGenericRGB.
func CGColorCreateSRGB ¶
CGColorCreateSRGB calls the CoreGraphics framework function CGColorCreateSRGB.
func CGColorCreateWithContentHeadroom ¶
func CGColorCreateWithContentHeadroom(headroom float32, space obj.Object, red float64, green float64, blue float64, alpha float64) obj.Object
CGColorCreateWithContentHeadroom calls the CoreGraphics framework function CGColorCreateWithContentHeadroom.
func CGColorCreateWithPattern ¶
func CGColorCreateWithPattern(space obj.Object, pattern obj.Object) (result obj.Object, components float64)
CGColorCreateWithPattern calls the CoreGraphics framework function CGColorCreateWithPattern.
func CGColorEqualToColor ¶
CGColorEqualToColor calls the CoreGraphics framework function CGColorEqualToColor.
func CGColorGetAlpha ¶
CGColorGetAlpha calls the CoreGraphics framework function CGColorGetAlpha.
func CGColorGetColorSpace ¶
CGColorGetColorSpace calls the CoreGraphics framework function CGColorGetColorSpace.
func CGColorGetComponents ¶
CGColorGetComponents calls the CoreGraphics framework function CGColorGetComponents.
func CGColorGetConstantColor ¶
CGColorGetConstantColor calls the CoreGraphics framework function CGColorGetConstantColor.
func CGColorGetContentHeadroom ¶
CGColorGetContentHeadroom calls the CoreGraphics framework function CGColorGetContentHeadroom.
func CGColorGetNumberOfComponents ¶
CGColorGetNumberOfComponents calls the CoreGraphics framework function CGColorGetNumberOfComponents.
func CGColorGetPattern ¶
CGColorGetPattern calls the CoreGraphics framework function CGColorGetPattern.
func CGColorGetTypeID ¶
func CGColorGetTypeID() int
CGColorGetTypeID calls the CoreGraphics framework function CGColorGetTypeID.
func CGColorRelease ¶
CGColorRelease calls the CoreGraphics framework function CGColorRelease.
func CGColorRetain ¶
CGColorRetain calls the CoreGraphics framework function CGColorRetain.
func CGColorSpaceCopyBaseColorSpace ¶
CGColorSpaceCopyBaseColorSpace calls the CoreGraphics framework function CGColorSpaceCopyBaseColorSpace.
func CGColorSpaceCopyICCData ¶
CGColorSpaceCopyICCData calls the CoreGraphics framework function CGColorSpaceCopyICCData.
func CGColorSpaceCopyICCProfile ¶
CGColorSpaceCopyICCProfile calls the CoreGraphics framework function CGColorSpaceCopyICCProfile.
func CGColorSpaceCopyName ¶
CGColorSpaceCopyName calls the CoreGraphics framework function CGColorSpaceCopyName.
func CGColorSpaceCopyPropertyList ¶
CGColorSpaceCopyPropertyList calls the CoreGraphics framework function CGColorSpaceCopyPropertyList.
func CGColorSpaceCreateCalibratedGray ¶
func CGColorSpaceCreateCalibratedGray(gamma float64) (result obj.Object, whitePoint float64, blackPoint float64)
CGColorSpaceCreateCalibratedGray calls the CoreGraphics framework function CGColorSpaceCreateCalibratedGray.
func CGColorSpaceCreateCalibratedRGB ¶
func CGColorSpaceCreateCalibratedRGB() (result obj.Object, whitePoint float64, blackPoint float64, gamma float64, matrix float64)
CGColorSpaceCreateCalibratedRGB calls the CoreGraphics framework function CGColorSpaceCreateCalibratedRGB.
func CGColorSpaceCreateCopyWithStandardRange ¶
CGColorSpaceCreateCopyWithStandardRange calls the CoreGraphics framework function CGColorSpaceCreateCopyWithStandardRange.
func CGColorSpaceCreateDeviceCMYK ¶
CGColorSpaceCreateDeviceCMYK calls the CoreGraphics framework function CGColorSpaceCreateDeviceCMYK.
func CGColorSpaceCreateDeviceGray ¶
CGColorSpaceCreateDeviceGray calls the CoreGraphics framework function CGColorSpaceCreateDeviceGray.
func CGColorSpaceCreateDeviceRGB ¶
CGColorSpaceCreateDeviceRGB calls the CoreGraphics framework function CGColorSpaceCreateDeviceRGB.
func CGColorSpaceCreateExtended ¶
CGColorSpaceCreateExtended calls the CoreGraphics framework function CGColorSpaceCreateExtended.
func CGColorSpaceCreateExtendedLinearized ¶
CGColorSpaceCreateExtendedLinearized calls the CoreGraphics framework function CGColorSpaceCreateExtendedLinearized.
func CGColorSpaceCreateICCBased ¶
func CGColorSpaceCreateICCBased(nComponents int, profile obj.Object, alternate obj.Object) (result obj.Object, range_ float64)
CGColorSpaceCreateICCBased calls the CoreGraphics framework function CGColorSpaceCreateICCBased.
func CGColorSpaceCreateIndexed ¶
func CGColorSpaceCreateIndexed(baseSpace obj.Object, lastIndex int) (result obj.Object, colorTable uint8)
CGColorSpaceCreateIndexed calls the CoreGraphics framework function CGColorSpaceCreateIndexed.
func CGColorSpaceCreateLab ¶
func CGColorSpaceCreateLab() (result obj.Object, whitePoint float64, blackPoint float64, range_ float64)
CGColorSpaceCreateLab calls the CoreGraphics framework function CGColorSpaceCreateLab.
func CGColorSpaceCreateLinearized ¶
CGColorSpaceCreateLinearized calls the CoreGraphics framework function CGColorSpaceCreateLinearized.
func CGColorSpaceCreatePattern ¶
CGColorSpaceCreatePattern calls the CoreGraphics framework function CGColorSpaceCreatePattern.
func CGColorSpaceCreateWithColorSyncProfile ¶
CGColorSpaceCreateWithColorSyncProfile calls the CoreGraphics framework function CGColorSpaceCreateWithColorSyncProfile.
func CGColorSpaceCreateWithICCData ¶
CGColorSpaceCreateWithICCData calls the CoreGraphics framework function CGColorSpaceCreateWithICCData.
func CGColorSpaceCreateWithICCProfile ¶
CGColorSpaceCreateWithICCProfile calls the CoreGraphics framework function CGColorSpaceCreateWithICCProfile.
func CGColorSpaceCreateWithName ¶
CGColorSpaceCreateWithName calls the CoreGraphics framework function CGColorSpaceCreateWithName.
func CGColorSpaceCreateWithPlatformColorSpace ¶
CGColorSpaceCreateWithPlatformColorSpace calls the CoreGraphics framework function CGColorSpaceCreateWithPlatformColorSpace.
func CGColorSpaceCreateWithPropertyList ¶
CGColorSpaceCreateWithPropertyList calls the CoreGraphics framework function CGColorSpaceCreateWithPropertyList.
func CGColorSpaceGetBaseColorSpace ¶
CGColorSpaceGetBaseColorSpace calls the CoreGraphics framework function CGColorSpaceGetBaseColorSpace.
func CGColorSpaceGetColorTable ¶
CGColorSpaceGetColorTable calls the CoreGraphics framework function CGColorSpaceGetColorTable.
func CGColorSpaceGetColorTableCount ¶
CGColorSpaceGetColorTableCount calls the CoreGraphics framework function CGColorSpaceGetColorTableCount.
func CGColorSpaceGetName ¶
CGColorSpaceGetName calls the CoreGraphics framework function CGColorSpaceGetName.
func CGColorSpaceGetNumberOfComponents ¶
CGColorSpaceGetNumberOfComponents calls the CoreGraphics framework function CGColorSpaceGetNumberOfComponents.
func CGColorSpaceGetTypeID ¶
func CGColorSpaceGetTypeID() int
CGColorSpaceGetTypeID calls the CoreGraphics framework function CGColorSpaceGetTypeID.
func CGColorSpaceIsHDR ¶
CGColorSpaceIsHDR calls the CoreGraphics framework function CGColorSpaceIsHDR.
func CGColorSpaceIsHLGBased ¶
CGColorSpaceIsHLGBased calls the CoreGraphics framework function CGColorSpaceIsHLGBased.
func CGColorSpaceIsPQBased ¶
CGColorSpaceIsPQBased calls the CoreGraphics framework function CGColorSpaceIsPQBased.
func CGColorSpaceIsWideGamutRGB ¶
CGColorSpaceIsWideGamutRGB calls the CoreGraphics framework function CGColorSpaceIsWideGamutRGB.
func CGColorSpaceRelease ¶
CGColorSpaceRelease calls the CoreGraphics framework function CGColorSpaceRelease.
func CGColorSpaceRetain ¶
CGColorSpaceRetain calls the CoreGraphics framework function CGColorSpaceRetain.
func CGColorSpaceSupportsOutput ¶
CGColorSpaceSupportsOutput calls the CoreGraphics framework function CGColorSpaceSupportsOutput.
func CGColorSpaceUsesExtendedRange ¶
CGColorSpaceUsesExtendedRange calls the CoreGraphics framework function CGColorSpaceUsesExtendedRange.
func CGColorSpaceUsesITUR_2100TF ¶
CGColorSpaceUsesITUR_2100TF calls the CoreGraphics framework function CGColorSpaceUsesITUR_2100TF.
func CGContextAddArc ¶
func CGContextAddArc(c obj.Object, x float64, y float64, radius float64, startAngle float64, endAngle float64, clockwise int)
CGContextAddArc calls the CoreGraphics framework function CGContextAddArc.
func CGContextAddArcToPoint ¶
func CGContextAddArcToPoint(c obj.Object, x1 float64, y1 float64, x2 float64, y2 float64, radius float64)
CGContextAddArcToPoint calls the CoreGraphics framework function CGContextAddArcToPoint.
func CGContextAddCurveToPoint ¶
func CGContextAddCurveToPoint(c obj.Object, cp1x float64, cp1y float64, cp2x float64, cp2y float64, x float64, y float64)
CGContextAddCurveToPoint calls the CoreGraphics framework function CGContextAddCurveToPoint.
func CGContextAddEllipseInRect ¶
func CGContextAddEllipseInRect(c obj.Object, rect corefoundation.CGRect)
CGContextAddEllipseInRect calls the CoreGraphics framework function CGContextAddEllipseInRect.
func CGContextAddLineToPoint ¶
CGContextAddLineToPoint calls the CoreGraphics framework function CGContextAddLineToPoint.
func CGContextAddLines ¶
CGContextAddLines calls the CoreGraphics framework function CGContextAddLines.
func CGContextAddPath ¶
CGContextAddPath calls the CoreGraphics framework function CGContextAddPath.
func CGContextAddQuadCurveToPoint ¶
CGContextAddQuadCurveToPoint calls the CoreGraphics framework function CGContextAddQuadCurveToPoint.
func CGContextAddRect ¶
func CGContextAddRect(c obj.Object, rect corefoundation.CGRect)
CGContextAddRect calls the CoreGraphics framework function CGContextAddRect.
func CGContextAddRects ¶
CGContextAddRects calls the CoreGraphics framework function CGContextAddRects.
func CGContextBeginPage ¶
CGContextBeginPage calls the CoreGraphics framework function CGContextBeginPage.
func CGContextBeginPath ¶
CGContextBeginPath calls the CoreGraphics framework function CGContextBeginPath.
func CGContextBeginTransparencyLayer ¶
CGContextBeginTransparencyLayer calls the CoreGraphics framework function CGContextBeginTransparencyLayer.
func CGContextBeginTransparencyLayerWithRect ¶
func CGContextBeginTransparencyLayerWithRect(c obj.Object, rect corefoundation.CGRect, auxInfo obj.Object)
CGContextBeginTransparencyLayerWithRect calls the CoreGraphics framework function CGContextBeginTransparencyLayerWithRect.
func CGContextClearRect ¶
func CGContextClearRect(c obj.Object, rect corefoundation.CGRect)
CGContextClearRect calls the CoreGraphics framework function CGContextClearRect.
func CGContextClip ¶
CGContextClip calls the CoreGraphics framework function CGContextClip.
func CGContextClipToMask ¶
CGContextClipToMask calls the CoreGraphics framework function CGContextClipToMask.
func CGContextClipToRect ¶
func CGContextClipToRect(c obj.Object, rect corefoundation.CGRect)
CGContextClipToRect calls the CoreGraphics framework function CGContextClipToRect.
func CGContextClipToRects ¶
CGContextClipToRects calls the CoreGraphics framework function CGContextClipToRects.
func CGContextClosePath ¶
CGContextClosePath calls the CoreGraphics framework function CGContextClosePath.
func CGContextConcatCTM ¶
func CGContextConcatCTM(c obj.Object, transform corefoundation.CGAffineTransform)
CGContextConcatCTM calls the CoreGraphics framework function CGContextConcatCTM.
func CGContextConvertPointToDeviceSpace ¶
func CGContextConvertPointToDeviceSpace(c obj.Object, point corefoundation.CGPoint) corefoundation.CGPoint
CGContextConvertPointToDeviceSpace calls the CoreGraphics framework function CGContextConvertPointToDeviceSpace.
func CGContextConvertPointToUserSpace ¶
func CGContextConvertPointToUserSpace(c obj.Object, point corefoundation.CGPoint) corefoundation.CGPoint
CGContextConvertPointToUserSpace calls the CoreGraphics framework function CGContextConvertPointToUserSpace.
func CGContextConvertRectToDeviceSpace ¶
func CGContextConvertRectToDeviceSpace(c obj.Object, rect corefoundation.CGRect) corefoundation.CGRect
CGContextConvertRectToDeviceSpace calls the CoreGraphics framework function CGContextConvertRectToDeviceSpace.
func CGContextConvertRectToUserSpace ¶
func CGContextConvertRectToUserSpace(c obj.Object, rect corefoundation.CGRect) corefoundation.CGRect
CGContextConvertRectToUserSpace calls the CoreGraphics framework function CGContextConvertRectToUserSpace.
func CGContextConvertSizeToDeviceSpace ¶
func CGContextConvertSizeToDeviceSpace(c obj.Object, size corefoundation.CGSize) corefoundation.CGSize
CGContextConvertSizeToDeviceSpace calls the CoreGraphics framework function CGContextConvertSizeToDeviceSpace.
func CGContextConvertSizeToUserSpace ¶
func CGContextConvertSizeToUserSpace(c obj.Object, size corefoundation.CGSize) corefoundation.CGSize
CGContextConvertSizeToUserSpace calls the CoreGraphics framework function CGContextConvertSizeToUserSpace.
func CGContextCopyPath ¶
CGContextCopyPath calls the CoreGraphics framework function CGContextCopyPath.
func CGContextDrawConicGradient ¶
func CGContextDrawConicGradient(c obj.Object, gradient obj.Object, center corefoundation.CGPoint, angle float64)
CGContextDrawConicGradient calls the CoreGraphics framework function CGContextDrawConicGradient.
func CGContextDrawImage ¶
CGContextDrawImage calls the CoreGraphics framework function CGContextDrawImage.
func CGContextDrawImageApplyingToneMapping ¶
func CGContextDrawImageApplyingToneMapping(c obj.Object, r corefoundation.CGRect, image obj.Object, method CGToneMapping, options obj.Object) bool
CGContextDrawImageApplyingToneMapping calls the CoreGraphics framework function CGContextDrawImageApplyingToneMapping.
func CGContextDrawLayerAtPoint ¶
CGContextDrawLayerAtPoint calls the CoreGraphics framework function CGContextDrawLayerAtPoint.
func CGContextDrawLayerInRect ¶
CGContextDrawLayerInRect calls the CoreGraphics framework function CGContextDrawLayerInRect.
func CGContextDrawLinearGradient ¶
func CGContextDrawLinearGradient(c obj.Object, gradient obj.Object, startPoint corefoundation.CGPoint, endPoint corefoundation.CGPoint, options CGGradientDrawingOptions)
CGContextDrawLinearGradient calls the CoreGraphics framework function CGContextDrawLinearGradient.
func CGContextDrawPDFDocument ¶
func CGContextDrawPDFDocument(c obj.Object, rect corefoundation.CGRect, document obj.Object, page int)
CGContextDrawPDFDocument calls the CoreGraphics framework function CGContextDrawPDFDocument.
func CGContextDrawPDFPage ¶
CGContextDrawPDFPage calls the CoreGraphics framework function CGContextDrawPDFPage.
func CGContextDrawPath ¶
func CGContextDrawPath(c obj.Object, mode CGPathDrawingMode)
CGContextDrawPath calls the CoreGraphics framework function CGContextDrawPath.
func CGContextDrawRadialGradient ¶
func CGContextDrawRadialGradient(c obj.Object, gradient obj.Object, startCenter corefoundation.CGPoint, startRadius float64, endCenter corefoundation.CGPoint, endRadius float64, options CGGradientDrawingOptions)
CGContextDrawRadialGradient calls the CoreGraphics framework function CGContextDrawRadialGradient.
func CGContextDrawShading ¶
CGContextDrawShading calls the CoreGraphics framework function CGContextDrawShading.
func CGContextDrawTiledImage ¶
CGContextDrawTiledImage calls the CoreGraphics framework function CGContextDrawTiledImage.
func CGContextEOClip ¶
CGContextEOClip calls the CoreGraphics framework function CGContextEOClip.
func CGContextEOFillPath ¶
CGContextEOFillPath calls the CoreGraphics framework function CGContextEOFillPath.
func CGContextEndPage ¶
CGContextEndPage calls the CoreGraphics framework function CGContextEndPage.
func CGContextEndTransparencyLayer ¶
CGContextEndTransparencyLayer calls the CoreGraphics framework function CGContextEndTransparencyLayer.
func CGContextFillEllipseInRect ¶
func CGContextFillEllipseInRect(c obj.Object, rect corefoundation.CGRect)
CGContextFillEllipseInRect calls the CoreGraphics framework function CGContextFillEllipseInRect.
func CGContextFillPath ¶
CGContextFillPath calls the CoreGraphics framework function CGContextFillPath.
func CGContextFillRect ¶
func CGContextFillRect(c obj.Object, rect corefoundation.CGRect)
CGContextFillRect calls the CoreGraphics framework function CGContextFillRect.
func CGContextFillRects ¶
CGContextFillRects calls the CoreGraphics framework function CGContextFillRects.
func CGContextFlush ¶
CGContextFlush calls the CoreGraphics framework function CGContextFlush.
func CGContextGetCTM ¶
func CGContextGetCTM(c obj.Object) corefoundation.CGAffineTransform
CGContextGetCTM calls the CoreGraphics framework function CGContextGetCTM.
func CGContextGetClipBoundingBox ¶
func CGContextGetClipBoundingBox(c obj.Object) corefoundation.CGRect
CGContextGetClipBoundingBox calls the CoreGraphics framework function CGContextGetClipBoundingBox.
func CGContextGetContentToneMappingInfo ¶
CGContextGetContentToneMappingInfo calls the CoreGraphics framework function CGContextGetContentToneMappingInfo.
func CGContextGetEDRTargetHeadroom ¶
CGContextGetEDRTargetHeadroom calls the CoreGraphics framework function CGContextGetEDRTargetHeadroom.
func CGContextGetPathBoundingBox ¶
func CGContextGetPathBoundingBox(c obj.Object) corefoundation.CGRect
CGContextGetPathBoundingBox calls the CoreGraphics framework function CGContextGetPathBoundingBox.
func CGContextGetPathCurrentPoint ¶
func CGContextGetPathCurrentPoint(c obj.Object) corefoundation.CGPoint
CGContextGetPathCurrentPoint calls the CoreGraphics framework function CGContextGetPathCurrentPoint.
func CGContextGetTextMatrix ¶
func CGContextGetTextMatrix(c obj.Object) corefoundation.CGAffineTransform
CGContextGetTextMatrix calls the CoreGraphics framework function CGContextGetTextMatrix.
func CGContextGetTextPosition ¶
func CGContextGetTextPosition(c obj.Object) corefoundation.CGPoint
CGContextGetTextPosition calls the CoreGraphics framework function CGContextGetTextPosition.
func CGContextGetTypeID ¶
func CGContextGetTypeID() int
CGContextGetTypeID calls the CoreGraphics framework function CGContextGetTypeID.
func CGContextGetUserSpaceToDeviceSpaceTransform ¶
func CGContextGetUserSpaceToDeviceSpaceTransform(c obj.Object) corefoundation.CGAffineTransform
CGContextGetUserSpaceToDeviceSpaceTransform calls the CoreGraphics framework function CGContextGetUserSpaceToDeviceSpaceTransform.
func CGContextIsPathEmpty ¶
CGContextIsPathEmpty calls the CoreGraphics framework function CGContextIsPathEmpty.
func CGContextMoveToPoint ¶
CGContextMoveToPoint calls the CoreGraphics framework function CGContextMoveToPoint.
func CGContextPathContainsPoint ¶
func CGContextPathContainsPoint(c obj.Object, point corefoundation.CGPoint, mode CGPathDrawingMode) bool
CGContextPathContainsPoint calls the CoreGraphics framework function CGContextPathContainsPoint.
func CGContextRelease ¶
CGContextRelease calls the CoreGraphics framework function CGContextRelease.
func CGContextReplacePathWithStrokedPath ¶
CGContextReplacePathWithStrokedPath calls the CoreGraphics framework function CGContextReplacePathWithStrokedPath.
func CGContextResetClip ¶
CGContextResetClip calls the CoreGraphics framework function CGContextResetClip.
func CGContextRestoreGState ¶
CGContextRestoreGState calls the CoreGraphics framework function CGContextRestoreGState.
func CGContextRetain ¶
CGContextRetain calls the CoreGraphics framework function CGContextRetain.
func CGContextRotateCTM ¶
CGContextRotateCTM calls the CoreGraphics framework function CGContextRotateCTM.
func CGContextSaveGState ¶
CGContextSaveGState calls the CoreGraphics framework function CGContextSaveGState.
func CGContextScaleCTM ¶
CGContextScaleCTM calls the CoreGraphics framework function CGContextScaleCTM.
func CGContextSelectFont ¶
func CGContextSelectFont(c obj.Object, name unsafe.Pointer, size float64, textEncoding CGTextEncoding)
CGContextSelectFont calls the CoreGraphics framework function CGContextSelectFont.
func CGContextSetAllowsAntialiasing ¶
CGContextSetAllowsAntialiasing calls the CoreGraphics framework function CGContextSetAllowsAntialiasing.
func CGContextSetAllowsFontSmoothing ¶
CGContextSetAllowsFontSmoothing calls the CoreGraphics framework function CGContextSetAllowsFontSmoothing.
func CGContextSetAllowsFontSubpixelPositioning ¶
CGContextSetAllowsFontSubpixelPositioning calls the CoreGraphics framework function CGContextSetAllowsFontSubpixelPositioning.
func CGContextSetAllowsFontSubpixelQuantization ¶
CGContextSetAllowsFontSubpixelQuantization calls the CoreGraphics framework function CGContextSetAllowsFontSubpixelQuantization.
func CGContextSetAlpha ¶
CGContextSetAlpha calls the CoreGraphics framework function CGContextSetAlpha.
func CGContextSetBlendMode ¶
func CGContextSetBlendMode(c obj.Object, mode CGBlendMode)
CGContextSetBlendMode calls the CoreGraphics framework function CGContextSetBlendMode.
func CGContextSetCMYKFillColor ¶
func CGContextSetCMYKFillColor(c obj.Object, cyan float64, magenta float64, yellow float64, black float64, alpha float64)
CGContextSetCMYKFillColor calls the CoreGraphics framework function CGContextSetCMYKFillColor.
func CGContextSetCMYKStrokeColor ¶
func CGContextSetCMYKStrokeColor(c obj.Object, cyan float64, magenta float64, yellow float64, black float64, alpha float64)
CGContextSetCMYKStrokeColor calls the CoreGraphics framework function CGContextSetCMYKStrokeColor.
func CGContextSetCharacterSpacing ¶
CGContextSetCharacterSpacing calls the CoreGraphics framework function CGContextSetCharacterSpacing.
func CGContextSetContentToneMappingInfo ¶
CGContextSetContentToneMappingInfo calls the CoreGraphics framework function CGContextSetContentToneMappingInfo.
func CGContextSetEDRTargetHeadroom ¶
CGContextSetEDRTargetHeadroom calls the CoreGraphics framework function CGContextSetEDRTargetHeadroom.
func CGContextSetFillColor ¶
CGContextSetFillColor calls the CoreGraphics framework function CGContextSetFillColor.
func CGContextSetFillColorSpace ¶
CGContextSetFillColorSpace calls the CoreGraphics framework function CGContextSetFillColorSpace.
func CGContextSetFillColorWithColor ¶
CGContextSetFillColorWithColor calls the CoreGraphics framework function CGContextSetFillColorWithColor.
func CGContextSetFillPattern ¶
CGContextSetFillPattern calls the CoreGraphics framework function CGContextSetFillPattern.
func CGContextSetFlatness ¶
CGContextSetFlatness calls the CoreGraphics framework function CGContextSetFlatness.
func CGContextSetFont ¶
CGContextSetFont calls the CoreGraphics framework function CGContextSetFont.
func CGContextSetFontSize ¶
CGContextSetFontSize calls the CoreGraphics framework function CGContextSetFontSize.
func CGContextSetGrayFillColor ¶
CGContextSetGrayFillColor calls the CoreGraphics framework function CGContextSetGrayFillColor.
func CGContextSetGrayStrokeColor ¶
CGContextSetGrayStrokeColor calls the CoreGraphics framework function CGContextSetGrayStrokeColor.
func CGContextSetInterpolationQuality ¶
func CGContextSetInterpolationQuality(c obj.Object, quality CGInterpolationQuality)
CGContextSetInterpolationQuality calls the CoreGraphics framework function CGContextSetInterpolationQuality.
func CGContextSetLineCap ¶
CGContextSetLineCap calls the CoreGraphics framework function CGContextSetLineCap.
func CGContextSetLineDash ¶
CGContextSetLineDash calls the CoreGraphics framework function CGContextSetLineDash.
func CGContextSetLineJoin ¶
func CGContextSetLineJoin(c obj.Object, join CGLineJoin)
CGContextSetLineJoin calls the CoreGraphics framework function CGContextSetLineJoin.
func CGContextSetLineWidth ¶
CGContextSetLineWidth calls the CoreGraphics framework function CGContextSetLineWidth.
func CGContextSetMiterLimit ¶
CGContextSetMiterLimit calls the CoreGraphics framework function CGContextSetMiterLimit.
func CGContextSetPatternPhase ¶
func CGContextSetPatternPhase(c obj.Object, phase corefoundation.CGSize)
CGContextSetPatternPhase calls the CoreGraphics framework function CGContextSetPatternPhase.
func CGContextSetRGBFillColor ¶
func CGContextSetRGBFillColor(c obj.Object, red float64, green float64, blue float64, alpha float64)
CGContextSetRGBFillColor calls the CoreGraphics framework function CGContextSetRGBFillColor.
func CGContextSetRGBStrokeColor ¶
func CGContextSetRGBStrokeColor(c obj.Object, red float64, green float64, blue float64, alpha float64)
CGContextSetRGBStrokeColor calls the CoreGraphics framework function CGContextSetRGBStrokeColor.
func CGContextSetRenderingIntent ¶
func CGContextSetRenderingIntent(c obj.Object, intent CGColorRenderingIntent)
CGContextSetRenderingIntent calls the CoreGraphics framework function CGContextSetRenderingIntent.
func CGContextSetShadow ¶
func CGContextSetShadow(c obj.Object, offset corefoundation.CGSize, blur float64)
CGContextSetShadow calls the CoreGraphics framework function CGContextSetShadow.
func CGContextSetShadowWithColor ¶
func CGContextSetShadowWithColor(c obj.Object, offset corefoundation.CGSize, blur float64, color obj.Object)
CGContextSetShadowWithColor calls the CoreGraphics framework function CGContextSetShadowWithColor.
func CGContextSetShouldAntialias ¶
CGContextSetShouldAntialias calls the CoreGraphics framework function CGContextSetShouldAntialias.
func CGContextSetShouldSmoothFonts ¶
CGContextSetShouldSmoothFonts calls the CoreGraphics framework function CGContextSetShouldSmoothFonts.
func CGContextSetShouldSubpixelPositionFonts ¶
CGContextSetShouldSubpixelPositionFonts calls the CoreGraphics framework function CGContextSetShouldSubpixelPositionFonts.
func CGContextSetShouldSubpixelQuantizeFonts ¶
CGContextSetShouldSubpixelQuantizeFonts calls the CoreGraphics framework function CGContextSetShouldSubpixelQuantizeFonts.
func CGContextSetStrokeColor ¶
CGContextSetStrokeColor calls the CoreGraphics framework function CGContextSetStrokeColor.
func CGContextSetStrokeColorSpace ¶
CGContextSetStrokeColorSpace calls the CoreGraphics framework function CGContextSetStrokeColorSpace.
func CGContextSetStrokeColorWithColor ¶
CGContextSetStrokeColorWithColor calls the CoreGraphics framework function CGContextSetStrokeColorWithColor.
func CGContextSetStrokePattern ¶
CGContextSetStrokePattern calls the CoreGraphics framework function CGContextSetStrokePattern.
func CGContextSetTextDrawingMode ¶
func CGContextSetTextDrawingMode(c obj.Object, mode CGTextDrawingMode)
CGContextSetTextDrawingMode calls the CoreGraphics framework function CGContextSetTextDrawingMode.
func CGContextSetTextMatrix ¶
func CGContextSetTextMatrix(c obj.Object, t corefoundation.CGAffineTransform)
CGContextSetTextMatrix calls the CoreGraphics framework function CGContextSetTextMatrix.
func CGContextSetTextPosition ¶
CGContextSetTextPosition calls the CoreGraphics framework function CGContextSetTextPosition.
func CGContextShowGlyphs ¶
CGContextShowGlyphs calls the CoreGraphics framework function CGContextShowGlyphs.
func CGContextShowGlyphsAtPoint ¶
func CGContextShowGlyphsAtPoint(c obj.Object, x float64, y float64, glyphs unsafe.Pointer, count int)
CGContextShowGlyphsAtPoint calls the CoreGraphics framework function CGContextShowGlyphsAtPoint.
func CGContextShowGlyphsAtPositions ¶
func CGContextShowGlyphsAtPositions(c obj.Object, lpositions unsafe.Pointer, count int) (glyphs uint16)
CGContextShowGlyphsAtPositions calls the CoreGraphics framework function CGContextShowGlyphsAtPositions.
func CGContextShowGlyphsWithAdvances ¶
func CGContextShowGlyphsWithAdvances(c obj.Object, advances unsafe.Pointer, count int) (glyphs uint16)
CGContextShowGlyphsWithAdvances calls the CoreGraphics framework function CGContextShowGlyphsWithAdvances.
func CGContextShowText ¶
CGContextShowText calls the CoreGraphics framework function CGContextShowText.
func CGContextShowTextAtPoint ¶
CGContextShowTextAtPoint calls the CoreGraphics framework function CGContextShowTextAtPoint.
func CGContextStrokeEllipseInRect ¶
func CGContextStrokeEllipseInRect(c obj.Object, rect corefoundation.CGRect)
CGContextStrokeEllipseInRect calls the CoreGraphics framework function CGContextStrokeEllipseInRect.
func CGContextStrokeLineSegments ¶
CGContextStrokeLineSegments calls the CoreGraphics framework function CGContextStrokeLineSegments.
func CGContextStrokePath ¶
CGContextStrokePath calls the CoreGraphics framework function CGContextStrokePath.
func CGContextStrokeRect ¶
func CGContextStrokeRect(c obj.Object, rect corefoundation.CGRect)
CGContextStrokeRect calls the CoreGraphics framework function CGContextStrokeRect.
func CGContextStrokeRectWithWidth ¶
func CGContextStrokeRectWithWidth(c obj.Object, rect corefoundation.CGRect, width float64)
CGContextStrokeRectWithWidth calls the CoreGraphics framework function CGContextStrokeRectWithWidth.
func CGContextSynchronize ¶
CGContextSynchronize calls the CoreGraphics framework function CGContextSynchronize.
func CGContextSynchronizeAttributes ¶
CGContextSynchronizeAttributes calls the CoreGraphics framework function CGContextSynchronizeAttributes.
func CGContextTranslateCTM ¶
CGContextTranslateCTM calls the CoreGraphics framework function CGContextTranslateCTM.
func CGConvertColorDataWithFormat ¶
func CGConvertColorDataWithFormat(width int, height int, dstData unsafe.Pointer, dstFormat unsafe.Pointer, srcData unsafe.Pointer, srcFormat unsafe.Pointer, options obj.Object) bool
CGConvertColorDataWithFormat calls the CoreGraphics framework function CGConvertColorDataWithFormat.
func CGCursorIsDrawnInFramebuffer ¶
func CGCursorIsDrawnInFramebuffer() int
CGCursorIsDrawnInFramebuffer calls the CoreGraphics framework function CGCursorIsDrawnInFramebuffer.
func CGCursorIsVisible ¶
func CGCursorIsVisible() int
CGCursorIsVisible calls the CoreGraphics framework function CGCursorIsVisible.
func CGDataConsumerCreate ¶
CGDataConsumerCreate calls the CoreGraphics framework function CGDataConsumerCreate.
func CGDataConsumerCreateWithCFData ¶
CGDataConsumerCreateWithCFData calls the CoreGraphics framework function CGDataConsumerCreateWithCFData.
func CGDataConsumerCreateWithURL ¶
CGDataConsumerCreateWithURL calls the CoreGraphics framework function CGDataConsumerCreateWithURL.
func CGDataConsumerGetTypeID ¶
func CGDataConsumerGetTypeID() int
CGDataConsumerGetTypeID calls the CoreGraphics framework function CGDataConsumerGetTypeID.
func CGDataConsumerRelease ¶
CGDataConsumerRelease calls the CoreGraphics framework function CGDataConsumerRelease.
func CGDataConsumerRetain ¶
CGDataConsumerRetain calls the CoreGraphics framework function CGDataConsumerRetain.
func CGDataProviderCopyData ¶
CGDataProviderCopyData calls the CoreGraphics framework function CGDataProviderCopyData.
func CGDataProviderCreateDirect ¶
func CGDataProviderCreateDirect(info unsafe.Pointer, size int64, callbacks unsafe.Pointer) obj.Object
CGDataProviderCreateDirect calls the CoreGraphics framework function CGDataProviderCreateDirect.
func CGDataProviderCreateSequential ¶
CGDataProviderCreateSequential calls the CoreGraphics framework function CGDataProviderCreateSequential.
func CGDataProviderCreateWithCFData ¶
CGDataProviderCreateWithCFData calls the CoreGraphics framework function CGDataProviderCreateWithCFData.
func CGDataProviderCreateWithData ¶
func CGDataProviderCreateWithData(info unsafe.Pointer, data unsafe.Pointer, size int, releaseData unsafe.Pointer) obj.Object
CGDataProviderCreateWithData calls the CoreGraphics framework function CGDataProviderCreateWithData.
func CGDataProviderCreateWithFilename ¶
CGDataProviderCreateWithFilename calls the CoreGraphics framework function CGDataProviderCreateWithFilename.
func CGDataProviderCreateWithURL ¶
CGDataProviderCreateWithURL calls the CoreGraphics framework function CGDataProviderCreateWithURL.
func CGDataProviderGetInfo ¶
CGDataProviderGetInfo calls the CoreGraphics framework function CGDataProviderGetInfo.
func CGDataProviderGetTypeID ¶
func CGDataProviderGetTypeID() int
CGDataProviderGetTypeID calls the CoreGraphics framework function CGDataProviderGetTypeID.
func CGDataProviderRelease ¶
CGDataProviderRelease calls the CoreGraphics framework function CGDataProviderRelease.
func CGDataProviderRetain ¶
CGDataProviderRetain calls the CoreGraphics framework function CGDataProviderRetain.
func CGDirectDisplayCopyCurrentMetalDevice ¶
CGDirectDisplayCopyCurrentMetalDevice calls the CoreGraphics framework function CGDirectDisplayCopyCurrentMetalDevice.
func CGDisplayAvailableModes ¶
CGDisplayAvailableModes calls the CoreGraphics framework function CGDisplayAvailableModes.
func CGDisplayBestModeForParameters ¶
func CGDisplayBestModeForParameters(display uint32, bitsPerPixel int, width int, height int) (result obj.Object, exactMatch int)
CGDisplayBestModeForParameters calls the CoreGraphics framework function CGDisplayBestModeForParameters.
func CGDisplayBestModeForParametersAndRefreshRate ¶
func CGDisplayBestModeForParametersAndRefreshRate(display uint32, bitsPerPixel int, width int, height int, refreshRate float64) (result obj.Object, exactMatch int)
CGDisplayBestModeForParametersAndRefreshRate calls the CoreGraphics framework function CGDisplayBestModeForParametersAndRefreshRate.
func CGDisplayBounds ¶
func CGDisplayBounds(display uint32) corefoundation.CGRect
CGDisplayBounds calls the CoreGraphics framework function CGDisplayBounds.
func CGDisplayCopyAllDisplayModes ¶
CGDisplayCopyAllDisplayModes calls the CoreGraphics framework function CGDisplayCopyAllDisplayModes.
func CGDisplayCopyColorSpace ¶
CGDisplayCopyColorSpace calls the CoreGraphics framework function CGDisplayCopyColorSpace.
func CGDisplayCopyDisplayMode ¶
CGDisplayCopyDisplayMode calls the CoreGraphics framework function CGDisplayCopyDisplayMode.
func CGDisplayCurrentMode ¶
CGDisplayCurrentMode calls the CoreGraphics framework function CGDisplayCurrentMode.
func CGDisplayFadeOperationInProgress ¶
func CGDisplayFadeOperationInProgress() int
CGDisplayFadeOperationInProgress calls the CoreGraphics framework function CGDisplayFadeOperationInProgress.
func CGDisplayGammaTableCapacity ¶
CGDisplayGammaTableCapacity calls the CoreGraphics framework function CGDisplayGammaTableCapacity.
func CGDisplayGetDrawingContext ¶
CGDisplayGetDrawingContext calls the CoreGraphics framework function CGDisplayGetDrawingContext.
func CGDisplayIDToOpenGLDisplayMask ¶
CGDisplayIDToOpenGLDisplayMask calls the CoreGraphics framework function CGDisplayIDToOpenGLDisplayMask.
func CGDisplayIOServicePort ¶
CGDisplayIOServicePort calls the CoreGraphics framework function CGDisplayIOServicePort.
func CGDisplayIsActive ¶
CGDisplayIsActive calls the CoreGraphics framework function CGDisplayIsActive.
func CGDisplayIsAlwaysInMirrorSet ¶
CGDisplayIsAlwaysInMirrorSet calls the CoreGraphics framework function CGDisplayIsAlwaysInMirrorSet.
func CGDisplayIsAsleep ¶
CGDisplayIsAsleep calls the CoreGraphics framework function CGDisplayIsAsleep.
func CGDisplayIsBuiltin ¶
CGDisplayIsBuiltin calls the CoreGraphics framework function CGDisplayIsBuiltin.
func CGDisplayIsCaptured ¶
CGDisplayIsCaptured calls the CoreGraphics framework function CGDisplayIsCaptured.
func CGDisplayIsInHWMirrorSet ¶
CGDisplayIsInHWMirrorSet calls the CoreGraphics framework function CGDisplayIsInHWMirrorSet.
func CGDisplayIsInMirrorSet ¶
CGDisplayIsInMirrorSet calls the CoreGraphics framework function CGDisplayIsInMirrorSet.
func CGDisplayIsMain ¶
CGDisplayIsMain calls the CoreGraphics framework function CGDisplayIsMain.
func CGDisplayIsOnline ¶
CGDisplayIsOnline calls the CoreGraphics framework function CGDisplayIsOnline.
func CGDisplayIsStereo ¶
CGDisplayIsStereo calls the CoreGraphics framework function CGDisplayIsStereo.
func CGDisplayMirrorsDisplay ¶
CGDisplayMirrorsDisplay calls the CoreGraphics framework function CGDisplayMirrorsDisplay.
func CGDisplayModeCopyPixelEncoding ¶
CGDisplayModeCopyPixelEncoding calls the CoreGraphics framework function CGDisplayModeCopyPixelEncoding.
func CGDisplayModeGetHeight ¶
CGDisplayModeGetHeight calls the CoreGraphics framework function CGDisplayModeGetHeight.
func CGDisplayModeGetIODisplayModeID ¶
CGDisplayModeGetIODisplayModeID calls the CoreGraphics framework function CGDisplayModeGetIODisplayModeID.
func CGDisplayModeGetIOFlags ¶
CGDisplayModeGetIOFlags calls the CoreGraphics framework function CGDisplayModeGetIOFlags.
func CGDisplayModeGetPixelHeight ¶
CGDisplayModeGetPixelHeight calls the CoreGraphics framework function CGDisplayModeGetPixelHeight.
func CGDisplayModeGetPixelWidth ¶
CGDisplayModeGetPixelWidth calls the CoreGraphics framework function CGDisplayModeGetPixelWidth.
func CGDisplayModeGetRefreshRate ¶
CGDisplayModeGetRefreshRate calls the CoreGraphics framework function CGDisplayModeGetRefreshRate.
func CGDisplayModeGetTypeID ¶
func CGDisplayModeGetTypeID() int
CGDisplayModeGetTypeID calls the CoreGraphics framework function CGDisplayModeGetTypeID.
func CGDisplayModeGetWidth ¶
CGDisplayModeGetWidth calls the CoreGraphics framework function CGDisplayModeGetWidth.
func CGDisplayModeIsUsableForDesktopGUI ¶
CGDisplayModeIsUsableForDesktopGUI calls the CoreGraphics framework function CGDisplayModeIsUsableForDesktopGUI.
func CGDisplayModeRelease ¶
CGDisplayModeRelease calls the CoreGraphics framework function CGDisplayModeRelease.
func CGDisplayModeRetain ¶
CGDisplayModeRetain calls the CoreGraphics framework function CGDisplayModeRetain.
func CGDisplayModelNumber ¶
CGDisplayModelNumber calls the CoreGraphics framework function CGDisplayModelNumber.
func CGDisplayPixelsHigh ¶
CGDisplayPixelsHigh calls the CoreGraphics framework function CGDisplayPixelsHigh.
func CGDisplayPixelsWide ¶
CGDisplayPixelsWide calls the CoreGraphics framework function CGDisplayPixelsWide.
func CGDisplayPrimaryDisplay ¶
CGDisplayPrimaryDisplay calls the CoreGraphics framework function CGDisplayPrimaryDisplay.
func CGDisplayRestoreColorSyncSettings ¶
func CGDisplayRestoreColorSyncSettings()
CGDisplayRestoreColorSyncSettings calls the CoreGraphics framework function CGDisplayRestoreColorSyncSettings.
func CGDisplayRotation ¶
CGDisplayRotation calls the CoreGraphics framework function CGDisplayRotation.
func CGDisplayScreenSize ¶
func CGDisplayScreenSize(display uint32) corefoundation.CGSize
CGDisplayScreenSize calls the CoreGraphics framework function CGDisplayScreenSize.
func CGDisplaySerialNumber ¶
CGDisplaySerialNumber calls the CoreGraphics framework function CGDisplaySerialNumber.
func CGDisplayUnitNumber ¶
CGDisplayUnitNumber calls the CoreGraphics framework function CGDisplayUnitNumber.
func CGDisplayUsesOpenGLAcceleration ¶
CGDisplayUsesOpenGLAcceleration calls the CoreGraphics framework function CGDisplayUsesOpenGLAcceleration.
func CGDisplayVendorNumber ¶
CGDisplayVendorNumber calls the CoreGraphics framework function CGDisplayVendorNumber.
func CGEXRToneMappingGammaGetDefaultOptions ¶
CGEXRToneMappingGammaGetDefaultOptions calls the CoreGraphics framework function CGEXRToneMappingGammaGetDefaultOptions.
func CGErrorSetCallback ¶
CGErrorSetCallback calls the CoreGraphics framework function CGErrorSetCallback.
func CGEventCreate ¶
CGEventCreate calls the CoreGraphics framework function CGEventCreate.
func CGEventCreateCopy ¶
CGEventCreateCopy calls the CoreGraphics framework function CGEventCreateCopy.
func CGEventCreateData ¶
CGEventCreateData calls the CoreGraphics framework function CGEventCreateData.
func CGEventCreateFromData ¶
CGEventCreateFromData calls the CoreGraphics framework function CGEventCreateFromData.
func CGEventCreateKeyboardEvent ¶
CGEventCreateKeyboardEvent calls the CoreGraphics framework function CGEventCreateKeyboardEvent.
func CGEventCreateMouseEvent ¶
func CGEventCreateMouseEvent(source obj.Object, mouseType CGEventType, mouseCursorPosition corefoundation.CGPoint, mouseButton CGMouseButton) obj.Object
CGEventCreateMouseEvent calls the CoreGraphics framework function CGEventCreateMouseEvent.
func CGEventCreateScrollWheelEvent2 ¶
func CGEventCreateScrollWheelEvent2(source obj.Object, units CGScrollEventUnit, wheelCount uint32, wheel1 int32, wheel2 int32, wheel3 int32) obj.Object
CGEventCreateScrollWheelEvent2 calls the CoreGraphics framework function CGEventCreateScrollWheelEvent2.
func CGEventCreateSourceFromEvent ¶
CGEventCreateSourceFromEvent calls the CoreGraphics framework function CGEventCreateSourceFromEvent.
func CGEventGetDoubleValueField ¶
func CGEventGetDoubleValueField(event obj.Object, field CGEventField) float64
CGEventGetDoubleValueField calls the CoreGraphics framework function CGEventGetDoubleValueField.
func CGEventGetIntegerValueField ¶
func CGEventGetIntegerValueField(event obj.Object, field CGEventField) int64
CGEventGetIntegerValueField calls the CoreGraphics framework function CGEventGetIntegerValueField.
func CGEventGetLocation ¶
func CGEventGetLocation(event obj.Object) corefoundation.CGPoint
CGEventGetLocation calls the CoreGraphics framework function CGEventGetLocation.
func CGEventGetTimestamp ¶
CGEventGetTimestamp calls the CoreGraphics framework function CGEventGetTimestamp.
func CGEventGetTypeID ¶
func CGEventGetTypeID() int
CGEventGetTypeID calls the CoreGraphics framework function CGEventGetTypeID.
func CGEventGetUnflippedLocation ¶
func CGEventGetUnflippedLocation(event obj.Object) corefoundation.CGPoint
CGEventGetUnflippedLocation calls the CoreGraphics framework function CGEventGetUnflippedLocation.
func CGEventKeyboardGetUnicodeString ¶
func CGEventKeyboardGetUnicodeString(event obj.Object, maxStringLength int) (actualStringLength int, unicodeString uint16)
CGEventKeyboardGetUnicodeString calls the CoreGraphics framework function CGEventKeyboardGetUnicodeString.
func CGEventKeyboardSetUnicodeString ¶
CGEventKeyboardSetUnicodeString calls the CoreGraphics framework function CGEventKeyboardSetUnicodeString.
func CGEventPost ¶
func CGEventPost(tap CGEventTapLocation, event obj.Object)
CGEventPost calls the CoreGraphics framework function CGEventPost.
func CGEventPostToPSN ¶
CGEventPostToPSN calls the CoreGraphics framework function CGEventPostToPSN.
func CGEventPostToPid ¶
CGEventPostToPid calls the CoreGraphics framework function CGEventPostToPid.
func CGEventSetDoubleValueField ¶
func CGEventSetDoubleValueField(event obj.Object, field CGEventField, value float64)
CGEventSetDoubleValueField calls the CoreGraphics framework function CGEventSetDoubleValueField.
func CGEventSetFlags ¶
func CGEventSetFlags(event obj.Object, flags CGEventFlags)
CGEventSetFlags calls the CoreGraphics framework function CGEventSetFlags.
func CGEventSetIntegerValueField ¶
func CGEventSetIntegerValueField(event obj.Object, field CGEventField, value int64)
CGEventSetIntegerValueField calls the CoreGraphics framework function CGEventSetIntegerValueField.
func CGEventSetLocation ¶
func CGEventSetLocation(event obj.Object, location corefoundation.CGPoint)
CGEventSetLocation calls the CoreGraphics framework function CGEventSetLocation.
func CGEventSetSource ¶
CGEventSetSource calls the CoreGraphics framework function CGEventSetSource.
func CGEventSetTimestamp ¶
CGEventSetTimestamp calls the CoreGraphics framework function CGEventSetTimestamp.
func CGEventSetType ¶
func CGEventSetType(event obj.Object, type_ CGEventType)
CGEventSetType calls the CoreGraphics framework function CGEventSetType.
func CGEventSourceButtonState ¶
func CGEventSourceButtonState(stateID CGEventSourceStateID, button CGMouseButton) bool
CGEventSourceButtonState calls the CoreGraphics framework function CGEventSourceButtonState.
func CGEventSourceCounterForEventType ¶
func CGEventSourceCounterForEventType(stateID CGEventSourceStateID, eventType CGEventType) uint32
CGEventSourceCounterForEventType calls the CoreGraphics framework function CGEventSourceCounterForEventType.
func CGEventSourceCreate ¶
func CGEventSourceCreate(stateID CGEventSourceStateID) obj.Object
CGEventSourceCreate calls the CoreGraphics framework function CGEventSourceCreate.
func CGEventSourceGetKeyboardType ¶
CGEventSourceGetKeyboardType calls the CoreGraphics framework function CGEventSourceGetKeyboardType.
func CGEventSourceGetLocalEventsSuppressionInterval ¶
CGEventSourceGetLocalEventsSuppressionInterval calls the CoreGraphics framework function CGEventSourceGetLocalEventsSuppressionInterval.
func CGEventSourceGetPixelsPerLine ¶
CGEventSourceGetPixelsPerLine calls the CoreGraphics framework function CGEventSourceGetPixelsPerLine.
func CGEventSourceGetTypeID ¶
func CGEventSourceGetTypeID() int
CGEventSourceGetTypeID calls the CoreGraphics framework function CGEventSourceGetTypeID.
func CGEventSourceGetUserData ¶
CGEventSourceGetUserData calls the CoreGraphics framework function CGEventSourceGetUserData.
func CGEventSourceKeyState ¶
func CGEventSourceKeyState(stateID CGEventSourceStateID, key uint16) bool
CGEventSourceKeyState calls the CoreGraphics framework function CGEventSourceKeyState.
func CGEventSourceSecondsSinceLastEventType ¶
func CGEventSourceSecondsSinceLastEventType(stateID CGEventSourceStateID, eventType CGEventType) float64
CGEventSourceSecondsSinceLastEventType calls the CoreGraphics framework function CGEventSourceSecondsSinceLastEventType.
func CGEventSourceSetKeyboardType ¶
CGEventSourceSetKeyboardType calls the CoreGraphics framework function CGEventSourceSetKeyboardType.
func CGEventSourceSetLocalEventsFilterDuringSuppressionState ¶
func CGEventSourceSetLocalEventsFilterDuringSuppressionState(source obj.Object, filter CGEventFilterMask, state CGEventSuppressionState)
CGEventSourceSetLocalEventsFilterDuringSuppressionState calls the CoreGraphics framework function CGEventSourceSetLocalEventsFilterDuringSuppressionState.
func CGEventSourceSetLocalEventsSuppressionInterval ¶
CGEventSourceSetLocalEventsSuppressionInterval calls the CoreGraphics framework function CGEventSourceSetLocalEventsSuppressionInterval.
func CGEventSourceSetPixelsPerLine ¶
CGEventSourceSetPixelsPerLine calls the CoreGraphics framework function CGEventSourceSetPixelsPerLine.
func CGEventSourceSetUserData ¶
CGEventSourceSetUserData calls the CoreGraphics framework function CGEventSourceSetUserData.
func CGEventTapCreate ¶
func CGEventTapCreate(tap CGEventTapLocation, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) obj.Object
CGEventTapCreate calls the CoreGraphics framework function CGEventTapCreate.
func CGEventTapCreateForPSN ¶
func CGEventTapCreateForPSN(processSerialNumber unsafe.Pointer, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) obj.Object
CGEventTapCreateForPSN calls the CoreGraphics framework function CGEventTapCreateForPSN.
func CGEventTapCreateForPid ¶
func CGEventTapCreateForPid(pid int, place CGEventTapPlacement, options CGEventTapOptions, eventsOfInterest uint64, callback unsafe.Pointer, userInfo unsafe.Pointer) obj.Object
CGEventTapCreateForPid calls the CoreGraphics framework function CGEventTapCreateForPid.
func CGEventTapEnable ¶
CGEventTapEnable calls the CoreGraphics framework function CGEventTapEnable.
func CGEventTapIsEnabled ¶
CGEventTapIsEnabled calls the CoreGraphics framework function CGEventTapIsEnabled.
func CGEventTapPostEvent ¶
CGEventTapPostEvent calls the CoreGraphics framework function CGEventTapPostEvent.
func CGFontCanCreatePostScriptSubset ¶
func CGFontCanCreatePostScriptSubset(font obj.Object, format CGFontPostScriptFormat) bool
CGFontCanCreatePostScriptSubset calls the CoreGraphics framework function CGFontCanCreatePostScriptSubset.
func CGFontCopyFullName ¶
CGFontCopyFullName calls the CoreGraphics framework function CGFontCopyFullName.
func CGFontCopyGlyphNameForGlyph ¶
CGFontCopyGlyphNameForGlyph calls the CoreGraphics framework function CGFontCopyGlyphNameForGlyph.
func CGFontCopyPostScriptName ¶
CGFontCopyPostScriptName calls the CoreGraphics framework function CGFontCopyPostScriptName.
func CGFontCopyTableForTag ¶
CGFontCopyTableForTag calls the CoreGraphics framework function CGFontCopyTableForTag.
func CGFontCopyTableTags ¶
CGFontCopyTableTags calls the CoreGraphics framework function CGFontCopyTableTags.
func CGFontCopyVariationAxes ¶
CGFontCopyVariationAxes calls the CoreGraphics framework function CGFontCopyVariationAxes.
func CGFontCopyVariations ¶
CGFontCopyVariations calls the CoreGraphics framework function CGFontCopyVariations.
func CGFontCreateCopyWithVariations ¶
CGFontCreateCopyWithVariations calls the CoreGraphics framework function CGFontCreateCopyWithVariations.
func CGFontCreatePostScriptEncoding ¶
CGFontCreatePostScriptEncoding calls the CoreGraphics framework function CGFontCreatePostScriptEncoding.
func CGFontCreatePostScriptSubset ¶
func CGFontCreatePostScriptSubset(font obj.Object, subsetName obj.Object, format CGFontPostScriptFormat, glyphs unsafe.Pointer, count int) (result obj.Object, encoding uint16)
CGFontCreatePostScriptSubset calls the CoreGraphics framework function CGFontCreatePostScriptSubset.
func CGFontCreateWithDataProvider ¶
CGFontCreateWithDataProvider calls the CoreGraphics framework function CGFontCreateWithDataProvider.
func CGFontCreateWithFontName ¶
CGFontCreateWithFontName calls the CoreGraphics framework function CGFontCreateWithFontName.
func CGFontCreateWithPlatformFont ¶
CGFontCreateWithPlatformFont calls the CoreGraphics framework function CGFontCreateWithPlatformFont.
func CGFontGetAscent ¶
CGFontGetAscent calls the CoreGraphics framework function CGFontGetAscent.
func CGFontGetCapHeight ¶
CGFontGetCapHeight calls the CoreGraphics framework function CGFontGetCapHeight.
func CGFontGetDescent ¶
CGFontGetDescent calls the CoreGraphics framework function CGFontGetDescent.
func CGFontGetFontBBox ¶
func CGFontGetFontBBox(font obj.Object) corefoundation.CGRect
CGFontGetFontBBox calls the CoreGraphics framework function CGFontGetFontBBox.
func CGFontGetGlyphAdvances ¶
func CGFontGetGlyphAdvances(font obj.Object, glyphs unsafe.Pointer, count int) (ok bool, advances int32)
CGFontGetGlyphAdvances calls the CoreGraphics framework function CGFontGetGlyphAdvances.
func CGFontGetGlyphBBoxes ¶
func CGFontGetGlyphBBoxes(font obj.Object, glyphs unsafe.Pointer, count int, bboxes unsafe.Pointer) bool
CGFontGetGlyphBBoxes calls the CoreGraphics framework function CGFontGetGlyphBBoxes.
func CGFontGetGlyphWithGlyphName ¶
CGFontGetGlyphWithGlyphName calls the CoreGraphics framework function CGFontGetGlyphWithGlyphName.
func CGFontGetItalicAngle ¶
CGFontGetItalicAngle calls the CoreGraphics framework function CGFontGetItalicAngle.
func CGFontGetLeading ¶
CGFontGetLeading calls the CoreGraphics framework function CGFontGetLeading.
func CGFontGetNumberOfGlyphs ¶
CGFontGetNumberOfGlyphs calls the CoreGraphics framework function CGFontGetNumberOfGlyphs.
func CGFontGetStemV ¶
CGFontGetStemV calls the CoreGraphics framework function CGFontGetStemV.
func CGFontGetTypeID ¶
func CGFontGetTypeID() int
CGFontGetTypeID calls the CoreGraphics framework function CGFontGetTypeID.
func CGFontGetUnitsPerEm ¶
CGFontGetUnitsPerEm calls the CoreGraphics framework function CGFontGetUnitsPerEm.
func CGFontGetXHeight ¶
CGFontGetXHeight calls the CoreGraphics framework function CGFontGetXHeight.
func CGFontRelease ¶
CGFontRelease calls the CoreGraphics framework function CGFontRelease.
func CGFontRetain ¶
CGFontRetain calls the CoreGraphics framework function CGFontRetain.
func CGFunctionCreate ¶
func CGFunctionCreate(info unsafe.Pointer, domainDimension int, rangeDimension int, callbacks unsafe.Pointer) (result obj.Object, domain float64, range_ float64)
CGFunctionCreate calls the CoreGraphics framework function CGFunctionCreate.
func CGFunctionGetTypeID ¶
func CGFunctionGetTypeID() int
CGFunctionGetTypeID calls the CoreGraphics framework function CGFunctionGetTypeID.
func CGFunctionRelease ¶
CGFunctionRelease calls the CoreGraphics framework function CGFunctionRelease.
func CGFunctionRetain ¶
CGFunctionRetain calls the CoreGraphics framework function CGFunctionRetain.
func CGGetLastMouseDelta ¶
CGGetLastMouseDelta calls the CoreGraphics framework function CGGetLastMouseDelta.
func CGGradientCreateWithColorComponents ¶
func CGGradientCreateWithColorComponents(space obj.Object, locations unsafe.Pointer, count int) (result obj.Object, components float64)
CGGradientCreateWithColorComponents calls the CoreGraphics framework function CGGradientCreateWithColorComponents.
func CGGradientCreateWithColors ¶
func CGGradientCreateWithColors(space obj.Object, colors obj.Object) (result obj.Object, locations float64)
CGGradientCreateWithColors calls the CoreGraphics framework function CGGradientCreateWithColors.
func CGGradientCreateWithContentHeadroom ¶
func CGGradientCreateWithContentHeadroom(headroom float32, space obj.Object, locations unsafe.Pointer, count int) (result obj.Object, components float64)
CGGradientCreateWithContentHeadroom calls the CoreGraphics framework function CGGradientCreateWithContentHeadroom.
func CGGradientGetContentHeadroom ¶
CGGradientGetContentHeadroom calls the CoreGraphics framework function CGGradientGetContentHeadroom.
func CGGradientGetTypeID ¶
func CGGradientGetTypeID() int
CGGradientGetTypeID calls the CoreGraphics framework function CGGradientGetTypeID.
func CGGradientRelease ¶
CGGradientRelease calls the CoreGraphics framework function CGGradientRelease.
func CGGradientRetain ¶
CGGradientRetain calls the CoreGraphics framework function CGGradientRetain.
func CGImageCalculateContentAverageLightLevel ¶
CGImageCalculateContentAverageLightLevel calls the CoreGraphics framework function CGImageCalculateContentAverageLightLevel.
func CGImageCalculateContentHeadroom ¶
CGImageCalculateContentHeadroom calls the CoreGraphics framework function CGImageCalculateContentHeadroom.
func CGImageContainsImageSpecificToneMappingMetadata ¶
CGImageContainsImageSpecificToneMappingMetadata calls the CoreGraphics framework function CGImageContainsImageSpecificToneMappingMetadata.
func CGImageCreate ¶
func CGImageCreate(width int, height int, bitsPerComponent int, bitsPerPixel int, bytesPerRow int, space obj.Object, bitmapInfo CGBitmapInfo, provider obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
CGImageCreate calls the CoreGraphics framework function CGImageCreate.
func CGImageCreateCopy ¶
CGImageCreateCopy calls the CoreGraphics framework function CGImageCreateCopy.
func CGImageCreateCopyWithCalculatedHDRStats ¶
CGImageCreateCopyWithCalculatedHDRStats calls the CoreGraphics framework function CGImageCreateCopyWithCalculatedHDRStats.
func CGImageCreateCopyWithColorSpace ¶
CGImageCreateCopyWithColorSpace calls the CoreGraphics framework function CGImageCreateCopyWithColorSpace.
func CGImageCreateCopyWithContentAverageLightLevel ¶
CGImageCreateCopyWithContentAverageLightLevel calls the CoreGraphics framework function CGImageCreateCopyWithContentAverageLightLevel.
func CGImageCreateCopyWithContentHeadroom ¶
CGImageCreateCopyWithContentHeadroom calls the CoreGraphics framework function CGImageCreateCopyWithContentHeadroom.
func CGImageCreateWithContentHeadroom ¶
func CGImageCreateWithContentHeadroom(headroom float32, width int, height int, bitsPerComponent int, bitsPerPixel int, bytesPerRow int, space obj.Object, bitmapInfo CGBitmapInfo, provider obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
CGImageCreateWithContentHeadroom calls the CoreGraphics framework function CGImageCreateWithContentHeadroom.
func CGImageCreateWithImageInRect ¶
CGImageCreateWithImageInRect calls the CoreGraphics framework function CGImageCreateWithImageInRect.
func CGImageCreateWithJPEGDataProvider ¶
func CGImageCreateWithJPEGDataProvider(source obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
CGImageCreateWithJPEGDataProvider calls the CoreGraphics framework function CGImageCreateWithJPEGDataProvider.
func CGImageCreateWithMask ¶
CGImageCreateWithMask calls the CoreGraphics framework function CGImageCreateWithMask.
func CGImageCreateWithMaskingColors ¶
CGImageCreateWithMaskingColors calls the CoreGraphics framework function CGImageCreateWithMaskingColors.
func CGImageCreateWithPNGDataProvider ¶
func CGImageCreateWithPNGDataProvider(source obj.Object, shouldInterpolate bool, intent CGColorRenderingIntent) (result obj.Object, decode float64)
CGImageCreateWithPNGDataProvider calls the CoreGraphics framework function CGImageCreateWithPNGDataProvider.
func CGImageGetBitsPerComponent ¶
CGImageGetBitsPerComponent calls the CoreGraphics framework function CGImageGetBitsPerComponent.
func CGImageGetBitsPerPixel ¶
CGImageGetBitsPerPixel calls the CoreGraphics framework function CGImageGetBitsPerPixel.
func CGImageGetBytesPerRow ¶
CGImageGetBytesPerRow calls the CoreGraphics framework function CGImageGetBytesPerRow.
func CGImageGetColorSpace ¶
CGImageGetColorSpace calls the CoreGraphics framework function CGImageGetColorSpace.
func CGImageGetContentAverageLightLevel ¶
CGImageGetContentAverageLightLevel calls the CoreGraphics framework function CGImageGetContentAverageLightLevel.
func CGImageGetContentHeadroom ¶
CGImageGetContentHeadroom calls the CoreGraphics framework function CGImageGetContentHeadroom.
func CGImageGetDataProvider ¶
CGImageGetDataProvider calls the CoreGraphics framework function CGImageGetDataProvider.
func CGImageGetDecode ¶
CGImageGetDecode calls the CoreGraphics framework function CGImageGetDecode.
func CGImageGetHeight ¶
CGImageGetHeight calls the CoreGraphics framework function CGImageGetHeight.
func CGImageGetShouldInterpolate ¶
CGImageGetShouldInterpolate calls the CoreGraphics framework function CGImageGetShouldInterpolate.
func CGImageGetTypeID ¶
func CGImageGetTypeID() int
CGImageGetTypeID calls the CoreGraphics framework function CGImageGetTypeID.
func CGImageGetUTType ¶
CGImageGetUTType calls the CoreGraphics framework function CGImageGetUTType.
func CGImageGetWidth ¶
CGImageGetWidth calls the CoreGraphics framework function CGImageGetWidth.
func CGImageIsMask ¶
CGImageIsMask calls the CoreGraphics framework function CGImageIsMask.
func CGImageMaskCreate ¶
func CGImageMaskCreate(width int, height int, bitsPerComponent int, bitsPerPixel int, bytesPerRow int, provider obj.Object, shouldInterpolate bool) (result obj.Object, decode float64)
CGImageMaskCreate calls the CoreGraphics framework function CGImageMaskCreate.
func CGImageRelease ¶
CGImageRelease calls the CoreGraphics framework function CGImageRelease.
func CGImageRetain ¶
CGImageRetain calls the CoreGraphics framework function CGImageRetain.
func CGImageShouldToneMap ¶
CGImageShouldToneMap calls the CoreGraphics framework function CGImageShouldToneMap.
func CGLayerCreateWithContext ¶
func CGLayerCreateWithContext(context_ obj.Object, size corefoundation.CGSize, auxiliaryInfo obj.Object) obj.Object
CGLayerCreateWithContext calls the CoreGraphics framework function CGLayerCreateWithContext.
func CGLayerGetContext ¶
CGLayerGetContext calls the CoreGraphics framework function CGLayerGetContext.
func CGLayerGetSize ¶
func CGLayerGetSize(layer obj.Object) corefoundation.CGSize
CGLayerGetSize calls the CoreGraphics framework function CGLayerGetSize.
func CGLayerGetTypeID ¶
func CGLayerGetTypeID() int
CGLayerGetTypeID calls the CoreGraphics framework function CGLayerGetTypeID.
func CGLayerRelease ¶
CGLayerRelease calls the CoreGraphics framework function CGLayerRelease.
func CGLayerRetain ¶
CGLayerRetain calls the CoreGraphics framework function CGLayerRetain.
func CGMainDisplayID ¶
func CGMainDisplayID() uint32
CGMainDisplayID calls the CoreGraphics framework function CGMainDisplayID.
func CGOpenGLDisplayMaskToDisplayID ¶
CGOpenGLDisplayMaskToDisplayID calls the CoreGraphics framework function CGOpenGLDisplayMaskToDisplayID.
func CGPDFArrayApplyBlock ¶
CGPDFArrayApplyBlock calls the CoreGraphics framework function CGPDFArrayApplyBlock.
func CGPDFArrayGetArray ¶
CGPDFArrayGetArray calls the CoreGraphics framework function CGPDFArrayGetArray.
func CGPDFArrayGetBoolean ¶
CGPDFArrayGetBoolean calls the CoreGraphics framework function CGPDFArrayGetBoolean.
func CGPDFArrayGetCount ¶
CGPDFArrayGetCount calls the CoreGraphics framework function CGPDFArrayGetCount.
func CGPDFArrayGetDictionary ¶
CGPDFArrayGetDictionary calls the CoreGraphics framework function CGPDFArrayGetDictionary.
func CGPDFArrayGetInteger ¶
CGPDFArrayGetInteger calls the CoreGraphics framework function CGPDFArrayGetInteger.
func CGPDFArrayGetName ¶
CGPDFArrayGetName calls the CoreGraphics framework function CGPDFArrayGetName.
func CGPDFArrayGetNull ¶
CGPDFArrayGetNull calls the CoreGraphics framework function CGPDFArrayGetNull.
func CGPDFArrayGetNumber ¶
CGPDFArrayGetNumber calls the CoreGraphics framework function CGPDFArrayGetNumber.
func CGPDFArrayGetObject ¶
CGPDFArrayGetObject calls the CoreGraphics framework function CGPDFArrayGetObject.
func CGPDFArrayGetStream ¶
CGPDFArrayGetStream calls the CoreGraphics framework function CGPDFArrayGetStream.
func CGPDFArrayGetString ¶
CGPDFArrayGetString calls the CoreGraphics framework function CGPDFArrayGetString.
func CGPDFContentStreamCreateWithPage ¶
CGPDFContentStreamCreateWithPage calls the CoreGraphics framework function CGPDFContentStreamCreateWithPage.
func CGPDFContentStreamCreateWithStream ¶
func CGPDFContentStreamCreateWithStream(stream obj.Object, streamResources obj.Object, parent obj.Object) obj.Object
CGPDFContentStreamCreateWithStream calls the CoreGraphics framework function CGPDFContentStreamCreateWithStream.
func CGPDFContentStreamGetResource ¶
CGPDFContentStreamGetResource calls the CoreGraphics framework function CGPDFContentStreamGetResource.
func CGPDFContentStreamGetStreams ¶
CGPDFContentStreamGetStreams calls the CoreGraphics framework function CGPDFContentStreamGetStreams.
func CGPDFContentStreamRelease ¶
CGPDFContentStreamRelease calls the CoreGraphics framework function CGPDFContentStreamRelease.
func CGPDFContentStreamRetain ¶
CGPDFContentStreamRetain calls the CoreGraphics framework function CGPDFContentStreamRetain.
func CGPDFContextAddDestinationAtPoint ¶
func CGPDFContextAddDestinationAtPoint(context_ obj.Object, name obj.Object, point corefoundation.CGPoint)
CGPDFContextAddDestinationAtPoint calls the CoreGraphics framework function CGPDFContextAddDestinationAtPoint.
func CGPDFContextAddDocumentMetadata ¶
CGPDFContextAddDocumentMetadata calls the CoreGraphics framework function CGPDFContextAddDocumentMetadata.
func CGPDFContextBeginPage ¶
CGPDFContextBeginPage calls the CoreGraphics framework function CGPDFContextBeginPage.
func CGPDFContextBeginTag ¶
func CGPDFContextBeginTag(context_ obj.Object, tagType CGPDFTagType, tagProperties obj.Object)
CGPDFContextBeginTag calls the CoreGraphics framework function CGPDFContextBeginTag.
func CGPDFContextClose ¶
CGPDFContextClose calls the CoreGraphics framework function CGPDFContextClose.
func CGPDFContextCreate ¶
func CGPDFContextCreate(consumer obj.Object, mediaBox unsafe.Pointer, auxiliaryInfo obj.Object) obj.Object
CGPDFContextCreate calls the CoreGraphics framework function CGPDFContextCreate.
func CGPDFContextCreateWithURL ¶
func CGPDFContextCreateWithURL(url obj.Object, mediaBox unsafe.Pointer, auxiliaryInfo obj.Object) obj.Object
CGPDFContextCreateWithURL calls the CoreGraphics framework function CGPDFContextCreateWithURL.
func CGPDFContextEndPage ¶
CGPDFContextEndPage calls the CoreGraphics framework function CGPDFContextEndPage.
func CGPDFContextEndTag ¶
CGPDFContextEndTag calls the CoreGraphics framework function CGPDFContextEndTag.
func CGPDFContextSetDestinationForRect ¶
func CGPDFContextSetDestinationForRect(context_ obj.Object, name obj.Object, rect corefoundation.CGRect)
CGPDFContextSetDestinationForRect calls the CoreGraphics framework function CGPDFContextSetDestinationForRect.
func CGPDFContextSetIDTree ¶
CGPDFContextSetIDTree calls the CoreGraphics framework function CGPDFContextSetIDTree.
func CGPDFContextSetOutline ¶
CGPDFContextSetOutline calls the CoreGraphics framework function CGPDFContextSetOutline.
func CGPDFContextSetPageTagStructureTree ¶
func CGPDFContextSetPageTagStructureTree(context_ obj.Object, pageTagStructureTreeDictionary obj.Object)
CGPDFContextSetPageTagStructureTree calls the CoreGraphics framework function CGPDFContextSetPageTagStructureTree.
func CGPDFContextSetParentTree ¶
CGPDFContextSetParentTree calls the CoreGraphics framework function CGPDFContextSetParentTree.
func CGPDFContextSetURLForRect ¶
CGPDFContextSetURLForRect calls the CoreGraphics framework function CGPDFContextSetURLForRect.
func CGPDFDictionaryApplyBlock ¶
CGPDFDictionaryApplyBlock calls the CoreGraphics framework function CGPDFDictionaryApplyBlock.
func CGPDFDictionaryApplyFunction ¶
CGPDFDictionaryApplyFunction calls the CoreGraphics framework function CGPDFDictionaryApplyFunction.
func CGPDFDictionaryGetArray ¶
CGPDFDictionaryGetArray calls the CoreGraphics framework function CGPDFDictionaryGetArray.
func CGPDFDictionaryGetBoolean ¶
CGPDFDictionaryGetBoolean calls the CoreGraphics framework function CGPDFDictionaryGetBoolean.
func CGPDFDictionaryGetCount ¶
CGPDFDictionaryGetCount calls the CoreGraphics framework function CGPDFDictionaryGetCount.
func CGPDFDictionaryGetDictionary ¶
CGPDFDictionaryGetDictionary calls the CoreGraphics framework function CGPDFDictionaryGetDictionary.
func CGPDFDictionaryGetInteger ¶
CGPDFDictionaryGetInteger calls the CoreGraphics framework function CGPDFDictionaryGetInteger.
func CGPDFDictionaryGetName ¶
CGPDFDictionaryGetName calls the CoreGraphics framework function CGPDFDictionaryGetName.
func CGPDFDictionaryGetNumber ¶
CGPDFDictionaryGetNumber calls the CoreGraphics framework function CGPDFDictionaryGetNumber.
func CGPDFDictionaryGetObject ¶
CGPDFDictionaryGetObject calls the CoreGraphics framework function CGPDFDictionaryGetObject.
func CGPDFDictionaryGetStream ¶
CGPDFDictionaryGetStream calls the CoreGraphics framework function CGPDFDictionaryGetStream.
func CGPDFDictionaryGetString ¶
CGPDFDictionaryGetString calls the CoreGraphics framework function CGPDFDictionaryGetString.
func CGPDFDocumentAllowsCopying ¶
CGPDFDocumentAllowsCopying calls the CoreGraphics framework function CGPDFDocumentAllowsCopying.
func CGPDFDocumentAllowsPrinting ¶
CGPDFDocumentAllowsPrinting calls the CoreGraphics framework function CGPDFDocumentAllowsPrinting.
func CGPDFDocumentCreateWithProvider ¶
CGPDFDocumentCreateWithProvider calls the CoreGraphics framework function CGPDFDocumentCreateWithProvider.
func CGPDFDocumentCreateWithURL ¶
CGPDFDocumentCreateWithURL calls the CoreGraphics framework function CGPDFDocumentCreateWithURL.
func CGPDFDocumentGetArtBox ¶
func CGPDFDocumentGetArtBox(document obj.Object, page int) corefoundation.CGRect
CGPDFDocumentGetArtBox calls the CoreGraphics framework function CGPDFDocumentGetArtBox.
func CGPDFDocumentGetBleedBox ¶
func CGPDFDocumentGetBleedBox(document obj.Object, page int) corefoundation.CGRect
CGPDFDocumentGetBleedBox calls the CoreGraphics framework function CGPDFDocumentGetBleedBox.
func CGPDFDocumentGetCatalog ¶
CGPDFDocumentGetCatalog calls the CoreGraphics framework function CGPDFDocumentGetCatalog.
func CGPDFDocumentGetCropBox ¶
func CGPDFDocumentGetCropBox(document obj.Object, page int) corefoundation.CGRect
CGPDFDocumentGetCropBox calls the CoreGraphics framework function CGPDFDocumentGetCropBox.
func CGPDFDocumentGetID ¶
CGPDFDocumentGetID calls the CoreGraphics framework function CGPDFDocumentGetID.
func CGPDFDocumentGetInfo ¶
CGPDFDocumentGetInfo calls the CoreGraphics framework function CGPDFDocumentGetInfo.
func CGPDFDocumentGetMediaBox ¶
func CGPDFDocumentGetMediaBox(document obj.Object, page int) corefoundation.CGRect
CGPDFDocumentGetMediaBox calls the CoreGraphics framework function CGPDFDocumentGetMediaBox.
func CGPDFDocumentGetNumberOfPages ¶
CGPDFDocumentGetNumberOfPages calls the CoreGraphics framework function CGPDFDocumentGetNumberOfPages.
func CGPDFDocumentGetOutline ¶
CGPDFDocumentGetOutline calls the CoreGraphics framework function CGPDFDocumentGetOutline.
func CGPDFDocumentGetPage ¶
CGPDFDocumentGetPage calls the CoreGraphics framework function CGPDFDocumentGetPage.
func CGPDFDocumentGetRotationAngle ¶
CGPDFDocumentGetRotationAngle calls the CoreGraphics framework function CGPDFDocumentGetRotationAngle.
func CGPDFDocumentGetTrimBox ¶
func CGPDFDocumentGetTrimBox(document obj.Object, page int) corefoundation.CGRect
CGPDFDocumentGetTrimBox calls the CoreGraphics framework function CGPDFDocumentGetTrimBox.
func CGPDFDocumentGetTypeID ¶
func CGPDFDocumentGetTypeID() int
CGPDFDocumentGetTypeID calls the CoreGraphics framework function CGPDFDocumentGetTypeID.
func CGPDFDocumentGetVersion ¶
CGPDFDocumentGetVersion calls the CoreGraphics framework function CGPDFDocumentGetVersion.
func CGPDFDocumentIsEncrypted ¶
CGPDFDocumentIsEncrypted calls the CoreGraphics framework function CGPDFDocumentIsEncrypted.
func CGPDFDocumentIsUnlocked ¶
CGPDFDocumentIsUnlocked calls the CoreGraphics framework function CGPDFDocumentIsUnlocked.
func CGPDFDocumentRelease ¶
CGPDFDocumentRelease calls the CoreGraphics framework function CGPDFDocumentRelease.
func CGPDFDocumentRetain ¶
CGPDFDocumentRetain calls the CoreGraphics framework function CGPDFDocumentRetain.
func CGPDFDocumentUnlockWithPassword ¶
CGPDFDocumentUnlockWithPassword calls the CoreGraphics framework function CGPDFDocumentUnlockWithPassword.
func CGPDFObjectGetValue ¶
CGPDFObjectGetValue calls the CoreGraphics framework function CGPDFObjectGetValue.
func CGPDFOperatorTableCreate ¶
CGPDFOperatorTableCreate calls the CoreGraphics framework function CGPDFOperatorTableCreate.
func CGPDFOperatorTableRelease ¶
CGPDFOperatorTableRelease calls the CoreGraphics framework function CGPDFOperatorTableRelease.
func CGPDFOperatorTableRetain ¶
CGPDFOperatorTableRetain calls the CoreGraphics framework function CGPDFOperatorTableRetain.
func CGPDFOperatorTableSetCallback ¶
CGPDFOperatorTableSetCallback calls the CoreGraphics framework function CGPDFOperatorTableSetCallback.
func CGPDFPageGetBoxRect ¶
func CGPDFPageGetBoxRect(page obj.Object, box CGPDFBox) corefoundation.CGRect
CGPDFPageGetBoxRect calls the CoreGraphics framework function CGPDFPageGetBoxRect.
func CGPDFPageGetDictionary ¶
CGPDFPageGetDictionary calls the CoreGraphics framework function CGPDFPageGetDictionary.
func CGPDFPageGetDocument ¶
CGPDFPageGetDocument calls the CoreGraphics framework function CGPDFPageGetDocument.
func CGPDFPageGetDrawingTransform ¶
func CGPDFPageGetDrawingTransform(page obj.Object, box CGPDFBox, rect corefoundation.CGRect, rotate int, preserveAspectRatio bool) corefoundation.CGAffineTransform
CGPDFPageGetDrawingTransform calls the CoreGraphics framework function CGPDFPageGetDrawingTransform.
func CGPDFPageGetPageNumber ¶
CGPDFPageGetPageNumber calls the CoreGraphics framework function CGPDFPageGetPageNumber.
func CGPDFPageGetRotationAngle ¶
CGPDFPageGetRotationAngle calls the CoreGraphics framework function CGPDFPageGetRotationAngle.
func CGPDFPageGetTypeID ¶
func CGPDFPageGetTypeID() int
CGPDFPageGetTypeID calls the CoreGraphics framework function CGPDFPageGetTypeID.
func CGPDFPageRelease ¶
CGPDFPageRelease calls the CoreGraphics framework function CGPDFPageRelease.
func CGPDFPageRetain ¶
CGPDFPageRetain calls the CoreGraphics framework function CGPDFPageRetain.
func CGPDFScannerCreate ¶
CGPDFScannerCreate calls the CoreGraphics framework function CGPDFScannerCreate.
func CGPDFScannerGetContentStream ¶
CGPDFScannerGetContentStream calls the CoreGraphics framework function CGPDFScannerGetContentStream.
func CGPDFScannerPopArray ¶
CGPDFScannerPopArray calls the CoreGraphics framework function CGPDFScannerPopArray.
func CGPDFScannerPopBoolean ¶
CGPDFScannerPopBoolean calls the CoreGraphics framework function CGPDFScannerPopBoolean.
func CGPDFScannerPopDictionary ¶
CGPDFScannerPopDictionary calls the CoreGraphics framework function CGPDFScannerPopDictionary.
func CGPDFScannerPopInteger ¶
CGPDFScannerPopInteger calls the CoreGraphics framework function CGPDFScannerPopInteger.
func CGPDFScannerPopName ¶
CGPDFScannerPopName calls the CoreGraphics framework function CGPDFScannerPopName.
func CGPDFScannerPopNumber ¶
CGPDFScannerPopNumber calls the CoreGraphics framework function CGPDFScannerPopNumber.
func CGPDFScannerPopObject ¶
CGPDFScannerPopObject calls the CoreGraphics framework function CGPDFScannerPopObject.
func CGPDFScannerPopStream ¶
CGPDFScannerPopStream calls the CoreGraphics framework function CGPDFScannerPopStream.
func CGPDFScannerPopString ¶
CGPDFScannerPopString calls the CoreGraphics framework function CGPDFScannerPopString.
func CGPDFScannerRelease ¶
CGPDFScannerRelease calls the CoreGraphics framework function CGPDFScannerRelease.
func CGPDFScannerRetain ¶
CGPDFScannerRetain calls the CoreGraphics framework function CGPDFScannerRetain.
func CGPDFScannerScan ¶
CGPDFScannerScan calls the CoreGraphics framework function CGPDFScannerScan.
func CGPDFScannerStop ¶
CGPDFScannerStop calls the CoreGraphics framework function CGPDFScannerStop.
func CGPDFStreamGetDictionary ¶
CGPDFStreamGetDictionary calls the CoreGraphics framework function CGPDFStreamGetDictionary.
func CGPDFStringCopyDate ¶
CGPDFStringCopyDate calls the CoreGraphics framework function CGPDFStringCopyDate.
func CGPDFStringCopyTextString ¶
CGPDFStringCopyTextString calls the CoreGraphics framework function CGPDFStringCopyTextString.
func CGPDFStringGetBytePtr ¶
CGPDFStringGetBytePtr calls the CoreGraphics framework function CGPDFStringGetBytePtr.
func CGPDFStringGetLength ¶
CGPDFStringGetLength calls the CoreGraphics framework function CGPDFStringGetLength.
func CGPDFTagTypeGetName ¶
func CGPDFTagTypeGetName(tagType CGPDFTagType) string
CGPDFTagTypeGetName calls the CoreGraphics framework function CGPDFTagTypeGetName.
func CGPSConverterAbort ¶
CGPSConverterAbort calls the CoreGraphics framework function CGPSConverterAbort.
func CGPSConverterConvert ¶
func CGPSConverterConvert(converter obj.Object, provider obj.Object, consumer obj.Object, options obj.Object) bool
CGPSConverterConvert calls the CoreGraphics framework function CGPSConverterConvert.
func CGPSConverterCreate ¶
func CGPSConverterCreate(info unsafe.Pointer, callbacks unsafe.Pointer, options obj.Object) obj.Object
CGPSConverterCreate calls the CoreGraphics framework function CGPSConverterCreate.
func CGPSConverterGetTypeID ¶
func CGPSConverterGetTypeID() int
CGPSConverterGetTypeID calls the CoreGraphics framework function CGPSConverterGetTypeID.
func CGPSConverterIsConverting ¶
CGPSConverterIsConverting calls the CoreGraphics framework function CGPSConverterIsConverting.
func CGPathAddArc ¶
func CGPathAddArc(path obj.Object, m unsafe.Pointer, x float64, y float64, radius float64, startAngle float64, endAngle float64, clockwise bool)
CGPathAddArc calls the CoreGraphics framework function CGPathAddArc.
func CGPathAddArcToPoint ¶
func CGPathAddArcToPoint(path obj.Object, m unsafe.Pointer, x1 float64, y1 float64, x2 float64, y2 float64, radius float64)
CGPathAddArcToPoint calls the CoreGraphics framework function CGPathAddArcToPoint.
func CGPathAddCurveToPoint ¶
func CGPathAddCurveToPoint(path obj.Object, m unsafe.Pointer, cp1x float64, cp1y float64, cp2x float64, cp2y float64, x float64, y float64)
CGPathAddCurveToPoint calls the CoreGraphics framework function CGPathAddCurveToPoint.
func CGPathAddEllipseInRect ¶
CGPathAddEllipseInRect calls the CoreGraphics framework function CGPathAddEllipseInRect.
func CGPathAddLineToPoint ¶
CGPathAddLineToPoint calls the CoreGraphics framework function CGPathAddLineToPoint.
func CGPathAddLines ¶
CGPathAddLines calls the CoreGraphics framework function CGPathAddLines.
func CGPathAddPath ¶
CGPathAddPath calls the CoreGraphics framework function CGPathAddPath.
func CGPathAddQuadCurveToPoint ¶
func CGPathAddQuadCurveToPoint(path obj.Object, m unsafe.Pointer, cpx float64, cpy float64, x float64, y float64)
CGPathAddQuadCurveToPoint calls the CoreGraphics framework function CGPathAddQuadCurveToPoint.
func CGPathAddRect ¶
CGPathAddRect calls the CoreGraphics framework function CGPathAddRect.
func CGPathAddRects ¶
CGPathAddRects calls the CoreGraphics framework function CGPathAddRects.
func CGPathAddRelativeArc ¶
func CGPathAddRelativeArc(path obj.Object, matrix unsafe.Pointer, x float64, y float64, radius float64, startAngle float64, delta float64)
CGPathAddRelativeArc calls the CoreGraphics framework function CGPathAddRelativeArc.
func CGPathAddRoundedRect ¶
func CGPathAddRoundedRect(path obj.Object, transform unsafe.Pointer, rect corefoundation.CGRect, cornerWidth float64, cornerHeight float64)
CGPathAddRoundedRect calls the CoreGraphics framework function CGPathAddRoundedRect.
func CGPathApply ¶
CGPathApply calls the CoreGraphics framework function CGPathApply.
func CGPathApplyWithBlock ¶
CGPathApplyWithBlock calls the CoreGraphics framework function CGPathApplyWithBlock.
func CGPathCloseSubpath ¶
CGPathCloseSubpath calls the CoreGraphics framework function CGPathCloseSubpath.
func CGPathContainsPoint ¶
func CGPathContainsPoint(path obj.Object, m unsafe.Pointer, point corefoundation.CGPoint, eoFill bool) bool
CGPathContainsPoint calls the CoreGraphics framework function CGPathContainsPoint.
func CGPathCreateCopy ¶
CGPathCreateCopy calls the CoreGraphics framework function CGPathCreateCopy.
func CGPathCreateCopyByDashingPath ¶
func CGPathCreateCopyByDashingPath(path obj.Object, transform unsafe.Pointer, phase float64, lengths unsafe.Pointer, count int) obj.Object
CGPathCreateCopyByDashingPath calls the CoreGraphics framework function CGPathCreateCopyByDashingPath.
func CGPathCreateCopyByFlattening ¶
CGPathCreateCopyByFlattening calls the CoreGraphics framework function CGPathCreateCopyByFlattening.
func CGPathCreateCopyByIntersectingPath ¶
func CGPathCreateCopyByIntersectingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyByIntersectingPath calls the CoreGraphics framework function CGPathCreateCopyByIntersectingPath.
func CGPathCreateCopyByNormalizing ¶
CGPathCreateCopyByNormalizing calls the CoreGraphics framework function CGPathCreateCopyByNormalizing.
func CGPathCreateCopyByStrokingPath ¶
func CGPathCreateCopyByStrokingPath(path obj.Object, transform unsafe.Pointer, lineWidth float64, lineCap CGLineCap, lineJoin CGLineJoin, miterLimit float64) obj.Object
CGPathCreateCopyByStrokingPath calls the CoreGraphics framework function CGPathCreateCopyByStrokingPath.
func CGPathCreateCopyBySubtractingPath ¶
func CGPathCreateCopyBySubtractingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyBySubtractingPath calls the CoreGraphics framework function CGPathCreateCopyBySubtractingPath.
func CGPathCreateCopyBySymmetricDifferenceOfPath ¶
func CGPathCreateCopyBySymmetricDifferenceOfPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyBySymmetricDifferenceOfPath calls the CoreGraphics framework function CGPathCreateCopyBySymmetricDifferenceOfPath.
func CGPathCreateCopyByTransformingPath ¶
CGPathCreateCopyByTransformingPath calls the CoreGraphics framework function CGPathCreateCopyByTransformingPath.
func CGPathCreateCopyByUnioningPath ¶
func CGPathCreateCopyByUnioningPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyByUnioningPath calls the CoreGraphics framework function CGPathCreateCopyByUnioningPath.
func CGPathCreateCopyOfLineByIntersectingPath ¶
func CGPathCreateCopyOfLineByIntersectingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyOfLineByIntersectingPath calls the CoreGraphics framework function CGPathCreateCopyOfLineByIntersectingPath.
func CGPathCreateCopyOfLineBySubtractingPath ¶
func CGPathCreateCopyOfLineBySubtractingPath(path obj.Object, maskPath obj.Object, evenOddFillRule bool) obj.Object
CGPathCreateCopyOfLineBySubtractingPath calls the CoreGraphics framework function CGPathCreateCopyOfLineBySubtractingPath.
func CGPathCreateMutable ¶
CGPathCreateMutable calls the CoreGraphics framework function CGPathCreateMutable.
func CGPathCreateMutableCopy ¶
CGPathCreateMutableCopy calls the CoreGraphics framework function CGPathCreateMutableCopy.
func CGPathCreateMutableCopyByTransformingPath ¶
func CGPathCreateMutableCopyByTransformingPath(path obj.Object, transform unsafe.Pointer) obj.Object
CGPathCreateMutableCopyByTransformingPath calls the CoreGraphics framework function CGPathCreateMutableCopyByTransformingPath.
func CGPathCreateSeparateComponents ¶
CGPathCreateSeparateComponents calls the CoreGraphics framework function CGPathCreateSeparateComponents.
func CGPathCreateWithEllipseInRect ¶
CGPathCreateWithEllipseInRect calls the CoreGraphics framework function CGPathCreateWithEllipseInRect.
func CGPathCreateWithRect ¶
CGPathCreateWithRect calls the CoreGraphics framework function CGPathCreateWithRect.
func CGPathCreateWithRoundedRect ¶
func CGPathCreateWithRoundedRect(rect corefoundation.CGRect, cornerWidth float64, cornerHeight float64, transform unsafe.Pointer) obj.Object
CGPathCreateWithRoundedRect calls the CoreGraphics framework function CGPathCreateWithRoundedRect.
func CGPathEqualToPath ¶
CGPathEqualToPath calls the CoreGraphics framework function CGPathEqualToPath.
func CGPathGetBoundingBox ¶
func CGPathGetBoundingBox(path obj.Object) corefoundation.CGRect
CGPathGetBoundingBox calls the CoreGraphics framework function CGPathGetBoundingBox.
func CGPathGetCurrentPoint ¶
func CGPathGetCurrentPoint(path obj.Object) corefoundation.CGPoint
CGPathGetCurrentPoint calls the CoreGraphics framework function CGPathGetCurrentPoint.
func CGPathGetPathBoundingBox ¶
func CGPathGetPathBoundingBox(path obj.Object) corefoundation.CGRect
CGPathGetPathBoundingBox calls the CoreGraphics framework function CGPathGetPathBoundingBox.
func CGPathGetTypeID ¶
func CGPathGetTypeID() int
CGPathGetTypeID calls the CoreGraphics framework function CGPathGetTypeID.
func CGPathIntersectsPath ¶
CGPathIntersectsPath calls the CoreGraphics framework function CGPathIntersectsPath.
func CGPathIsEmpty ¶
CGPathIsEmpty calls the CoreGraphics framework function CGPathIsEmpty.
func CGPathIsRect ¶
CGPathIsRect calls the CoreGraphics framework function CGPathIsRect.
func CGPathMoveToPoint ¶
CGPathMoveToPoint calls the CoreGraphics framework function CGPathMoveToPoint.
func CGPathRelease ¶
CGPathRelease calls the CoreGraphics framework function CGPathRelease.
func CGPathRetain ¶
CGPathRetain calls the CoreGraphics framework function CGPathRetain.
func CGPatternCreate ¶
func CGPatternCreate(info unsafe.Pointer, bounds corefoundation.CGRect, matrix corefoundation.CGAffineTransform, xStep float64, yStep float64, tiling CGPatternTiling, isColored bool, callbacks unsafe.Pointer) obj.Object
CGPatternCreate calls the CoreGraphics framework function CGPatternCreate.
func CGPatternGetTypeID ¶
func CGPatternGetTypeID() int
CGPatternGetTypeID calls the CoreGraphics framework function CGPatternGetTypeID.
func CGPatternRelease ¶
CGPatternRelease calls the CoreGraphics framework function CGPatternRelease.
func CGPatternRetain ¶
CGPatternRetain calls the CoreGraphics framework function CGPatternRetain.
func CGPointApplyAffineTransform ¶
func CGPointApplyAffineTransform(point corefoundation.CGPoint, t corefoundation.CGAffineTransform) corefoundation.CGPoint
CGPointApplyAffineTransform calls the CoreGraphics framework function CGPointApplyAffineTransform.
func CGPointCreateDictionaryRepresentation ¶
func CGPointCreateDictionaryRepresentation(point corefoundation.CGPoint) obj.Object
CGPointCreateDictionaryRepresentation calls the CoreGraphics framework function CGPointCreateDictionaryRepresentation.
func CGPointEqualToPoint ¶
func CGPointEqualToPoint(point1 corefoundation.CGPoint, point2 corefoundation.CGPoint) bool
CGPointEqualToPoint calls the CoreGraphics framework function CGPointEqualToPoint.
func CGPointMake ¶
func CGPointMake(x float64, y float64) corefoundation.CGPoint
CGPointMake calls the CoreGraphics framework function CGPointMake.
func CGPointMakeWithDictionaryRepresentation ¶
CGPointMakeWithDictionaryRepresentation calls the CoreGraphics framework function CGPointMakeWithDictionaryRepresentation.
func CGPointZero ¶
func CGPointZero() corefoundation.CGPoint
CGPointZero returns the value of the constant CGPointZero.
func CGPreflightListenEventAccess ¶
func CGPreflightListenEventAccess() bool
CGPreflightListenEventAccess calls the CoreGraphics framework function CGPreflightListenEventAccess.
func CGPreflightPostEventAccess ¶
func CGPreflightPostEventAccess() bool
CGPreflightPostEventAccess calls the CoreGraphics framework function CGPreflightPostEventAccess.
func CGPreflightScreenCaptureAccess ¶
func CGPreflightScreenCaptureAccess() bool
CGPreflightScreenCaptureAccess calls the CoreGraphics framework function CGPreflightScreenCaptureAccess.
func CGRectApplyAffineTransform ¶
func CGRectApplyAffineTransform(rect corefoundation.CGRect, t corefoundation.CGAffineTransform) corefoundation.CGRect
CGRectApplyAffineTransform calls the CoreGraphics framework function CGRectApplyAffineTransform.
func CGRectContainsPoint ¶
func CGRectContainsPoint(rect corefoundation.CGRect, point corefoundation.CGPoint) bool
CGRectContainsPoint calls the CoreGraphics framework function CGRectContainsPoint.
func CGRectContainsRect ¶
func CGRectContainsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
CGRectContainsRect calls the CoreGraphics framework function CGRectContainsRect.
func CGRectCreateDictionaryRepresentation ¶
func CGRectCreateDictionaryRepresentation(arg corefoundation.CGRect) obj.Object
CGRectCreateDictionaryRepresentation calls the CoreGraphics framework function CGRectCreateDictionaryRepresentation.
func CGRectDivide ¶
func CGRectDivide(rect corefoundation.CGRect, slice unsafe.Pointer, remainder unsafe.Pointer, amount float64, edge unsafe.Pointer)
CGRectDivide calls the CoreGraphics framework function CGRectDivide.
func CGRectEqualToRect ¶
func CGRectEqualToRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
CGRectEqualToRect calls the CoreGraphics framework function CGRectEqualToRect.
func CGRectGetHeight ¶
func CGRectGetHeight(rect corefoundation.CGRect) float64
CGRectGetHeight calls the CoreGraphics framework function CGRectGetHeight.
func CGRectGetMaxX ¶
func CGRectGetMaxX(rect corefoundation.CGRect) float64
CGRectGetMaxX calls the CoreGraphics framework function CGRectGetMaxX.
func CGRectGetMaxY ¶
func CGRectGetMaxY(rect corefoundation.CGRect) float64
CGRectGetMaxY calls the CoreGraphics framework function CGRectGetMaxY.
func CGRectGetMidX ¶
func CGRectGetMidX(rect corefoundation.CGRect) float64
CGRectGetMidX calls the CoreGraphics framework function CGRectGetMidX.
func CGRectGetMidY ¶
func CGRectGetMidY(rect corefoundation.CGRect) float64
CGRectGetMidY calls the CoreGraphics framework function CGRectGetMidY.
func CGRectGetMinX ¶
func CGRectGetMinX(rect corefoundation.CGRect) float64
CGRectGetMinX calls the CoreGraphics framework function CGRectGetMinX.
func CGRectGetMinY ¶
func CGRectGetMinY(rect corefoundation.CGRect) float64
CGRectGetMinY calls the CoreGraphics framework function CGRectGetMinY.
func CGRectGetWidth ¶
func CGRectGetWidth(rect corefoundation.CGRect) float64
CGRectGetWidth calls the CoreGraphics framework function CGRectGetWidth.
func CGRectInfinite ¶
func CGRectInfinite() corefoundation.CGRect
CGRectInfinite returns the value of the constant CGRectInfinite.
func CGRectInset ¶
func CGRectInset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect
CGRectInset calls the CoreGraphics framework function CGRectInset.
func CGRectIntegral ¶
func CGRectIntegral(rect corefoundation.CGRect) corefoundation.CGRect
CGRectIntegral calls the CoreGraphics framework function CGRectIntegral.
func CGRectIntersection ¶
func CGRectIntersection(r1 corefoundation.CGRect, r2 corefoundation.CGRect) corefoundation.CGRect
CGRectIntersection calls the CoreGraphics framework function CGRectIntersection.
func CGRectIntersectsRect ¶
func CGRectIntersectsRect(rect1 corefoundation.CGRect, rect2 corefoundation.CGRect) bool
CGRectIntersectsRect calls the CoreGraphics framework function CGRectIntersectsRect.
func CGRectIsEmpty ¶
func CGRectIsEmpty(rect corefoundation.CGRect) bool
CGRectIsEmpty calls the CoreGraphics framework function CGRectIsEmpty.
func CGRectIsInfinite ¶
func CGRectIsInfinite(rect corefoundation.CGRect) bool
CGRectIsInfinite calls the CoreGraphics framework function CGRectIsInfinite.
func CGRectIsNull ¶
func CGRectIsNull(rect corefoundation.CGRect) bool
CGRectIsNull calls the CoreGraphics framework function CGRectIsNull.
func CGRectMake ¶
CGRectMake calls the CoreGraphics framework function CGRectMake.
func CGRectMakeWithDictionaryRepresentation ¶
CGRectMakeWithDictionaryRepresentation calls the CoreGraphics framework function CGRectMakeWithDictionaryRepresentation.
func CGRectNull ¶
func CGRectNull() corefoundation.CGRect
CGRectNull returns the value of the constant CGRectNull.
func CGRectOffset ¶
func CGRectOffset(rect corefoundation.CGRect, dx float64, dy float64) corefoundation.CGRect
CGRectOffset calls the CoreGraphics framework function CGRectOffset.
func CGRectStandardize ¶
func CGRectStandardize(rect corefoundation.CGRect) corefoundation.CGRect
CGRectStandardize calls the CoreGraphics framework function CGRectStandardize.
func CGRectUnion ¶
func CGRectUnion(r1 corefoundation.CGRect, r2 corefoundation.CGRect) corefoundation.CGRect
CGRectUnion calls the CoreGraphics framework function CGRectUnion.
func CGRectZero ¶
func CGRectZero() corefoundation.CGRect
CGRectZero returns the value of the constant CGRectZero.
func CGReleaseScreenRefreshRects ¶
CGReleaseScreenRefreshRects calls the CoreGraphics framework function CGReleaseScreenRefreshRects.
func CGRenderingBufferLockBytePtr ¶
CGRenderingBufferLockBytePtr calls the CoreGraphics framework function CGRenderingBufferLockBytePtr.
func CGRenderingBufferProviderCreate ¶
func CGRenderingBufferProviderCreate(info unsafe.Pointer, size int, lockPointer unsafe.Pointer, unlockPointer unsafe.Pointer, releaseInfo unsafe.Pointer) obj.Object
CGRenderingBufferProviderCreate calls the CoreGraphics framework function CGRenderingBufferProviderCreate.
func CGRenderingBufferProviderCreateWithCFData ¶
CGRenderingBufferProviderCreateWithCFData calls the CoreGraphics framework function CGRenderingBufferProviderCreateWithCFData.
func CGRenderingBufferProviderGetSize ¶
CGRenderingBufferProviderGetSize calls the CoreGraphics framework function CGRenderingBufferProviderGetSize.
func CGRenderingBufferProviderGetTypeID ¶
func CGRenderingBufferProviderGetTypeID() int
CGRenderingBufferProviderGetTypeID calls the CoreGraphics framework function CGRenderingBufferProviderGetTypeID.
func CGRenderingBufferUnlockBytePtr ¶
CGRenderingBufferUnlockBytePtr calls the CoreGraphics framework function CGRenderingBufferUnlockBytePtr.
func CGRequestListenEventAccess ¶
func CGRequestListenEventAccess() bool
CGRequestListenEventAccess calls the CoreGraphics framework function CGRequestListenEventAccess.
func CGRequestPostEventAccess ¶
func CGRequestPostEventAccess() bool
CGRequestPostEventAccess calls the CoreGraphics framework function CGRequestPostEventAccess.
func CGRequestScreenCaptureAccess ¶
func CGRequestScreenCaptureAccess() bool
CGRequestScreenCaptureAccess calls the CoreGraphics framework function CGRequestScreenCaptureAccess.
func CGRestorePermanentDisplayConfiguration ¶
func CGRestorePermanentDisplayConfiguration()
CGRestorePermanentDisplayConfiguration calls the CoreGraphics framework function CGRestorePermanentDisplayConfiguration.
func CGScreenUnregisterMoveCallback ¶
CGScreenUnregisterMoveCallback calls the CoreGraphics framework function CGScreenUnregisterMoveCallback.
func CGSessionCopyCurrentDictionary ¶
CGSessionCopyCurrentDictionary calls the CoreGraphics framework function CGSessionCopyCurrentDictionary.
func CGShadingCreateAxial ¶
func CGShadingCreateAxial(space obj.Object, start corefoundation.CGPoint, end corefoundation.CGPoint, function obj.Object, extendStart bool, extendEnd bool) obj.Object
CGShadingCreateAxial calls the CoreGraphics framework function CGShadingCreateAxial.
func CGShadingCreateAxialWithContentHeadroom ¶
func CGShadingCreateAxialWithContentHeadroom(headroom float32, space obj.Object, start corefoundation.CGPoint, end corefoundation.CGPoint, function obj.Object, extendStart bool, extendEnd bool) obj.Object
CGShadingCreateAxialWithContentHeadroom calls the CoreGraphics framework function CGShadingCreateAxialWithContentHeadroom.
func CGShadingCreateRadial ¶
func CGShadingCreateRadial(space obj.Object, start corefoundation.CGPoint, startRadius float64, end corefoundation.CGPoint, endRadius float64, function obj.Object, extendStart bool, extendEnd bool) obj.Object
CGShadingCreateRadial calls the CoreGraphics framework function CGShadingCreateRadial.
func CGShadingCreateRadialWithContentHeadroom ¶
func CGShadingCreateRadialWithContentHeadroom(headroom float32, space obj.Object, start corefoundation.CGPoint, startRadius float64, end corefoundation.CGPoint, endRadius float64, function obj.Object, extendStart bool, extendEnd bool) obj.Object
CGShadingCreateRadialWithContentHeadroom calls the CoreGraphics framework function CGShadingCreateRadialWithContentHeadroom.
func CGShadingGetContentHeadroom ¶
CGShadingGetContentHeadroom calls the CoreGraphics framework function CGShadingGetContentHeadroom.
func CGShadingGetTypeID ¶
func CGShadingGetTypeID() int
CGShadingGetTypeID calls the CoreGraphics framework function CGShadingGetTypeID.
func CGShadingRelease ¶
CGShadingRelease calls the CoreGraphics framework function CGShadingRelease.
func CGShadingRetain ¶
CGShadingRetain calls the CoreGraphics framework function CGShadingRetain.
func CGShieldingWindowID ¶
CGShieldingWindowID calls the CoreGraphics framework function CGShieldingWindowID.
func CGShieldingWindowLevel ¶
func CGShieldingWindowLevel() int32
CGShieldingWindowLevel calls the CoreGraphics framework function CGShieldingWindowLevel.
func CGSizeApplyAffineTransform ¶
func CGSizeApplyAffineTransform(size corefoundation.CGSize, t corefoundation.CGAffineTransform) corefoundation.CGSize
CGSizeApplyAffineTransform calls the CoreGraphics framework function CGSizeApplyAffineTransform.
func CGSizeCreateDictionaryRepresentation ¶
func CGSizeCreateDictionaryRepresentation(size corefoundation.CGSize) obj.Object
CGSizeCreateDictionaryRepresentation calls the CoreGraphics framework function CGSizeCreateDictionaryRepresentation.
func CGSizeEqualToSize ¶
func CGSizeEqualToSize(size1 corefoundation.CGSize, size2 corefoundation.CGSize) bool
CGSizeEqualToSize calls the CoreGraphics framework function CGSizeEqualToSize.
func CGSizeMake ¶
func CGSizeMake(width float64, height float64) corefoundation.CGSize
CGSizeMake calls the CoreGraphics framework function CGSizeMake.
func CGSizeMakeWithDictionaryRepresentation ¶
CGSizeMakeWithDictionaryRepresentation calls the CoreGraphics framework function CGSizeMakeWithDictionaryRepresentation.
func CGSizeZero ¶
func CGSizeZero() corefoundation.CGSize
CGSizeZero returns the value of the constant CGSizeZero.
func CGUnregisterScreenRefreshCallback ¶
CGUnregisterScreenRefreshCallback calls the CoreGraphics framework function CGUnregisterScreenRefreshCallback.
func CGVectorMake ¶
func CGVectorMake(dx float64, dy float64) corefoundation.CGVector
CGVectorMake calls the CoreGraphics framework function CGVectorMake.
func CGWaitForScreenUpdateRects ¶
func CGWaitForScreenUpdateRects(requestedOperations CGScreenUpdateOperation, rects unsafe.Pointer) (result CGError, currentOperation CGScreenUpdateOperation, rectCount int, delta CGScreenUpdateMoveDelta)
CGWaitForScreenUpdateRects calls the CoreGraphics framework function CGWaitForScreenUpdateRects.
func CGWindowLevelForKey ¶
func CGWindowLevelForKey(key CGWindowLevelKey) int32
CGWindowLevelForKey calls the CoreGraphics framework function CGWindowLevelForKey.
func CGWindowListCopyWindowInfo ¶
func CGWindowListCopyWindowInfo(option CGWindowListOption, relativeToWindow uint32) obj.Object
CGWindowListCopyWindowInfo calls the CoreGraphics framework function CGWindowListCopyWindowInfo.
func CGWindowListCreate ¶
func CGWindowListCreate(option CGWindowListOption, relativeToWindow uint32) obj.Object
CGWindowListCreate calls the CoreGraphics framework function CGWindowListCreate.
func CGWindowListCreateDescriptionFromArray ¶
CGWindowListCreateDescriptionFromArray calls the CoreGraphics framework function CGWindowListCreateDescriptionFromArray.
func CGWindowListCreateImage ¶
func CGWindowListCreateImage(screenBounds corefoundation.CGRect, listOption CGWindowListOption, windowID uint32, imageOption CGWindowImageOption) obj.Object
CGWindowListCreateImage calls the CoreGraphics framework function CGWindowListCreateImage.
func CGWindowListCreateImageFromArray ¶
func CGWindowListCreateImageFromArray(screenBounds corefoundation.CGRect, windowArray obj.Object, imageOption CGWindowImageOption) obj.Object
CGWindowListCreateImageFromArray calls the CoreGraphics framework function CGWindowListCreateImageFromArray.
func CGWindowServerCFMachPort ¶
CGWindowServerCFMachPort calls the CoreGraphics framework function CGWindowServerCFMachPort.
func CGWindowServerCreateServerPort ¶
CGWindowServerCreateServerPort calls the CoreGraphics framework function CGWindowServerCreateServerPort.
func KCGAdaptiveMaximumBitDepth ¶
KCGAdaptiveMaximumBitDepth returns the value of the constant kCGAdaptiveMaximumBitDepth.
func KCGColorBlack ¶
KCGColorBlack returns the value of the constant kCGColorBlack.
func KCGColorClear ¶
KCGColorClear returns the value of the constant kCGColorClear.
func KCGColorConversionBlackPointCompensation ¶
KCGColorConversionBlackPointCompensation returns the value of the constant kCGColorConversionBlackPointCompensation.
func KCGColorConversionTRCSize ¶
KCGColorConversionTRCSize returns the value of the constant kCGColorConversionTRCSize.
func KCGColorSpaceACESCGLinear ¶
KCGColorSpaceACESCGLinear returns the value of the constant kCGColorSpaceACESCGLinear.
func KCGColorSpaceAdobeRGB1998 ¶
KCGColorSpaceAdobeRGB1998 returns the value of the constant kCGColorSpaceAdobeRGB1998.
func KCGColorSpaceCoreMedia709 ¶
KCGColorSpaceCoreMedia709 returns the value of the constant kCGColorSpaceCoreMedia709.
func KCGColorSpaceDCIP3 ¶
KCGColorSpaceDCIP3 returns the value of the constant kCGColorSpaceDCIP3.
func KCGColorSpaceDisplayP3 ¶
KCGColorSpaceDisplayP3 returns the value of the constant kCGColorSpaceDisplayP3.
func KCGColorSpaceDisplayP3_HLG ¶
KCGColorSpaceDisplayP3_HLG returns the value of the constant kCGColorSpaceDisplayP3_HLG.
func KCGColorSpaceDisplayP3_PQ ¶
KCGColorSpaceDisplayP3_PQ returns the value of the constant kCGColorSpaceDisplayP3_PQ.
func KCGColorSpaceDisplayP3_PQ_EOTF ¶
KCGColorSpaceDisplayP3_PQ_EOTF returns the value of the constant kCGColorSpaceDisplayP3_PQ_EOTF.
func KCGColorSpaceExtendedDisplayP3 ¶
KCGColorSpaceExtendedDisplayP3 returns the value of the constant kCGColorSpaceExtendedDisplayP3.
func KCGColorSpaceExtendedGray ¶
KCGColorSpaceExtendedGray returns the value of the constant kCGColorSpaceExtendedGray.
func KCGColorSpaceExtendedITUR_2020 ¶
KCGColorSpaceExtendedITUR_2020 returns the value of the constant kCGColorSpaceExtendedITUR_2020.
func KCGColorSpaceExtendedLinearDisplayP3 ¶
KCGColorSpaceExtendedLinearDisplayP3 returns the value of the constant kCGColorSpaceExtendedLinearDisplayP3.
func KCGColorSpaceExtendedLinearGray ¶
KCGColorSpaceExtendedLinearGray returns the value of the constant kCGColorSpaceExtendedLinearGray.
func KCGColorSpaceExtendedLinearITUR_2020 ¶
KCGColorSpaceExtendedLinearITUR_2020 returns the value of the constant kCGColorSpaceExtendedLinearITUR_2020.
func KCGColorSpaceExtendedLinearSRGB ¶
KCGColorSpaceExtendedLinearSRGB returns the value of the constant kCGColorSpaceExtendedLinearSRGB.
func KCGColorSpaceExtendedRange ¶
KCGColorSpaceExtendedRange returns the value of the constant kCGColorSpaceExtendedRange.
func KCGColorSpaceExtendedSRGB ¶
KCGColorSpaceExtendedSRGB returns the value of the constant kCGColorSpaceExtendedSRGB.
func KCGColorSpaceGenericCMYK ¶
KCGColorSpaceGenericCMYK returns the value of the constant kCGColorSpaceGenericCMYK.
func KCGColorSpaceGenericGray ¶
KCGColorSpaceGenericGray returns the value of the constant kCGColorSpaceGenericGray.
func KCGColorSpaceGenericGrayGamma2_2 ¶
KCGColorSpaceGenericGrayGamma2_2 returns the value of the constant kCGColorSpaceGenericGrayGamma2_2.
func KCGColorSpaceGenericLab ¶
KCGColorSpaceGenericLab returns the value of the constant kCGColorSpaceGenericLab.
func KCGColorSpaceGenericRGB ¶
KCGColorSpaceGenericRGB returns the value of the constant kCGColorSpaceGenericRGB.
func KCGColorSpaceGenericRGBLinear ¶
KCGColorSpaceGenericRGBLinear returns the value of the constant kCGColorSpaceGenericRGBLinear.
func KCGColorSpaceGenericXYZ ¶
KCGColorSpaceGenericXYZ returns the value of the constant kCGColorSpaceGenericXYZ.
func KCGColorSpaceITUR_709 ¶
KCGColorSpaceITUR_709 returns the value of the constant kCGColorSpaceITUR_709.
func KCGColorSpaceITUR_709_HLG ¶
KCGColorSpaceITUR_709_HLG returns the value of the constant kCGColorSpaceITUR_709_HLG.
func KCGColorSpaceITUR_709_PQ ¶
KCGColorSpaceITUR_709_PQ returns the value of the constant kCGColorSpaceITUR_709_PQ.
func KCGColorSpaceITUR_2020 ¶
KCGColorSpaceITUR_2020 returns the value of the constant kCGColorSpaceITUR_2020.
func KCGColorSpaceITUR_2020_HLG ¶
KCGColorSpaceITUR_2020_HLG returns the value of the constant kCGColorSpaceITUR_2020_HLG.
func KCGColorSpaceITUR_2020_PQ ¶
KCGColorSpaceITUR_2020_PQ returns the value of the constant kCGColorSpaceITUR_2020_PQ.
func KCGColorSpaceITUR_2020_PQ_EOTF ¶
KCGColorSpaceITUR_2020_PQ_EOTF returns the value of the constant kCGColorSpaceITUR_2020_PQ_EOTF.
func KCGColorSpaceITUR_2020_sRGBGamma ¶
KCGColorSpaceITUR_2020_sRGBGamma returns the value of the constant kCGColorSpaceITUR_2020_sRGBGamma.
func KCGColorSpaceITUR_2100_HLG ¶
KCGColorSpaceITUR_2100_HLG returns the value of the constant kCGColorSpaceITUR_2100_HLG.
func KCGColorSpaceITUR_2100_PQ ¶
KCGColorSpaceITUR_2100_PQ returns the value of the constant kCGColorSpaceITUR_2100_PQ.
func KCGColorSpaceLinearDisplayP3 ¶
KCGColorSpaceLinearDisplayP3 returns the value of the constant kCGColorSpaceLinearDisplayP3.
func KCGColorSpaceLinearGray ¶
KCGColorSpaceLinearGray returns the value of the constant kCGColorSpaceLinearGray.
func KCGColorSpaceLinearITUR_2020 ¶
KCGColorSpaceLinearITUR_2020 returns the value of the constant kCGColorSpaceLinearITUR_2020.
func KCGColorSpaceLinearSRGB ¶
KCGColorSpaceLinearSRGB returns the value of the constant kCGColorSpaceLinearSRGB.
func KCGColorSpaceROMMRGB ¶
KCGColorSpaceROMMRGB returns the value of the constant kCGColorSpaceROMMRGB.
func KCGColorSpaceSRGB ¶
KCGColorSpaceSRGB returns the value of the constant kCGColorSpaceSRGB.
func KCGColorWhite ¶
KCGColorWhite returns the value of the constant kCGColorWhite.
func KCGContentAverageLightLevel ¶
KCGContentAverageLightLevel returns the value of the constant kCGContentAverageLightLevel.
func KCGContentAverageLightLevelNits ¶
KCGContentAverageLightLevelNits returns the value of the constant kCGContentAverageLightLevelNits.
func KCGDefaultHDRImageContentHeadroom ¶
func KCGDefaultHDRImageContentHeadroom() float32
KCGDefaultHDRImageContentHeadroom returns the value of the constant kCGDefaultHDRImageContentHeadroom.
func KCGDisplayShowDuplicateLowResolutionModes ¶
KCGDisplayShowDuplicateLowResolutionModes returns the value of the constant kCGDisplayShowDuplicateLowResolutionModes.
func KCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995 ¶
KCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995 returns the value of the constant kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995.
func KCGDynamicRangeConstrained ¶
KCGDynamicRangeConstrained returns the value of the constant kCGDynamicRangeConstrained.
func KCGDynamicRangeHigh ¶
KCGDynamicRangeHigh returns the value of the constant kCGDynamicRangeHigh.
func KCGDynamicRangeStandard ¶
KCGDynamicRangeStandard returns the value of the constant kCGDynamicRangeStandard.
func KCGEXRToneMappingGammaDefog ¶
KCGEXRToneMappingGammaDefog returns the value of the constant kCGEXRToneMappingGammaDefog.
func KCGEXRToneMappingGammaExposure ¶
KCGEXRToneMappingGammaExposure returns the value of the constant kCGEXRToneMappingGammaExposure.
func KCGEXRToneMappingGammaKneeHigh ¶
KCGEXRToneMappingGammaKneeHigh returns the value of the constant kCGEXRToneMappingGammaKneeHigh.
func KCGEXRToneMappingGammaKneeLow ¶
KCGEXRToneMappingGammaKneeLow returns the value of the constant kCGEXRToneMappingGammaKneeLow.
func KCGFontVariationAxisDefaultValue ¶
KCGFontVariationAxisDefaultValue returns the value of the constant kCGFontVariationAxisDefaultValue.
func KCGFontVariationAxisMaxValue ¶
KCGFontVariationAxisMaxValue returns the value of the constant kCGFontVariationAxisMaxValue.
func KCGFontVariationAxisMinValue ¶
KCGFontVariationAxisMinValue returns the value of the constant kCGFontVariationAxisMinValue.
func KCGFontVariationAxisName ¶
KCGFontVariationAxisName returns the value of the constant kCGFontVariationAxisName.
func KCGPDFContextAccessPermissions ¶
KCGPDFContextAccessPermissions returns the value of the constant kCGPDFContextAccessPermissions.
func KCGPDFContextAllowsCopying ¶
KCGPDFContextAllowsCopying returns the value of the constant kCGPDFContextAllowsCopying.
func KCGPDFContextAllowsPrinting ¶
KCGPDFContextAllowsPrinting returns the value of the constant kCGPDFContextAllowsPrinting.
func KCGPDFContextArtBox ¶
KCGPDFContextArtBox returns the value of the constant kCGPDFContextArtBox.
func KCGPDFContextAuthor ¶
KCGPDFContextAuthor returns the value of the constant kCGPDFContextAuthor.
func KCGPDFContextBleedBox ¶
KCGPDFContextBleedBox returns the value of the constant kCGPDFContextBleedBox.
func KCGPDFContextCreateLinearizedPDF ¶
KCGPDFContextCreateLinearizedPDF returns the value of the constant kCGPDFContextCreateLinearizedPDF.
func KCGPDFContextCreatePDFA ¶
KCGPDFContextCreatePDFA returns the value of the constant kCGPDFContextCreatePDFA.
func KCGPDFContextCreator ¶
KCGPDFContextCreator returns the value of the constant kCGPDFContextCreator.
func KCGPDFContextCropBox ¶
KCGPDFContextCropBox returns the value of the constant kCGPDFContextCropBox.
func KCGPDFContextEncryptionKeyLength ¶
KCGPDFContextEncryptionKeyLength returns the value of the constant kCGPDFContextEncryptionKeyLength.
func KCGPDFContextKeywords ¶
KCGPDFContextKeywords returns the value of the constant kCGPDFContextKeywords.
func KCGPDFContextMediaBox ¶
KCGPDFContextMediaBox returns the value of the constant kCGPDFContextMediaBox.
func KCGPDFContextOutputIntent ¶
KCGPDFContextOutputIntent returns the value of the constant kCGPDFContextOutputIntent.
func KCGPDFContextOutputIntents ¶
KCGPDFContextOutputIntents returns the value of the constant kCGPDFContextOutputIntents.
func KCGPDFContextOwnerPassword ¶
KCGPDFContextOwnerPassword returns the value of the constant kCGPDFContextOwnerPassword.
func KCGPDFContextSubject ¶
KCGPDFContextSubject returns the value of the constant kCGPDFContextSubject.
func KCGPDFContextTitle ¶
KCGPDFContextTitle returns the value of the constant kCGPDFContextTitle.
func KCGPDFContextTrimBox ¶
KCGPDFContextTrimBox returns the value of the constant kCGPDFContextTrimBox.
func KCGPDFContextUserPassword ¶
KCGPDFContextUserPassword returns the value of the constant kCGPDFContextUserPassword.
func KCGPDFOutlineChildren ¶
KCGPDFOutlineChildren returns the value of the constant kCGPDFOutlineChildren.
func KCGPDFOutlineDestination ¶
KCGPDFOutlineDestination returns the value of the constant kCGPDFOutlineDestination.
func KCGPDFOutlineDestinationRect ¶
KCGPDFOutlineDestinationRect returns the value of the constant kCGPDFOutlineDestinationRect.
func KCGPDFOutlineTitle ¶
KCGPDFOutlineTitle returns the value of the constant kCGPDFOutlineTitle.
func KCGPDFTagPropertyActualText ¶
func KCGPDFTagPropertyActualText() uintptr
KCGPDFTagPropertyActualText returns the address of the symbol kCGPDFTagPropertyActualText.
func KCGPDFTagPropertyAlternativeText ¶
func KCGPDFTagPropertyAlternativeText() uintptr
KCGPDFTagPropertyAlternativeText returns the address of the symbol kCGPDFTagPropertyAlternativeText.
func KCGPDFTagPropertyLanguageText ¶
func KCGPDFTagPropertyLanguageText() uintptr
KCGPDFTagPropertyLanguageText returns the address of the symbol kCGPDFTagPropertyLanguageText.
func KCGPDFTagPropertyTitleText ¶
func KCGPDFTagPropertyTitleText() uintptr
KCGPDFTagPropertyTitleText returns the address of the symbol kCGPDFTagPropertyTitleText.
func KCGPDFXDestinationOutputProfile ¶
KCGPDFXDestinationOutputProfile returns the value of the constant kCGPDFXDestinationOutputProfile.
func KCGPDFXInfo ¶
KCGPDFXInfo returns the value of the constant kCGPDFXInfo.
func KCGPDFXOutputCondition ¶
KCGPDFXOutputCondition returns the value of the constant kCGPDFXOutputCondition.
func KCGPDFXOutputConditionIdentifier ¶
KCGPDFXOutputConditionIdentifier returns the value of the constant kCGPDFXOutputConditionIdentifier.
func KCGPDFXOutputIntentSubtype ¶
KCGPDFXOutputIntentSubtype returns the value of the constant kCGPDFXOutputIntentSubtype.
func KCGPDFXRegistryName ¶
KCGPDFXRegistryName returns the value of the constant kCGPDFXRegistryName.
func KCGPreferredDynamicRange ¶
KCGPreferredDynamicRange returns the value of the constant kCGPreferredDynamicRange.
func KCGSkipBoostToHDR ¶
KCGSkipBoostToHDR returns the value of the constant kCGSkipBoostToHDR.
func KCGUse100nitsHLGOOTF ¶
KCGUse100nitsHLGOOTF returns the value of the constant kCGUse100nitsHLGOOTF.
func KCGUseBT1886ForCoreVideoGamma ¶
KCGUseBT1886ForCoreVideoGamma returns the value of the constant kCGUseBT1886ForCoreVideoGamma.
func KCGUseLegacyHDREcosystem ¶
KCGUseLegacyHDREcosystem returns the value of the constant kCGUseLegacyHDREcosystem.
func KCGWindowAlpha ¶
KCGWindowAlpha returns the value of the constant kCGWindowAlpha.
func KCGWindowBackingLocationVideoMemory ¶
KCGWindowBackingLocationVideoMemory returns the value of the constant kCGWindowBackingLocationVideoMemory.
func KCGWindowBounds ¶
KCGWindowBounds returns the value of the constant kCGWindowBounds.
func KCGWindowIsOnscreen ¶
KCGWindowIsOnscreen returns the value of the constant kCGWindowIsOnscreen.
func KCGWindowLayer ¶
KCGWindowLayer returns the value of the constant kCGWindowLayer.
func KCGWindowMemoryUsage ¶
KCGWindowMemoryUsage returns the value of the constant kCGWindowMemoryUsage.
func KCGWindowName ¶
KCGWindowName returns the value of the constant kCGWindowName.
func KCGWindowNumber ¶
KCGWindowNumber returns the value of the constant kCGWindowNumber.
func KCGWindowOwnerName ¶
KCGWindowOwnerName returns the value of the constant kCGWindowOwnerName.
func KCGWindowOwnerPID ¶
KCGWindowOwnerPID returns the value of the constant kCGWindowOwnerPID.
func KCGWindowSharingState ¶
KCGWindowSharingState returns the value of the constant kCGWindowSharingState.
func KCGWindowStoreType ¶
KCGWindowStoreType returns the value of the constant kCGWindowStoreType.
func KCGWindowWorkspace ¶
KCGWindowWorkspace returns the value of the constant kCGWindowWorkspace.
Types ¶
type CGBitmapInfo ¶
type CGBitmapInfo int64
Component information for a bitmap image. Bitmask — values may be combined with |.
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_ obj.Object) CGBitmapInfo
CGBitmapContextGetBitmapInfo calls the CoreGraphics framework function CGBitmapContextGetBitmapInfo.
func CGBitmapInfoMake ¶
func CGBitmapInfoMake(alpha CGImageAlphaInfo, component CGImageComponentInfo, byteOrder CGImageByteOrderInfo, pixelFormat CGImagePixelFormatInfo) CGBitmapInfo
CGBitmapInfoMake calls the CoreGraphics framework function CGBitmapInfoMake.
func CGImageGetBitmapInfo ¶
func CGImageGetBitmapInfo(image obj.Object) CGBitmapInfo
CGImageGetBitmapInfo calls the CoreGraphics framework function CGImageGetBitmapInfo.
func (CGBitmapInfo) String ¶
func (e CGBitmapInfo) String() string
String returns the CGBitmapInfo constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGBitmapLayout constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGBlendMode constant's name, or its numeric form when the value is not a known constant.
type CGCaptureOptions ¶
type CGCaptureOptions int64
Configuration parameters that are used when capturing displays. Bitmask — values may be combined with |.
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
String returns the CGCaptureOptions constant's name, or its numeric form when the value is not a known constant.
type CGColor ¶
type CGColor struct{}
A set of components that define a color, with a color space specifying how to interpret them.
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.
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 ¶
func (e CGColorConversionInfoTransformType) String() string
String returns the CGColorConversionInfoTransformType constant's name, or its numeric form when the value is not a known constant.
type CGColorDataFormat ¶
type CGColorDataFormat struct {
Version uint32
ColorspaceInfo unsafe.Pointer
BitmapInfo CGBitmapInfo
BitsPerComponent uint
BytesPerRow uint
Intent CGColorRenderingIntent
Decode unsafe.Pointer
}
type CGColorModel ¶
type CGColorModel int64
Bitmask — values may be combined with |.
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
String returns the CGColorModel constant's name, or its numeric form when the value is not a known constant.
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 obj.Object) CGColorRenderingIntent
CGImageGetRenderingIntent calls the CoreGraphics framework function CGImageGetRenderingIntent.
func (CGColorRenderingIntent) String ¶
func (e CGColorRenderingIntent) String() string
String returns the CGColorRenderingIntent constant's name, or its numeric form when the value is not a known constant.
type CGColorSpace ¶
type CGColorSpace struct{}
A profile that specifies how to interpret a color value for display.
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 obj.Object) CGColorSpaceModel
CGColorSpaceGetModel calls the CoreGraphics framework function CGColorSpaceGetModel.
func (CGColorSpaceModel) String ¶
func (e CGColorSpaceModel) String() string
String returns the CGColorSpaceModel constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGComponent constant's name, or its numeric form when the value is not a known constant.
type CGConfigureOption ¶
type CGConfigureOption int64
The scope of the changes in a display configuration transaction. Bitmask — values may be combined with |.
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
String returns the CGConfigureOption constant's name, or its numeric form when the value is not a known constant.
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
}
type CGDataConsumer ¶
type CGDataConsumer struct{}
An abstraction for data-writing tasks that eliminates the need to manage a raw memory buffer.
type CGDataConsumerCallbacks ¶
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.
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 CGDisplayChangeSummaryFlags ¶
type CGDisplayChangeSummaryFlags int64
The configuration parameters that are passed to a display reconfiguration callback function. Bitmask — values may be combined with |.
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 ¶
func (e CGDisplayChangeSummaryFlags) String() string
String returns the CGDisplayChangeSummaryFlags constant's name, or its numeric form when the value is not a known constant.
type CGDisplayConfigRef ¶
type CGDisplayConfigRef struct{}
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 ¶
func (e CGDisplayStreamFrameStatus) String() string
String returns the CGDisplayStreamFrameStatus constant's name, or its numeric form when the value is not a known constant.
type CGDisplayStreamUpdate ¶
type CGDisplayStreamUpdate struct{}
A reference to frame update’s metadata.
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 ¶
func (e CGDisplayStreamUpdateRectType) String() string
String returns the CGDisplayStreamUpdateRectType constant's name, or its numeric form when the value is not a known constant.
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 ¶
CGAcquireDisplayFadeReservation calls the CoreGraphics framework function CGAcquireDisplayFadeReservation.
func CGAssociateMouseAndMouseCursorPosition ¶
CGAssociateMouseAndMouseCursorPosition calls the CoreGraphics framework function CGAssociateMouseAndMouseCursorPosition.
func CGBeginDisplayConfiguration ¶
CGBeginDisplayConfiguration calls the CoreGraphics framework function CGBeginDisplayConfiguration.
func CGCancelDisplayConfiguration ¶
CGCancelDisplayConfiguration calls the CoreGraphics framework function CGCancelDisplayConfiguration.
func CGCaptureAllDisplays ¶
func CGCaptureAllDisplays() CGError
CGCaptureAllDisplays calls the CoreGraphics framework function CGCaptureAllDisplays.
func CGCaptureAllDisplaysWithOptions ¶
func CGCaptureAllDisplaysWithOptions(options CGCaptureOptions) CGError
CGCaptureAllDisplaysWithOptions calls the CoreGraphics framework function CGCaptureAllDisplaysWithOptions.
func CGCompleteDisplayConfiguration ¶
func CGCompleteDisplayConfiguration(config obj.Object, option CGConfigureOption) CGError
CGCompleteDisplayConfiguration calls the CoreGraphics framework function CGCompleteDisplayConfiguration.
func CGConfigureDisplayFadeEffect ¶
func CGConfigureDisplayFadeEffect(config obj.Object, fadeOutSeconds float32, fadeInSeconds float32, fadeRed float32, fadeGreen float32, fadeBlue float32) CGError
CGConfigureDisplayFadeEffect calls the CoreGraphics framework function CGConfigureDisplayFadeEffect.
func CGConfigureDisplayMirrorOfDisplay ¶
CGConfigureDisplayMirrorOfDisplay calls the CoreGraphics framework function CGConfigureDisplayMirrorOfDisplay.
func CGConfigureDisplayMode ¶
CGConfigureDisplayMode calls the CoreGraphics framework function CGConfigureDisplayMode.
func CGConfigureDisplayOrigin ¶
CGConfigureDisplayOrigin calls the CoreGraphics framework function CGConfigureDisplayOrigin.
func CGConfigureDisplayStereoOperation ¶
func CGConfigureDisplayStereoOperation(config obj.Object, display uint32, stereo int, forceBlueLine int) CGError
CGConfigureDisplayStereoOperation calls the CoreGraphics framework function CGConfigureDisplayStereoOperation.
func CGConfigureDisplayWithDisplayMode ¶
func CGConfigureDisplayWithDisplayMode(config obj.Object, display uint32, mode obj.Object, options obj.Object) CGError
CGConfigureDisplayWithDisplayMode calls the CoreGraphics framework function CGConfigureDisplayWithDisplayMode.
func CGDisplayCapture ¶
CGDisplayCapture calls the CoreGraphics framework function CGDisplayCapture.
func CGDisplayCaptureWithOptions ¶
func CGDisplayCaptureWithOptions(display uint32, options CGCaptureOptions) CGError
CGDisplayCaptureWithOptions calls the CoreGraphics framework function CGDisplayCaptureWithOptions.
func CGDisplayFade ¶
func CGDisplayFade(token uint32, duration float32, startBlend float32, endBlend float32, redBlend float32, greenBlend float32, blueBlend float32, synchronous int) CGError
CGDisplayFade calls the CoreGraphics framework function CGDisplayFade.
func CGDisplayHideCursor ¶
CGDisplayHideCursor calls the CoreGraphics framework function CGDisplayHideCursor.
func CGDisplayMoveCursorToPoint ¶
func CGDisplayMoveCursorToPoint(display uint32, point corefoundation.CGPoint) CGError
CGDisplayMoveCursorToPoint calls the CoreGraphics framework function CGDisplayMoveCursorToPoint.
func CGDisplayRegisterReconfigurationCallback ¶
func CGDisplayRegisterReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
CGDisplayRegisterReconfigurationCallback calls the CoreGraphics framework function CGDisplayRegisterReconfigurationCallback.
func CGDisplayRelease ¶
CGDisplayRelease calls the CoreGraphics framework function CGDisplayRelease.
func CGDisplayRemoveReconfigurationCallback ¶
func CGDisplayRemoveReconfigurationCallback(callback unsafe.Pointer, userInfo unsafe.Pointer) CGError
CGDisplayRemoveReconfigurationCallback calls the CoreGraphics framework function CGDisplayRemoveReconfigurationCallback.
func CGDisplaySetDisplayMode ¶
CGDisplaySetDisplayMode calls the CoreGraphics framework function CGDisplaySetDisplayMode.
func CGDisplaySetStereoOperation ¶
func CGDisplaySetStereoOperation(display uint32, stereo int, forceBlueLine int, option CGConfigureOption) CGError
CGDisplaySetStereoOperation calls the CoreGraphics framework function CGDisplaySetStereoOperation.
func CGDisplayShowCursor ¶
CGDisplayShowCursor calls the CoreGraphics framework function CGDisplayShowCursor.
func CGDisplaySwitchToMode ¶
CGDisplaySwitchToMode calls the CoreGraphics framework function CGDisplaySwitchToMode.
func CGEnableEventStateCombining ¶
CGEnableEventStateCombining calls the CoreGraphics framework function CGEnableEventStateCombining.
func CGGetActiveDisplayList ¶
func CGGetActiveDisplayList(maxDisplays uint32, activeDisplays unsafe.Pointer) (result CGError, displayCount uint32)
CGGetActiveDisplayList calls the CoreGraphics framework function CGGetActiveDisplayList.
func CGGetDisplayTransferByFormula ¶
func CGGetDisplayTransferByFormula(display uint32) (result CGError, redMin float32, redMax float32, redGamma float32, greenMin float32, greenMax float32, greenGamma float32, blueMin float32, blueMax float32, blueGamma float32)
CGGetDisplayTransferByFormula calls the CoreGraphics framework function CGGetDisplayTransferByFormula.
func CGGetDisplayTransferByTable ¶
func CGGetDisplayTransferByTable(display uint32, capacity uint32, blueTable unsafe.Pointer) (result CGError, redTable float32, greenTable float32, sampleCount uint32)
CGGetDisplayTransferByTable calls the CoreGraphics framework function CGGetDisplayTransferByTable.
func CGGetDisplaysWithOpenGLDisplayMask ¶
func CGGetDisplaysWithOpenGLDisplayMask(mask uint32, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
CGGetDisplaysWithOpenGLDisplayMask calls the CoreGraphics framework function CGGetDisplaysWithOpenGLDisplayMask.
func CGGetDisplaysWithPoint ¶
func CGGetDisplaysWithPoint(point corefoundation.CGPoint, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
CGGetDisplaysWithPoint calls the CoreGraphics framework function CGGetDisplaysWithPoint.
func CGGetDisplaysWithRect ¶
func CGGetDisplaysWithRect(rect corefoundation.CGRect, maxDisplays uint32, displays unsafe.Pointer) (result CGError, matchingDisplayCount uint32)
CGGetDisplaysWithRect calls the CoreGraphics framework function CGGetDisplaysWithRect.
func CGGetEventTapList ¶
func CGGetEventTapList(maxNumberOfTaps uint32, tapList unsafe.Pointer) (result CGError, eventTapCount uint32)
CGGetEventTapList calls the CoreGraphics framework function CGGetEventTapList.
func CGGetOnlineDisplayList ¶
func CGGetOnlineDisplayList(maxDisplays uint32, onlineDisplays unsafe.Pointer) (result CGError, displayCount uint32)
CGGetOnlineDisplayList calls the CoreGraphics framework function CGGetOnlineDisplayList.
func CGInhibitLocalEvents ¶
CGInhibitLocalEvents calls the CoreGraphics framework function CGInhibitLocalEvents.
func CGPostKeyboardEvent ¶
CGPostKeyboardEvent calls the CoreGraphics framework function CGPostKeyboardEvent.
func CGRegisterScreenRefreshCallback ¶
CGRegisterScreenRefreshCallback calls the CoreGraphics framework function CGRegisterScreenRefreshCallback.
func CGReleaseAllDisplays ¶
func CGReleaseAllDisplays() CGError
CGReleaseAllDisplays calls the CoreGraphics framework function CGReleaseAllDisplays.
func CGReleaseDisplayFadeReservation ¶
CGReleaseDisplayFadeReservation calls the CoreGraphics framework function CGReleaseDisplayFadeReservation.
func CGScreenRegisterMoveCallback ¶
CGScreenRegisterMoveCallback calls the CoreGraphics framework function CGScreenRegisterMoveCallback.
func CGSetDisplayTransferByByteTable ¶
func CGSetDisplayTransferByByteTable(display uint32, tableSize uint32) (result CGError, redTable uint8, greenTable uint8, blueTable uint8)
CGSetDisplayTransferByByteTable calls the CoreGraphics framework function CGSetDisplayTransferByByteTable.
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
CGSetDisplayTransferByFormula calls the CoreGraphics framework function CGSetDisplayTransferByFormula.
func CGSetDisplayTransferByTable ¶
func CGSetDisplayTransferByTable(display uint32, tableSize uint32) (result CGError, redTable float32, greenTable float32, blueTable float32)
CGSetDisplayTransferByTable calls the CoreGraphics framework function CGSetDisplayTransferByTable.
func CGSetLocalEventsFilterDuringSuppressionState ¶
func CGSetLocalEventsFilterDuringSuppressionState(filter CGEventFilterMask, state CGEventSuppressionState) CGError
CGSetLocalEventsFilterDuringSuppressionState calls the CoreGraphics framework function CGSetLocalEventsFilterDuringSuppressionState.
func CGSetLocalEventsSuppressionInterval ¶
CGSetLocalEventsSuppressionInterval calls the CoreGraphics framework function CGSetLocalEventsSuppressionInterval.
func CGWaitForScreenRefreshRects ¶
CGWaitForScreenRefreshRects calls the CoreGraphics framework function CGWaitForScreenRefreshRects.
func CGWarpMouseCursorPosition ¶
func CGWarpMouseCursorPosition(newCursorPosition corefoundation.CGPoint) CGError
CGWarpMouseCursorPosition calls the CoreGraphics framework function CGWarpMouseCursorPosition.
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
String returns the CGEventField constant's name, or its numeric form when the value is not a known constant.
type CGEventFilterMask ¶
type CGEventFilterMask int64
Specify masks for classes of low-level events that can be filtered during event suppression states. Bitmask — values may be combined with |.
const ( KCGEventFilterMaskPermitLocalMouseEvents CGEventFilterMask = 1 KCGEventFilterMaskPermitLocalKeyboardEvents CGEventFilterMask = 2 KCGEventFilterMaskPermitSystemDefinedEvents CGEventFilterMask = 4 )
func CGEventSourceGetLocalEventsFilterDuringSuppressionState ¶
func CGEventSourceGetLocalEventsFilterDuringSuppressionState(source obj.Object, state CGEventSuppressionState) CGEventFilterMask
CGEventSourceGetLocalEventsFilterDuringSuppressionState calls the CoreGraphics framework function CGEventSourceGetLocalEventsFilterDuringSuppressionState.
func (CGEventFilterMask) String ¶
func (e CGEventFilterMask) String() string
String returns the CGEventFilterMask constant's name, or its numeric form when the value is not a known constant.
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. Bitmask — values may be combined with |.
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 obj.Object) CGEventFlags
CGEventGetFlags calls the CoreGraphics framework function CGEventGetFlags.
func CGEventSourceFlagsState ¶
func CGEventSourceFlagsState(stateID CGEventSourceStateID) CGEventFlags
CGEventSourceFlagsState calls the CoreGraphics framework function CGEventSourceFlagsState.
func (CGEventFlags) String ¶
func (e CGEventFlags) String() string
String returns the CGEventFlags constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGEventMouseSubtype constant's name, or its numeric form when the value is not a known constant.
type CGEventSource ¶
type CGEventSource struct{}
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 obj.Object) CGEventSourceStateID
CGEventSourceGetSourceStateID calls the CoreGraphics framework function CGEventSourceGetSourceStateID.
func (CGEventSourceStateID) String ¶
func (e CGEventSourceStateID) String() string
String returns the CGEventSourceStateID constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGEventSuppressionState constant's name, or its numeric form when the value is not a known constant.
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
}
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
String returns the CGEventTapLocation constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGEventTapOptions constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGEventTapPlacement constant's name, or its numeric form when the value is not a known constant.
type CGEventTapProxy ¶
type CGEventTapProxy struct{}
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 obj.Object) CGEventType
CGEventGetType calls the CoreGraphics framework function CGEventGetType.
func (CGEventType) String ¶
func (e CGEventType) String() string
String returns the CGEventType constant's name, or its numeric form when the value is not a known constant.
type CGFont ¶
type CGFont struct{}
A set of character glyphs and layout information for drawing text.
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
String returns the CGFontPostScriptFormat constant's name, or its numeric form when the value is not a known constant.
type CGFunction ¶
type CGFunction struct{}
A general facility for defining and using callback functions.
type CGFunctionCallbacks ¶
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
String returns the CGGesturePhase constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGGlyphDeprecatedEnum constant's name, or its numeric form when the value is not a known constant.
type CGGradient ¶
type CGGradient struct{}
A definition for a smooth transition between colors for drawing radial and axial gradient fills.
type CGGradientDrawingOptions ¶
type CGGradientDrawingOptions int64
Drawing locations for gradients. Bitmask — values may be combined with |.
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
String returns the CGGradientDrawingOptions constant's name, or its numeric form when the value is not a known constant.
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_ obj.Object) CGImageAlphaInfo
CGBitmapContextGetAlphaInfo calls the CoreGraphics framework function CGBitmapContextGetAlphaInfo.
func CGImageGetAlphaInfo ¶
func CGImageGetAlphaInfo(image obj.Object) CGImageAlphaInfo
CGImageGetAlphaInfo calls the CoreGraphics framework function CGImageGetAlphaInfo.
func (CGImageAlphaInfo) String ¶
func (e CGImageAlphaInfo) String() string
String returns the CGImageAlphaInfo constant's name, or its numeric form when the value is not a known constant.
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 obj.Object) CGImageByteOrderInfo
CGImageGetByteOrderInfo calls the CoreGraphics framework function CGImageGetByteOrderInfo.
func (CGImageByteOrderInfo) String ¶
func (e CGImageByteOrderInfo) String() string
String returns the CGImageByteOrderInfo constant's name, or its numeric form when the value is not a known constant.
type CGImageComponentInfo ¶
type CGImageComponentInfo int64
const ( KCGImageComponentInteger CGImageComponentInfo = 0 KCGImageComponentFloat CGImageComponentInfo = 256 )
func (CGImageComponentInfo) String ¶
func (e CGImageComponentInfo) String() string
String returns the CGImageComponentInfo constant's name, or its numeric form when the value is not a known constant.
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 obj.Object) CGImagePixelFormatInfo
CGImageGetPixelFormatInfo calls the CoreGraphics framework function CGImageGetPixelFormatInfo.
func (CGImagePixelFormatInfo) String ¶
func (e CGImagePixelFormatInfo) String() string
String returns the CGImagePixelFormatInfo constant's name, or its numeric form when the value is not a known constant.
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 obj.Object) CGInterpolationQuality
CGContextGetInterpolationQuality calls the CoreGraphics framework function CGContextGetInterpolationQuality.
func (CGInterpolationQuality) String ¶
func (e CGInterpolationQuality) String() string
String returns the CGInterpolationQuality constant's name, or its numeric form when the value is not a known constant.
type CGLayer ¶
type CGLayer struct{}
An offscreen context for reusing content drawn with Core Graphics.
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 )
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
String returns the CGLineJoin constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGMomentumScrollPhase constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGMouseButton constant's name, or its numeric form when the value is not a known constant.
type CGPDFAccessPermissions ¶
type CGPDFAccessPermissions int64
Bitmask — values may be combined with |.
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 obj.Object) CGPDFAccessPermissions
CGPDFDocumentGetAccessPermissions calls the CoreGraphics framework function CGPDFDocumentGetAccessPermissions.
func (CGPDFAccessPermissions) String ¶
func (e CGPDFAccessPermissions) String() string
String returns the CGPDFAccessPermissions constant's name, or its numeric form when the value is not a known constant.
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 )
type CGPDFContentStream ¶
type CGPDFContentStream struct{}
A representation of one or more content data streams in a PDF page.
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 CGPDFStreamCopyData ¶
func CGPDFStreamCopyData(stream obj.Object) (result obj.Object, format CGPDFDataFormat)
CGPDFStreamCopyData calls the CoreGraphics framework function CGPDFStreamCopyData.
func (CGPDFDataFormat) String ¶
func (e CGPDFDataFormat) String() string
String returns the CGPDFDataFormat constant's name, or its numeric form when the value is not a known constant.
type CGPDFDocument ¶
type CGPDFDocument struct{}
A document that contains PDF (Portable Document Format) drawing information.
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 obj.Object) CGPDFObjectType
CGPDFObjectGetType calls the CoreGraphics framework function CGPDFObjectGetType.
func (CGPDFObjectType) String ¶
func (e CGPDFObjectType) String() string
String returns the CGPDFObjectType constant's name, or its numeric form when the value is not a known constant.
type CGPDFOperatorTable ¶
type CGPDFOperatorTable struct{}
A set of callback functions for operators used when scanning content in a PDF document.
type CGPDFScanner ¶
type CGPDFScanner struct{}
A parser object for handling content and operators in a PDF content stream.
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 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
String returns the CGPDFTagType constant's name, or its numeric form when the value is not a known constant.
type CGPSConverter ¶
type CGPSConverter struct{}
An opaque data type used to convert PostScript data to PDF data.
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.
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
String returns the CGPathDrawingMode constant's name, or its numeric form when the value is not a known constant.
type CGPathElement ¶
type CGPathElement struct {
Type CGPathElementType
Points unsafe.Pointer
}
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
String returns the CGPathElementType constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGPatternTiling constant's name, or its numeric form when the value is not a known constant.
type CGRenderingBufferProvider ¶
type CGRenderingBufferProvider struct{}
type CGScreenUpdateMoveDelta ¶
The distance, in pixel units, that an onscreen region moves.
type CGScreenUpdateOperation ¶
type CGScreenUpdateOperation int64
Types of screen-update operations. Bitmask — values may be combined with |.
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
String returns the CGScreenUpdateOperation constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGScrollEventUnit constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGScrollPhase constant's name, or its numeric form when the value is not a known constant.
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.
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
String returns the CGTextDrawingMode constant's name, or its numeric form when the value is not a known constant.
type CGTextEncoding
deprecated
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
String returns the CGTextEncoding constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGToneMapping constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGWindowBackingType constant's name, or its numeric form when the value is not a known constant.
type CGWindowImageOption ¶
type CGWindowImageOption int64
The data type to use to specify the type of image to be generated for a window. Bitmask — values may be combined with |.
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
String returns the CGWindowImageOption constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGWindowLevelKey constant's name, or its numeric form when the value is not a known constant.
type CGWindowListOption ¶
type CGWindowListOption int64
The data type used to specify the options for gathering a list of windows. Bitmask — values may be combined with |.
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
String returns the CGWindowListOption constant's name, or its numeric form when the value is not a known constant.
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
String returns the CGWindowSharingType constant's name, or its numeric form when the value is not a known constant.
type ColorSyncProfile ¶
type ColorSyncProfile struct{}
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int64
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType int64
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type MTLDevice ¶
type MTLDevice interface {
}
MTLDevice is the Go form of the Objective-C protocol MTLDevice.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags int64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor int64
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag int64
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags int64
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
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
String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.
type Perm ¶ added in v0.17.0
type Perm int64
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int64
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode int64
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.