CoreGraphics Changes for Swift
CoreGraphics
Removed CGBitmapInfo.ByteOrderDefault
Removed CGColorConverterTransformType [enum]
Removed CGColorConverterTransformType.applySpace
Removed CGColorConverterTransformType.fromSpace
Removed CGColorConverterTransformType.toSpace
Removed CGFloat.advancedBy(_: CGFloat) -> CGFloat
Removed CGFloat.distanceTo(_: CGFloat) -> CGFloat
Removed CGFloat.isSignaling
Removed CGFloat.isSignMinus
Removed CGFloat.max
Removed CGFloat.min
Removed CGFloat.NaN
Removed CGFloat.quietNaN
Removed CGPatternCallbacks.init(version: UInt32, drawPattern: CGPatternDrawPatternCallback?, releaseInfo: CGPatternReleaseInfoCallback?)
Removed CGRect.contains(_: CGRect) -> Bool
Removed CGRect.contains(_: CGPoint) -> Bool
Removed CGRect.divide(_: CGFloat, fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect)
Removed CGRect.height
Removed CGRect.infinite
Removed CGRect.insetBy(dx: CGFloat, dy: CGFloat) -> CGRect
Removed CGRect.insetInPlace(dx: CGFloat, dy: CGFloat)
Removed CGRect.integral
Removed CGRect.intersect(_: CGRect) -> CGRect
Removed CGRect.intersectInPlace(_: CGRect)
Removed CGRect.intersects(_: CGRect) -> Bool
Removed CGRect.isEmpty
Removed CGRect.isInfinite
Removed CGRect.isNull
Removed CGRect.makeIntegralInPlace()
Removed CGRect.maxX
Removed CGRect.maxY
Removed CGRect.midX
Removed CGRect.midY
Removed CGRect.minX
Removed CGRect.minY
Removed CGRect.null
Removed CGRect.offsetBy(dx: CGFloat, dy: CGFloat) -> CGRect
Removed CGRect.offsetInPlace(dx: CGFloat, dy: CGFloat)
Removed CGRect.standardized
Removed CGRect.standardizeInPlace()
Removed CGRect.union(_: CGRect) -> CGRect
Removed CGRect.unionInPlace(_: CGRect)
Removed CGRect.width
Removed %(_: CGFloat, _: CGFloat) -> CGFloat
Removed %=(_: CGFloat, _: CGFloat)
Removed +(_: CGFloat) -> CGFloat
Removed ++(_: CGFloat) -> CGFloat
Removed ++(_: CGFloat) -> CGFloat
Removed -(_: CGFloat) -> CGFloat
Removed --(_: CGFloat) -> CGFloat
Removed --(_: CGFloat) -> CGFloat
Removed <(_: CGFloat, _: CGFloat) -> Bool
Removed ==(_: CGFloat, _: CGFloat) -> Bool
Removed ceil(_: CGFloat) -> CGFloat
Removed CGAffineTransformIdentity
Removed CGAffineTransformIdentity
Removed CGColorConverter
Removed CGColorConverterCreateSimple(_: CGColorSpace?, _: CGColorSpace?) -> CGColorConverterRef
Removed CGColorConverterGetTypeID() -> CFTypeID
Removed CGColorConverterRelease(_: CGColorConverterRef)
Removed CGContextAddArc(_: CGContext?, _: CGFloat, _: CGFloat, _: CGFloat, _: CGFloat, _: CGFloat, _: Int32)
Removed CGContextAddArcToPoint(_: CGContext?, _: CGFloat, _: CGFloat, _: CGFloat, _: CGFloat, _: CGFloat)
Removed CGContextClip(_: CGContext?)
Removed CGContextEOClip(_: CGContext?)
Removed CGContextFillPath(_: CGContext?)
Removed CGPathAddLineToPoint(_: CGMutablePath?, _: UnsafePointer<CGAffineTransform>, _: CGFloat, _: CGFloat)
Removed CGPathContainsPoint(_: CGPath?, _: UnsafePointer<CGAffineTransform>, _: CGPoint, _: Bool) -> Bool
Removed CGPathMoveToPoint(_: CGMutablePath?, _: UnsafePointer<CGAffineTransform>, _: CGFloat, _: CGFloat)
Removed CGPointMakeWithDictionaryRepresentation(_: CFDictionary?, _: UnsafeMutablePointer<CGPoint>) -> Bool
Removed CGPointZero
Removed CGPointZero
Removed CGRectMakeWithDictionaryRepresentation(_: CFDictionary?, _: UnsafeMutablePointer<CGRect>) -> Bool
Removed CGRectZero
Removed CGRectZero
Removed CGSizeMakeWithDictionaryRepresentation(_: CFDictionary?, _: UnsafeMutablePointer<CGSize>) -> Bool
Removed CGSizeZero
Removed CGSizeZero
Removed fabs(_: CGFloat) -> CGFloat
Removed floor(_: CGFloat) -> CGFloat
Removed fma(_: CGFloat, _: CGFloat, _: CGFloat) -> CGFloat
Removed fmod(_: CGFloat, _: CGFloat) -> CGFloat
Removed fpclassify(_: CGFloat) -> Int
Removed isfinite(_: CGFloat) -> Bool
Removed isinf(_: CGFloat) -> Bool
Removed isnan(_: CGFloat) -> Bool
Removed isnormal(_: CGFloat) -> Bool
Removed kCGColorSpaceGenericGray
Removed kCGColorSpaceGenericRGB
Removed remainder(_: CGFloat, _: CGFloat) -> CGFloat
Removed round(_: CGFloat) -> CGFloat
Removed signbit(_: CGFloat) -> Int
Removed sqrt(_: CGFloat) -> CGFloat
Removed trunc(_: CGFloat) -> CGFloat
Added CGColor.components
Added CGColorConversionInfo
Added CGColorSpace.colorTable
Added CGColorSpace.linearGray
Added CGColorSpace.linearSRGB
Added CGColorSpace.name
Added CGContext.textPosition
Added CGFloat.add(_: CGFloat)
Added CGFloat.binade
Added CGFloat.bitPattern
Added CGFloat.customMirror
Added CGFloat.divide(by: CGFloat)
Added CGFloat.exponent
Added CGFloat.exponentBitCount
Added CGFloat.formSquareRoot()
Added CGFloat.init(_: CGFloat)
Added CGFloat.isCanonical
Added CGFloat.isSignalingNaN
Added CGFloat.multiply(by: CGFloat)
Added CGFloat.nan
Added CGFloat.negate()
Added CGFloat.nextUp
Added CGFloat.pi
Added CGFloat.sign
Added CGFloat.signalingNaN
Added CGFloat.significand
Added CGFloat.significandWidth
Added CGFloat.subtract(_: CGFloat)
Added CGFloat.ulp
Added CGPath.copy(dashingWithPhase: CGFloat, lengths: [CGFloat], transform: CGAffineTransform) -> CGPath
Added CGPathFillRule [enum]
Added CGPathFillRule.evenOdd
Added CGPathFillRule.winding
Added CGPoint.customMirror
Added CGPoint.debugDescription
Added CGRect.customMirror
Added CGRect.debugDescription
Added CGSize.customMirror
Added CGSize.debugDescription
Added IOSurfaceRef
Added ==(_: CGPath, _: CGPath) -> Bool
Added ==(_: CGAffineTransform, _: CGAffineTransform) -> Bool
Added ==(_: CGColor, _: CGColor) -> Bool
Added CGFloat.Exponent
Added CGFloat.RawSignificand
Modified CGAffineTransform [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGAffineTransform { var a: CGFloat var b: CGFloat var c: CGFloat var d: CGFloat var tx: CGFloat var ty: CGFloat init() init(a a: CGFloat, b b: CGFloat, c c: CGFloat, d d: CGFloat, tx tx: CGFloat, ty ty: CGFloat) } | -- |
To | struct CGAffineTransform { var a: CGFloat var b: CGFloat var c: CGFloat var d: CGFloat var tx: CGFloat var ty: CGFloat init() init(a a: CGFloat, b b: CGFloat, c c: CGFloat, d d: CGFloat, tx tx: CGFloat, ty ty: CGFloat) static let identity: CGAffineTransform init(a a: CGFloat, b b: CGFloat, c c: CGFloat, d d: CGFloat, tx tx: CGFloat, ty ty: CGFloat) init(translationX tx: CGFloat, y ty: CGFloat) init(scaleX sx: CGFloat, y sy: CGFloat) init(rotationAngle angle: CGFloat) var isIdentity: Bool { get } func translatedBy(x tx: CGFloat, y ty: CGFloat) -> CGAffineTransform func scaledBy(x sx: CGFloat, y sy: CGFloat) -> CGAffineTransform func rotated(by angle: CGFloat) -> CGAffineTransform func inverted() -> CGAffineTransform func concatenating(_ t2: CGAffineTransform) -> CGAffineTransform func __equalTo(_ t2: CGAffineTransform) -> Bool static var identity: CGAffineTransform { get } } extension CGAffineTransform { static let identity: CGAffineTransform init(a a: CGFloat, b b: CGFloat, c c: CGFloat, d d: CGFloat, tx tx: CGFloat, ty ty: CGFloat) init(translationX tx: CGFloat, y ty: CGFloat) init(scaleX sx: CGFloat, y sy: CGFloat) init(rotationAngle angle: CGFloat) var isIdentity: Bool { get } func translatedBy(x tx: CGFloat, y ty: CGFloat) -> CGAffineTransform func scaledBy(x sx: CGFloat, y sy: CGFloat) -> CGAffineTransform func rotated(by angle: CGFloat) -> CGAffineTransform func inverted() -> CGAffineTransform func concatenating(_ t2: CGAffineTransform) -> CGAffineTransform func __equalTo(_ t2: CGAffineTransform) -> Bool } extension CGAffineTransform { static var identity: CGAffineTransform { get } } extension CGAffineTransform : Equatable { } | Equatable |
Name | Declaration | |
---|---|---|
From | CGAffineTransformConcat(_:_:) | func CGAffineTransformConcat(_ t1: CGAffineTransform, _ t2: CGAffineTransform) -> CGAffineTransform |
To | concatenating(_:) | func concatenating(_ t2: CGAffineTransform) -> CGAffineTransform |
Name | Declaration | |
---|---|---|
From | CGAffineTransformMakeRotation(_:) | func CGAffineTransformMakeRotation(_ angle: CGFloat) -> CGAffineTransform |
To | init(rotationAngle:) | init(rotationAngle angle: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGAffineTransformMakeScale(_:_:) | func CGAffineTransformMakeScale(_ sx: CGFloat, _ sy: CGFloat) -> CGAffineTransform |
To | init(scaleX:y:) | init(scaleX sx: CGFloat, y sy: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGAffineTransformMakeTranslation(_:_:) | func CGAffineTransformMakeTranslation(_ tx: CGFloat, _ ty: CGFloat) -> CGAffineTransform |
To | init(translationX:y:) | init(translationX tx: CGFloat, y ty: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGAffineTransformInvert(_:) | func CGAffineTransformInvert(_ t: CGAffineTransform) -> CGAffineTransform |
To | inverted() | func inverted() -> CGAffineTransform |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGAffineTransformIsIdentity(_:) | func CGAffineTransformIsIdentity(_ t: CGAffineTransform) -> Bool | tvOS 9.0 | -- |
To | isIdentity | var isIdentity: Bool { get } | tvOS 10.0 | yes |
Name | Declaration | |
---|---|---|
From | CGAffineTransformRotate(_:_:) | func CGAffineTransformRotate(_ t: CGAffineTransform, _ angle: CGFloat) -> CGAffineTransform |
To | rotated(by:) | func rotated(by angle: CGFloat) -> CGAffineTransform |
Name | Declaration | |
---|---|---|
From | CGAffineTransformScale(_:_:_:) | func CGAffineTransformScale(_ t: CGAffineTransform, _ sx: CGFloat, _ sy: CGFloat) -> CGAffineTransform |
To | scaledBy(x:y:) | func scaledBy(x sx: CGFloat, y sy: CGFloat) -> CGAffineTransform |
Name | Declaration | |
---|---|---|
From | CGAffineTransformTranslate(_:_:_:) | func CGAffineTransformTranslate(_ t: CGAffineTransform, _ tx: CGFloat, _ ty: CGFloat) -> CGAffineTransform |
To | translatedBy(x:y:) | func translatedBy(x tx: CGFloat, y ty: CGFloat) -> CGAffineTransform |
Modified CGBitmapInfo [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGBitmapInfo : OptionSetType { init(rawValue rawValue: UInt32) static var AlphaInfoMask: CGBitmapInfo { get } static var FloatInfoMask: CGBitmapInfo { get } static var FloatComponents: CGBitmapInfo { get } static var ByteOrderMask: CGBitmapInfo { get } static var ByteOrderDefault: CGBitmapInfo { get } static var ByteOrder16Little: CGBitmapInfo { get } static var ByteOrder32Little: CGBitmapInfo { get } static var ByteOrder16Big: CGBitmapInfo { get } static var ByteOrder32Big: CGBitmapInfo { get } } | OptionSetType |
To | struct CGBitmapInfo : OptionSet { init(rawValue rawValue: UInt32) static var alphaInfoMask: CGBitmapInfo { get } static var floatInfoMask: CGBitmapInfo { get } static var floatComponents: CGBitmapInfo { get } static var byteOrderMask: CGBitmapInfo { get } static var byteOrderDefault: CGBitmapInfo { get } static var byteOrder16Little: CGBitmapInfo { get } static var byteOrder32Little: CGBitmapInfo { get } static var byteOrder16Big: CGBitmapInfo { get } static var byteOrder32Big: CGBitmapInfo { get } func intersect(_ other: CGBitmapInfo) -> CGBitmapInfo func exclusiveOr(_ other: CGBitmapInfo) -> CGBitmapInfo mutating func unionInPlace(_ other: CGBitmapInfo) mutating func intersectInPlace(_ other: CGBitmapInfo) mutating func exclusiveOrInPlace(_ other: CGBitmapInfo) func isSubsetOf(_ other: CGBitmapInfo) -> Bool func isDisjointWith(_ other: CGBitmapInfo) -> Bool func isSupersetOf(_ other: CGBitmapInfo) -> Bool mutating func subtractInPlace(_ other: CGBitmapInfo) func isStrictSupersetOf(_ other: CGBitmapInfo) -> Bool func isStrictSubsetOf(_ other: CGBitmapInfo) -> Bool } extension CGBitmapInfo { func union(_ other: CGBitmapInfo) -> CGBitmapInfo func intersection(_ other: CGBitmapInfo) -> CGBitmapInfo func symmetricDifference(_ other: CGBitmapInfo) -> CGBitmapInfo } extension CGBitmapInfo { func contains(_ member: CGBitmapInfo) -> Bool mutating func insert(_ newMember: CGBitmapInfo) -> (inserted: Bool, memberAfterInsert: CGBitmapInfo) mutating func remove(_ member: CGBitmapInfo) -> CGBitmapInfo? mutating func update(with newMember: CGBitmapInfo) -> CGBitmapInfo? } extension CGBitmapInfo { convenience init() mutating func formUnion(_ other: CGBitmapInfo) mutating func formIntersection(_ other: CGBitmapInfo) mutating func formSymmetricDifference(_ other: CGBitmapInfo) } extension CGBitmapInfo { convenience init<S : Sequence where S.Iterator.Element == CGBitmapInfo>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CGBitmapInfo...) mutating func subtract(_ other: CGBitmapInfo) func isSubset(of other: CGBitmapInfo) -> Bool func isSuperset(of other: CGBitmapInfo) -> Bool func isDisjoint(with other: CGBitmapInfo) -> Bool func subtracting(_ other: CGBitmapInfo) -> CGBitmapInfo var isEmpty: Bool { get } func isStrictSuperset(of other: CGBitmapInfo) -> Bool func isStrictSubset(of other: CGBitmapInfo) -> Bool } | OptionSet |
Modified CGBitmapInfo.alphaInfoMask
Declaration | |
---|---|
From | static var AlphaInfoMask: CGBitmapInfo { get } |
To | static var alphaInfoMask: CGBitmapInfo { get } |
Modified CGBitmapInfo.byteOrder16Big
Declaration | |
---|---|
From | static var ByteOrder16Big: CGBitmapInfo { get } |
To | static var byteOrder16Big: CGBitmapInfo { get } |
Modified CGBitmapInfo.byteOrder16Little
Declaration | |
---|---|
From | static var ByteOrder16Little: CGBitmapInfo { get } |
To | static var byteOrder16Little: CGBitmapInfo { get } |
Modified CGBitmapInfo.byteOrder32Big
Declaration | |
---|---|
From | static var ByteOrder32Big: CGBitmapInfo { get } |
To | static var byteOrder32Big: CGBitmapInfo { get } |
Modified CGBitmapInfo.byteOrder32Little
Declaration | |
---|---|
From | static var ByteOrder32Little: CGBitmapInfo { get } |
To | static var byteOrder32Little: CGBitmapInfo { get } |
Modified CGBitmapInfo.byteOrderMask
Declaration | |
---|---|
From | static var ByteOrderMask: CGBitmapInfo { get } |
To | static var byteOrderMask: CGBitmapInfo { get } |
Modified CGBitmapInfo.floatComponents
Declaration | |
---|---|
From | static var FloatComponents: CGBitmapInfo { get } |
To | static var floatComponents: CGBitmapInfo { get } |
Modified CGBitmapInfo.floatInfoMask
Declaration | |
---|---|
From | static var FloatInfoMask: CGBitmapInfo { get } |
To | static var floatInfoMask: CGBitmapInfo { get } |
Modified CGBlendMode [enum]
Declaration | |
---|---|
From | enum CGBlendMode : Int32 { case Normal case Multiply case Screen case Overlay case Darken case Lighten case ColorDodge case ColorBurn case SoftLight case HardLight case Difference case Exclusion case Hue case Saturation case Color case Luminosity case Clear case Copy case SourceIn case SourceOut case SourceAtop case DestinationOver case DestinationIn case DestinationOut case DestinationAtop case XOR case PlusDarker case PlusLighter } |
To | enum CGBlendMode : Int32 { case normal case multiply case screen case overlay case darken case lighten case colorDodge case colorBurn case softLight case hardLight case difference case exclusion case hue case saturation case color case luminosity case clear case copy case sourceIn case sourceOut case sourceAtop case destinationOver case destinationIn case destinationOut case destinationAtop case xor case plusDarker case plusLighter } |
Modified CGBlendMode.clear
Declaration | |
---|---|
From | case Clear |
To | case clear |
Modified CGBlendMode.color
Declaration | |
---|---|
From | case Color |
To | case color |
Modified CGBlendMode.colorBurn
Declaration | |
---|---|
From | case ColorBurn |
To | case colorBurn |
Modified CGBlendMode.colorDodge
Declaration | |
---|---|
From | case ColorDodge |
To | case colorDodge |
Modified CGBlendMode.copy
Declaration | |
---|---|
From | case Copy |
To | case copy |
Modified CGBlendMode.darken
Declaration | |
---|---|
From | case Darken |
To | case darken |
Modified CGBlendMode.destinationAtop
Declaration | |
---|---|
From | case DestinationAtop |
To | case destinationAtop |
Modified CGBlendMode.destinationIn
Declaration | |
---|---|
From | case DestinationIn |
To | case destinationIn |
Modified CGBlendMode.destinationOut
Declaration | |
---|---|
From | case DestinationOut |
To | case destinationOut |
Modified CGBlendMode.destinationOver
Declaration | |
---|---|
From | case DestinationOver |
To | case destinationOver |
Modified CGBlendMode.difference
Declaration | |
---|---|
From | case Difference |
To | case difference |
Modified CGBlendMode.exclusion
Declaration | |
---|---|
From | case Exclusion |
To | case exclusion |
Modified CGBlendMode.hardLight
Declaration | |
---|---|
From | case HardLight |
To | case hardLight |
Modified CGBlendMode.hue
Declaration | |
---|---|
From | case Hue |
To | case hue |
Modified CGBlendMode.lighten
Declaration | |
---|---|
From | case Lighten |
To | case lighten |
Modified CGBlendMode.luminosity
Declaration | |
---|---|
From | case Luminosity |
To | case luminosity |
Modified CGBlendMode.multiply
Declaration | |
---|---|
From | case Multiply |
To | case multiply |
Modified CGBlendMode.normal
Declaration | |
---|---|
From | case Normal |
To | case normal |
Modified CGBlendMode.overlay
Declaration | |
---|---|
From | case Overlay |
To | case overlay |
Modified CGBlendMode.plusDarker
Declaration | |
---|---|
From | case PlusDarker |
To | case plusDarker |
Modified CGBlendMode.plusLighter
Declaration | |
---|---|
From | case PlusLighter |
To | case plusLighter |
Modified CGBlendMode.saturation
Declaration | |
---|---|
From | case Saturation |
To | case saturation |
Modified CGBlendMode.screen
Declaration | |
---|---|
From | case Screen |
To | case screen |
Modified CGBlendMode.softLight
Declaration | |
---|---|
From | case SoftLight |
To | case softLight |
Modified CGBlendMode.sourceAtop
Declaration | |
---|---|
From | case SourceAtop |
To | case sourceAtop |
Modified CGBlendMode.sourceIn
Declaration | |
---|---|
From | case SourceIn |
To | case sourceIn |
Modified CGBlendMode.sourceOut
Declaration | |
---|---|
From | case SourceOut |
To | case sourceOut |
Modified CGBlendMode.xor
Declaration | |
---|---|
From | case XOR |
To | case xor |
Modified CGColor
Declaration | Protocols | |
---|---|---|
From | class CGColor { } | -- |
To | class CGColor { var components: [CGFloat]? { get } init?(colorSpace space: CGColorSpace, components components: UnsafePointer<CGFloat>) init(gray gray: CGFloat, alpha alpha: CGFloat) init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) init(genericCMYKCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func __constantColor(for colorName: CFString) -> CGColor? init?(patternSpace space: CGColorSpace, pattern pattern: CGPattern, components components: UnsafePointer<CGFloat>) func copy() -> CGColor? func copy(alpha alpha: CGFloat) -> CGColor? func converted(to _: CGColorSpace, intent intent: CGColorRenderingIntent, options options: CFDictionary?) -> CGColor? func __equalTo(_ color2: CGColor) -> Bool var numberOfComponents: Int { get } var __unsafeComponents: UnsafePointer<CGFloat>? { get } var alpha: CGFloat { get } var colorSpace: CGColorSpace? { get } var pattern: CGPattern? { get } class var typeID: CFTypeID { get } class let __whiteColorName: CFString class let __blackColorName: CFString class let __clearColorName: CFString class let conversionBlackPointCompensation: CFString } extension CGColor { init?(colorSpace space: CGColorSpace, components components: UnsafePointer<CGFloat>) init(gray gray: CGFloat, alpha alpha: CGFloat) init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) init(genericCMYKCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func __constantColor(for colorName: CFString) -> CGColor? init?(patternSpace space: CGColorSpace, pattern pattern: CGPattern, components components: UnsafePointer<CGFloat>) func copy() -> CGColor? func copy(alpha alpha: CGFloat) -> CGColor? func converted(to _: CGColorSpace, intent intent: CGColorRenderingIntent, options options: CFDictionary?) -> CGColor? func __equalTo(_ color2: CGColor) -> Bool var numberOfComponents: Int { get } var __unsafeComponents: UnsafePointer<CGFloat>? { get } var alpha: CGFloat { get } var colorSpace: CGColorSpace? { get } var pattern: CGPattern? { get } class var typeID: CFTypeID { get } class let __whiteColorName: CFString class let __blackColorName: CFString class let __clearColorName: CFString } extension CGColor { class let conversionBlackPointCompensation: CFString } extension CGColor : Equatable { } extension CGColor { var components: [CGFloat]? { get } } | Equatable |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorGetAlpha(_:) | func CGColorGetAlpha(_ color: CGColor?) -> CGFloat | -- |
To | alpha | var alpha: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorGetColorSpace(_:) | func CGColorGetColorSpace(_ color: CGColor?) -> CGColorSpace? | -- |
To | colorSpace | var colorSpace: CGColorSpace? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGColorCreateCopyByMatchingToColorSpace(_:_:_:_:) | func CGColorCreateCopyByMatchingToColorSpace(_ _: CGColorSpace?, _ intent: CGColorRenderingIntent, _ color: CGColor?, _ options: CFDictionary?) -> CGColor? |
To | converted(to:intent:options:) | func converted(to _: CGColorSpace, intent intent: CGColorRenderingIntent, options options: CFDictionary?) -> CGColor? |
Modified CGColor.copy() -> CGColor?
Name | Declaration | Introduction | |
---|---|---|---|
From | CGColorCreateCopy(_:) | func CGColorCreateCopy(_ color: CGColor?) -> CGColor? | tvOS 9.0 |
To | copy() | func copy() -> CGColor? | tvOS 10.0 |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGColorCreateCopyWithAlpha(_:_:) | func CGColorCreateCopyWithAlpha(_ color: CGColor?, _ alpha: CGFloat) -> CGColor? | tvOS 9.0 |
To | copy(alpha:) | func copy(alpha alpha: CGFloat) -> CGColor? | tvOS 10.0 |
Name | Declaration | |
---|---|---|
From | CGColorCreate(_:_:) | func CGColorCreate(_ space: CGColorSpace?, _ components: UnsafePointer<CGFloat>) -> CGColor? |
To | init(colorSpace:components:) | init?(colorSpace space: CGColorSpace, components components: UnsafePointer<CGFloat>) |
Modified CGColor.init(patternSpace: CGColorSpace, pattern: CGPattern, components: UnsafePointer<CGFloat>)
Name | Declaration | |
---|---|---|
From | CGColorCreateWithPattern(_:_:_:) | func CGColorCreateWithPattern(_ space: CGColorSpace?, _ pattern: CGPattern?, _ components: UnsafePointer<CGFloat>) -> CGColor? |
To | init(patternSpace:pattern:components:) | init?(patternSpace space: CGColorSpace, pattern pattern: CGPattern, components components: UnsafePointer<CGFloat>) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorGetNumberOfComponents(_:) | func CGColorGetNumberOfComponents(_ color: CGColor?) -> Int | -- |
To | numberOfComponents | var numberOfComponents: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorGetPattern(_:) | func CGColorGetPattern(_ color: CGColor?) -> CGPattern? | -- |
To | pattern | var pattern: CGPattern? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGColorGetTypeID() | func CGColorGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGColorRenderingIntent [enum]
Declaration | |
---|---|
From | enum CGColorRenderingIntent : Int32 { case RenderingIntentDefault case RenderingIntentAbsoluteColorimetric case RenderingIntentRelativeColorimetric case RenderingIntentPerceptual case RenderingIntentSaturation } |
To | enum CGColorRenderingIntent : Int32 { case defaultIntent case absoluteColorimetric case relativeColorimetric case perceptual case saturation } |
Declaration | |
---|---|
From | case RenderingIntentAbsoluteColorimetric |
To | case absoluteColorimetric |
Modified CGColorRenderingIntent.defaultIntent
Declaration | |
---|---|
From | case RenderingIntentDefault |
To | case defaultIntent |
Modified CGColorRenderingIntent.perceptual
Declaration | |
---|---|
From | case RenderingIntentPerceptual |
To | case perceptual |
Declaration | |
---|---|
From | case RenderingIntentRelativeColorimetric |
To | case relativeColorimetric |
Modified CGColorRenderingIntent.saturation
Declaration | |
---|---|
From | case RenderingIntentSaturation |
To | case saturation |
Modified CGColorSpace
Declaration | |
---|---|
From | class CGColorSpace { } |
To | class CGColorSpace { var colorTable: [UInt8]? { get } class let genericGray: CFString class let genericRGB: CFString class let genericCMYK: CFString class let displayP3: CFString class let genericRGBLinear: CFString class let adobeRGB1998: CFString class let sRGB: CFString class let genericGrayGamma2_2: CFString class let genericXYZ: CFString class let acescgLinear: CFString class let itur_709: CFString class let itur_2020: CFString class let rommrgb: CFString class let dcip3: CFString class let extendedSRGB: CFString class let linearSRGB: CFString class let extendedLinearSRGB: CFString class let extendedGray: CFString class let linearGray: CFString class let extendedLinearGray: CFString init?(calibratedGrayWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: CGFloat) init?(calibratedRGBWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: UnsafePointer<CGFloat>!, matrix matrix: UnsafePointer<CGFloat>!) init?(labWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, range range: UnsafePointer<CGFloat>!) init?(iccProfileData data: CFData) init?(iccBasedNComponents nComponents: Int, range range: UnsafePointer<CGFloat>?, profile profile: CGDataProvider, alternate alternate: CGColorSpace?) init?(indexedBaseSpace baseSpace: CGColorSpace, last lastIndex: Int, colorTable colorTable: UnsafePointer<UInt8>) init?(patternBaseSpace baseSpace: CGColorSpace?) init?(platformColorSpaceRef ref: UnsafeRawPointer) init?(name name: CFString) var name: CFString? { get } class var typeID: CFTypeID { get } var numberOfComponents: Int { get } var model: CGColorSpaceModel { get } var baseColorSpace: CGColorSpace? { get } var __colorTableCount: Int { get } func __unsafeGetColorTable(_ table: UnsafeMutablePointer<UInt8>) var iccData: CFData? { get } func copyICCData() -> CFData? var isWideGamutRGB: Bool { get } var supportsOutput: Bool { get } } extension CGColorSpace { class let genericGray: CFString class let genericRGB: CFString class let genericCMYK: CFString class let displayP3: CFString class let genericRGBLinear: CFString class let adobeRGB1998: CFString class let sRGB: CFString class let genericGrayGamma2_2: CFString class let genericXYZ: CFString class let acescgLinear: CFString class let itur_709: CFString class let itur_2020: CFString class let rommrgb: CFString class let dcip3: CFString class let extendedSRGB: CFString class let linearSRGB: CFString class let extendedLinearSRGB: CFString class let extendedGray: CFString class let linearGray: CFString class let extendedLinearGray: CFString init?(calibratedGrayWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: CGFloat) init?(calibratedRGBWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: UnsafePointer<CGFloat>!, matrix matrix: UnsafePointer<CGFloat>!) init?(labWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, range range: UnsafePointer<CGFloat>!) init?(iccProfileData data: CFData) init?(iccBasedNComponents nComponents: Int, range range: UnsafePointer<CGFloat>?, profile profile: CGDataProvider, alternate alternate: CGColorSpace?) init?(indexedBaseSpace baseSpace: CGColorSpace, last lastIndex: Int, colorTable colorTable: UnsafePointer<UInt8>) init?(patternBaseSpace baseSpace: CGColorSpace?) init?(platformColorSpaceRef ref: UnsafeRawPointer) init?(name name: CFString) var name: CFString? { get } class var typeID: CFTypeID { get } var numberOfComponents: Int { get } var model: CGColorSpaceModel { get } var baseColorSpace: CGColorSpace? { get } var __colorTableCount: Int { get } func __unsafeGetColorTable(_ table: UnsafeMutablePointer<UInt8>) var iccData: CFData? { get } func copyICCData() -> CFData? var isWideGamutRGB: Bool { get } var supportsOutput: Bool { get } } extension CGColorSpace { var colorTable: [UInt8]? { get } } |
Modified CGColorSpace.acescgLinear
Name | Declaration | |
---|---|---|
From | kCGColorSpaceACESCGLinear | let kCGColorSpaceACESCGLinear: CFString |
To | acescgLinear | class let acescgLinear: CFString |
Modified CGColorSpace.adobeRGB1998
Name | Declaration | |
---|---|---|
From | kCGColorSpaceAdobeRGB1998 | let kCGColorSpaceAdobeRGB1998: CFString |
To | adobeRGB1998 | class let adobeRGB1998: CFString |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorSpaceGetBaseColorSpace(_:) | func CGColorSpaceGetBaseColorSpace(_ space: CGColorSpace?) -> CGColorSpace? | -- |
To | baseColorSpace | var baseColorSpace: CGColorSpace? { get } | yes |
Modified CGColorSpace.dcip3
Name | Declaration | |
---|---|---|
From | kCGColorSpaceDCIP3 | let kCGColorSpaceDCIP3: CFString |
To | dcip3 | class let dcip3: CFString |
Modified CGColorSpace.displayP3
Name | Declaration | |
---|---|---|
From | kCGColorSpaceDisplayP3 | let kCGColorSpaceDisplayP3: CFString |
To | displayP3 | class let displayP3: CFString |
Modified CGColorSpace.genericCMYK
Name | Declaration | |
---|---|---|
From | kCGColorSpaceGenericCMYK | let kCGColorSpaceGenericCMYK: CFString |
To | genericCMYK | class let genericCMYK: CFString |
Modified CGColorSpace.genericGrayGamma2_2
Name | Declaration | |
---|---|---|
From | kCGColorSpaceGenericGrayGamma2_2 | let kCGColorSpaceGenericGrayGamma2_2: CFString |
To | genericGrayGamma2_2 | class let genericGrayGamma2_2: CFString |
Modified CGColorSpace.genericRGBLinear
Name | Declaration | |
---|---|---|
From | kCGColorSpaceGenericRGBLinear | let kCGColorSpaceGenericRGBLinear: CFString |
To | genericRGBLinear | class let genericRGBLinear: CFString |
Modified CGColorSpace.genericXYZ
Name | Declaration | |
---|---|---|
From | kCGColorSpaceGenericXYZ | let kCGColorSpaceGenericXYZ: CFString |
To | genericXYZ | class let genericXYZ: CFString |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGColorSpaceCopyICCProfile(_:) | func CGColorSpaceCopyICCProfile(_ space: CGColorSpace?) -> CFData? | tvOS 9.0 | -- |
To | iccData | var iccData: CFData? { get } | tvOS 10.0 | yes |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateCalibratedGray(_:_:_:) | func CGColorSpaceCreateCalibratedGray(_ whitePoint: UnsafePointer<CGFloat>, _ blackPoint: UnsafePointer<CGFloat>, _ gamma: CGFloat) -> CGColorSpace? |
To | init(calibratedGrayWhitePoint:blackPoint:gamma:) | init?(calibratedGrayWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateCalibratedRGB(_:_:_:_:) | func CGColorSpaceCreateCalibratedRGB(_ whitePoint: UnsafePointer<CGFloat>, _ blackPoint: UnsafePointer<CGFloat>, _ gamma: UnsafePointer<CGFloat>, _ matrix: UnsafePointer<CGFloat>) -> CGColorSpace? |
To | init(calibratedRGBWhitePoint:blackPoint:gamma:matrix:) | init?(calibratedRGBWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, gamma gamma: UnsafePointer<CGFloat>!, matrix matrix: UnsafePointer<CGFloat>!) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateICCBased(_:_:_:_:) | func CGColorSpaceCreateICCBased(_ nComponents: Int, _ range: UnsafePointer<CGFloat>, _ profile: CGDataProvider?, _ alternate: CGColorSpace?) -> CGColorSpace? |
To | init(iccBasedNComponents:range:profile:alternate:) | init?(iccBasedNComponents nComponents: Int, range range: UnsafePointer<CGFloat>?, profile profile: CGDataProvider, alternate alternate: CGColorSpace?) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateWithICCProfile(_:) | func CGColorSpaceCreateWithICCProfile(_ data: CFData?) -> CGColorSpace? |
To | init(iccProfileData:) | init?(iccProfileData data: CFData) |
Modified CGColorSpace.init(indexedBaseSpace: CGColorSpace, last: Int, colorTable: UnsafePointer<UInt8>)
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateIndexed(_:_:_:) | func CGColorSpaceCreateIndexed(_ baseSpace: CGColorSpace?, _ lastIndex: Int, _ colorTable: UnsafePointer<UInt8>) -> CGColorSpace? |
To | init(indexedBaseSpace:last:colorTable:) | init?(indexedBaseSpace baseSpace: CGColorSpace, last lastIndex: Int, colorTable colorTable: UnsafePointer<UInt8>) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateLab(_:_:_:) | func CGColorSpaceCreateLab(_ whitePoint: UnsafePointer<CGFloat>, _ blackPoint: UnsafePointer<CGFloat>, _ range: UnsafePointer<CGFloat>) -> CGColorSpace? |
To | init(labWhitePoint:blackPoint:range:) | init?(labWhitePoint whitePoint: UnsafePointer<CGFloat>!, blackPoint blackPoint: UnsafePointer<CGFloat>!, range range: UnsafePointer<CGFloat>!) |
Modified CGColorSpace.init(name: CFString)
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateWithName(_:) | func CGColorSpaceCreateWithName(_ name: CFString?) -> CGColorSpace? |
To | init(name:) | init?(name name: CFString) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreatePattern(_:) | func CGColorSpaceCreatePattern(_ baseSpace: CGColorSpace?) -> CGColorSpace? |
To | init(patternBaseSpace:) | init?(patternBaseSpace baseSpace: CGColorSpace?) |
Name | Declaration | |
---|---|---|
From | CGColorSpaceCreateWithPlatformColorSpace(_:) | func CGColorSpaceCreateWithPlatformColorSpace(_ ref: UnsafePointer<Void>) -> CGColorSpace? |
To | init(platformColorSpaceRef:) | init?(platformColorSpaceRef ref: UnsafeRawPointer) |
Modified CGColorSpace.itur_2020
Name | Declaration | |
---|---|---|
From | kCGColorSpaceITUR_2020 | let kCGColorSpaceITUR_2020: CFString |
To | itur_2020 | class let itur_2020: CFString |
Modified CGColorSpace.itur_709
Name | Declaration | |
---|---|---|
From | kCGColorSpaceITUR_709 | let kCGColorSpaceITUR_709: CFString |
To | itur_709 | class let itur_709: CFString |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorSpaceGetModel(_:) | func CGColorSpaceGetModel(_ space: CGColorSpace?) -> CGColorSpaceModel | -- |
To | model | var model: CGColorSpaceModel { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGColorSpaceGetNumberOfComponents(_:) | func CGColorSpaceGetNumberOfComponents(_ space: CGColorSpace?) -> Int | -- |
To | numberOfComponents | var numberOfComponents: Int { get } | yes |
Modified CGColorSpace.rommrgb
Name | Declaration | |
---|---|---|
From | kCGColorSpaceROMMRGB | let kCGColorSpaceROMMRGB: CFString |
To | rommrgb | class let rommrgb: CFString |
Modified CGColorSpace.sRGB
Name | Declaration | |
---|---|---|
From | kCGColorSpaceSRGB | let kCGColorSpaceSRGB: CFString |
To | sRGB | class let sRGB: CFString |
Name | Declaration | |
---|---|---|
From | CGColorSpaceGetTypeID() | func CGColorSpaceGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGColorSpaceModel [enum]
Declaration | |
---|---|
From | enum CGColorSpaceModel : Int32 { case Unknown case Monochrome case RGB case CMYK case Lab case DeviceN case Indexed case Pattern } |
To | enum CGColorSpaceModel : Int32 { case unknown case monochrome case rgb case cmyk case lab case deviceN case indexed case pattern } |
Modified CGColorSpaceModel.cmyk
Declaration | |
---|---|
From | case CMYK |
To | case cmyk |
Modified CGColorSpaceModel.deviceN
Declaration | |
---|---|
From | case DeviceN |
To | case deviceN |
Modified CGColorSpaceModel.indexed
Declaration | |
---|---|
From | case Indexed |
To | case indexed |
Modified CGColorSpaceModel.lab
Declaration | |
---|---|
From | case Lab |
To | case lab |
Modified CGColorSpaceModel.monochrome
Declaration | |
---|---|
From | case Monochrome |
To | case monochrome |
Modified CGColorSpaceModel.pattern
Declaration | |
---|---|
From | case Pattern |
To | case pattern |
Modified CGColorSpaceModel.rgb
Declaration | |
---|---|
From | case RGB |
To | case rgb |
Modified CGColorSpaceModel.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified CGContext
Declaration | |
---|---|
From | class CGContext { } |
To | class CGContext { init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32, releaseCallback releaseCallback: CoreGraphics.CGBitmapContextReleaseDataCallback?, releaseInfo releaseInfo: UnsafeMutableRawPointer?) init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32) var data: UnsafeMutableRawPointer? { get } var width: Int { get } var height: Int { get } var bitsPerComponent: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var colorSpace: CGColorSpace? { get } var alphaInfo: CGImageAlphaInfo { get } var bitmapInfo: CGBitmapInfo { get } func makeImage() -> CGImage? func setLineDash(phase phase: CGFloat, lengths lengths: [CGFloat]) func move(to point: CGPoint) func addLine(to point: CGPoint) func addCurve(to end: CGPoint, control1 control1: CGPoint, control2 control2: CGPoint) func addQuadCurve(to end: CGPoint, control control: CGPoint) func addRects(_ rects: [CGRect]) func addLines(between points: [CGPoint]) func addArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func addArc(tangent1End tangent1End: CGPoint, tangent2End tangent2End: CGPoint, radius radius: CGFloat) func fillPath(using rule: CGPathFillRule = default) func clip(using rule: CGPathFillRule = default) func fill(_ rects: [CGRect]) func strokeLineSegments(between points: [CGPoint]) func clip(to rects: [CGRect]) func draw(_ image: CGImage, in rect: CGRect, byTiling byTiling: Bool = default) var textPosition: CGPoint func showGlyphs(_ glyphs: [CGGlyph], at positions: [CGPoint]) func draw(_ layer: CGLayer, in rect: CGRect) func draw(_ layer: CGLayer, at point: CGPoint) class var typeID: CFTypeID { get } func saveGState() func restoreGState() func scaleBy(x sx: CGFloat, y sy: CGFloat) func translateBy(x tx: CGFloat, y ty: CGFloat) func rotate(by angle: CGFloat) func concatenate(_ transform: CGAffineTransform) var ctm: CGAffineTransform { get } func setLineWidth(_ width: CGFloat) func setLineCap(_ cap: CGLineCap) func setLineJoin(_ join: CGLineJoin) func setMiterLimit(_ limit: CGFloat) func __setLineDash(phase phase: CGFloat, lengths lengths: UnsafePointer<CGFloat>?, count count: Int) func setFlatness(_ flatness: CGFloat) func setAlpha(_ alpha: CGFloat) func setBlendMode(_ mode: CGBlendMode) func beginPath() func __moveTo(x x: CGFloat, y y: CGFloat) func __addLineTo(x x: CGFloat, y y: CGFloat) func __addCurveTo(cp1x cp1x: CGFloat, cp1y cp1y: CGFloat, cp2x cp2x: CGFloat, cp2y cp2y: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func __addQuadCurveTo(cpx cpx: CGFloat, cpy cpy: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func closePath() func addRect(_ rect: CGRect) func __addRects(_ rects: UnsafePointer<CGRect>?, count count: Int) func __addLines(between points: UnsafePointer<CGPoint>?, count count: Int) func addEllipse(in rect: CGRect) func __addArc(centerX x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Int32) func __addArc(x1 x1: CGFloat, y1 y1: CGFloat, x2 x2: CGFloat, y2 y2: CGFloat, radius radius: CGFloat) func addPath(_ path: CGPath) func replacePathWithStrokedPath() var isPathEmpty: Bool { get } var currentPointOfPath: CGPoint { get } var boundingBoxOfPath: CGRect { get } var path: CGPath? { get } func pathContains(_ point: CGPoint, mode mode: CGPathDrawingMode) -> Bool func drawPath(using mode: CGPathDrawingMode) func __fillPath() func __eoFillPath() func strokePath() func fill(_ rect: CGRect) func __fill(_ rects: UnsafePointer<CGRect>?, count count: Int) func stroke(_ rect: CGRect) func stroke(_ rect: CGRect, width width: CGFloat) func clear(_ rect: CGRect) func fillEllipse(in rect: CGRect) func strokeEllipse(in rect: CGRect) func __strokeLineSegments(between points: UnsafePointer<CGPoint>?, count count: Int) func __clip() func __eoClip() func clip(to rect: CGRect, mask mask: CGImage) var boundingBoxOfClipPath: CGRect { get } func clip(to rect: CGRect) func __clip(to rects: UnsafePointer<CGRect>, count count: Int) func setFillColor(_ color: CGColor) func setStrokeColor(_ color: CGColor) func setFillColorSpace(_ space: CGColorSpace) func setStrokeColorSpace(_ space: CGColorSpace) func setFillColor(_ components: UnsafePointer<CGFloat>) func setStrokeColor(_ components: UnsafePointer<CGFloat>) func setFillPattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) func setStrokePattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) func setPatternPhase(_ phase: CGSize) func setFillColor(gray gray: CGFloat, alpha alpha: CGFloat) func setStrokeColor(gray gray: CGFloat, alpha alpha: CGFloat) func setFillColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) func setStrokeColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) func setFillColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) func setStrokeColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) func setRenderingIntent(_ intent: CGColorRenderingIntent) func __draw(in rect: CGRect, image image: CGImage) func __draw(in rect: CGRect, byTiling image: CGImage) var interpolationQuality: CGInterpolationQuality func setShadow(offset offset: CGSize, blur blur: CGFloat, color color: CGColor?) func setShadow(offset offset: CGSize, blur blur: CGFloat) func drawLinearGradient(_ gradient: CGGradient, start startPoint: CGPoint, end endPoint: CGPoint, options options: CGGradientDrawingOptions) func drawRadialGradient(_ gradient: CGGradient, startCenter startCenter: CGPoint, startRadius startRadius: CGFloat, endCenter endCenter: CGPoint, endRadius endRadius: CGFloat, options options: CGGradientDrawingOptions) func drawShading(_ shading: CGShading) func setCharacterSpacing(_ spacing: CGFloat) func __setTextPosition(x x: CGFloat, y y: CGFloat) var __textPosition: CGPoint { get } var textMatrix: CGAffineTransform func setTextDrawingMode(_ mode: CGTextDrawingMode) func setFont(_ font: CGFont) func setFontSize(_ size: CGFloat) func __showGlyphs(_ glyphs: UnsafePointer<CGGlyph>, atPositions Lpositions: UnsafePointer<CGPoint>, count count: Int) func drawPDFPage(_ page: CGPDFPage) func beginPage(mediaBox mediaBox: UnsafePointer<CGRect>?) func endPage() func flush() func synchronize() func setShouldAntialias(_ shouldAntialias: Bool) func setAllowsAntialiasing(_ allowsAntialiasing: Bool) func setShouldSmoothFonts(_ shouldSmoothFonts: Bool) func setAllowsFontSmoothing(_ allowsFontSmoothing: Bool) func setShouldSubpixelPositionFonts(_ shouldSubpixelPositionFonts: Bool) func setAllowsFontSubpixelPositioning(_ allowsFontSubpixelPositioning: Bool) func setShouldSubpixelQuantizeFonts(_ shouldSubpixelQuantizeFonts: Bool) func setAllowsFontSubpixelQuantization(_ allowsFontSubpixelQuantization: Bool) func beginTransparencyLayer(auxiliaryInfo auxiliaryInfo: CFDictionary?) func beginTransparencyLayer(in rect: CGRect, auxiliaryInfo auxInfo: CFDictionary?) func endTransparencyLayer() var userSpaceToDeviceSpaceTransform: CGAffineTransform { get } func convertToDeviceSpace(_ point: CGPoint) -> CGPoint func convertToUserSpace(_ point: CGPoint) -> CGPoint func convertToDeviceSpace(_ size: CGSize) -> CGSize func convertToUserSpace(_ size: CGSize) -> CGSize func convertToDeviceSpace(_ rect: CGRect) -> CGRect func convertToUserSpace(_ rect: CGRect) -> CGRect func selectFont(name name: UnsafePointer<Int8>, size size: CGFloat, textEncoding textEncoding: CGTextEncoding) func showText(string string: UnsafePointer<Int8>, length length: Int) func showTextAtPoint(x x: CGFloat, y y: CGFloat, string string: UnsafePointer<Int8>, length length: Int) func showGlyphs(g g: UnsafePointer<CGGlyph>?, count count: Int) func showGlyphsAtPoint(x x: CGFloat, y y: CGFloat, glyphs glyphs: UnsafePointer<CGGlyph>?, count count: Int) func showGlyphsWithAdvances(glyphs glyphs: UnsafePointer<CGGlyph>?, advances advances: UnsafePointer<CGSize>?, count count: Int) func drawPDFDocument(_ rect: CGRect, document document: CGPDFDocument, page page: Int32) func __draw(in rect: CGRect, layer layer: CGLayer) func __draw(at point: CGPoint, layer layer: CGLayer) init?(consumer consumer: CGDataConsumer, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) init?(_ url: CFURL, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) func closePDF() func beginPDFPage(_ pageInfo: CFDictionary?) func endPDFPage() func addDocumentMetadata(_ metadata: CFData?) func setURL(_ url: CFURL, for rect: CGRect) func addDestination(_ name: CFString, at point: CGPoint) func setDestination(_ name: CFString, for rect: CGRect) } extension CGContext { init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32, releaseCallback releaseCallback: CoreGraphics.CGBitmapContextReleaseDataCallback?, releaseInfo releaseInfo: UnsafeMutableRawPointer?) init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32) var data: UnsafeMutableRawPointer? { get } var width: Int { get } var height: Int { get } var bitsPerComponent: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var colorSpace: CGColorSpace? { get } var alphaInfo: CGImageAlphaInfo { get } var bitmapInfo: CGBitmapInfo { get } func makeImage() -> CGImage? } extension CGContext { class var typeID: CFTypeID { get } func saveGState() func restoreGState() func scaleBy(x sx: CGFloat, y sy: CGFloat) func translateBy(x tx: CGFloat, y ty: CGFloat) func rotate(by angle: CGFloat) func concatenate(_ transform: CGAffineTransform) var ctm: CGAffineTransform { get } func setLineWidth(_ width: CGFloat) func setLineCap(_ cap: CGLineCap) func setLineJoin(_ join: CGLineJoin) func setMiterLimit(_ limit: CGFloat) func __setLineDash(phase phase: CGFloat, lengths lengths: UnsafePointer<CGFloat>?, count count: Int) func setFlatness(_ flatness: CGFloat) func setAlpha(_ alpha: CGFloat) func setBlendMode(_ mode: CGBlendMode) func beginPath() func __moveTo(x x: CGFloat, y y: CGFloat) func __addLineTo(x x: CGFloat, y y: CGFloat) func __addCurveTo(cp1x cp1x: CGFloat, cp1y cp1y: CGFloat, cp2x cp2x: CGFloat, cp2y cp2y: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func __addQuadCurveTo(cpx cpx: CGFloat, cpy cpy: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func closePath() func addRect(_ rect: CGRect) func __addRects(_ rects: UnsafePointer<CGRect>?, count count: Int) func __addLines(between points: UnsafePointer<CGPoint>?, count count: Int) func addEllipse(in rect: CGRect) func __addArc(centerX x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Int32) func __addArc(x1 x1: CGFloat, y1 y1: CGFloat, x2 x2: CGFloat, y2 y2: CGFloat, radius radius: CGFloat) func addPath(_ path: CGPath) func replacePathWithStrokedPath() var isPathEmpty: Bool { get } var currentPointOfPath: CGPoint { get } var boundingBoxOfPath: CGRect { get } var path: CGPath? { get } func pathContains(_ point: CGPoint, mode mode: CGPathDrawingMode) -> Bool func drawPath(using mode: CGPathDrawingMode) func __fillPath() func __eoFillPath() func strokePath() func fill(_ rect: CGRect) func __fill(_ rects: UnsafePointer<CGRect>?, count count: Int) func stroke(_ rect: CGRect) func stroke(_ rect: CGRect, width width: CGFloat) func clear(_ rect: CGRect) func fillEllipse(in rect: CGRect) func strokeEllipse(in rect: CGRect) func __strokeLineSegments(between points: UnsafePointer<CGPoint>?, count count: Int) func __clip() func __eoClip() func clip(to rect: CGRect, mask mask: CGImage) var boundingBoxOfClipPath: CGRect { get } func clip(to rect: CGRect) func __clip(to rects: UnsafePointer<CGRect>, count count: Int) func setFillColor(_ color: CGColor) func setStrokeColor(_ color: CGColor) func setFillColorSpace(_ space: CGColorSpace) func setStrokeColorSpace(_ space: CGColorSpace) func setFillColor(_ components: UnsafePointer<CGFloat>) func setStrokeColor(_ components: UnsafePointer<CGFloat>) func setFillPattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) func setStrokePattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) func setPatternPhase(_ phase: CGSize) func setFillColor(gray gray: CGFloat, alpha alpha: CGFloat) func setStrokeColor(gray gray: CGFloat, alpha alpha: CGFloat) func setFillColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) func setStrokeColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) func setFillColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) func setStrokeColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) func setRenderingIntent(_ intent: CGColorRenderingIntent) func __draw(in rect: CGRect, image image: CGImage) func __draw(in rect: CGRect, byTiling image: CGImage) var interpolationQuality: CGInterpolationQuality func setShadow(offset offset: CGSize, blur blur: CGFloat, color color: CGColor?) func setShadow(offset offset: CGSize, blur blur: CGFloat) func drawLinearGradient(_ gradient: CGGradient, start startPoint: CGPoint, end endPoint: CGPoint, options options: CGGradientDrawingOptions) func drawRadialGradient(_ gradient: CGGradient, startCenter startCenter: CGPoint, startRadius startRadius: CGFloat, endCenter endCenter: CGPoint, endRadius endRadius: CGFloat, options options: CGGradientDrawingOptions) func drawShading(_ shading: CGShading) func setCharacterSpacing(_ spacing: CGFloat) func __setTextPosition(x x: CGFloat, y y: CGFloat) var __textPosition: CGPoint { get } var textMatrix: CGAffineTransform func setTextDrawingMode(_ mode: CGTextDrawingMode) func setFont(_ font: CGFont) func setFontSize(_ size: CGFloat) func __showGlyphs(_ glyphs: UnsafePointer<CGGlyph>, atPositions Lpositions: UnsafePointer<CGPoint>, count count: Int) func drawPDFPage(_ page: CGPDFPage) func beginPage(mediaBox mediaBox: UnsafePointer<CGRect>?) func endPage() func flush() func synchronize() func setShouldAntialias(_ shouldAntialias: Bool) func setAllowsAntialiasing(_ allowsAntialiasing: Bool) func setShouldSmoothFonts(_ shouldSmoothFonts: Bool) func setAllowsFontSmoothing(_ allowsFontSmoothing: Bool) func setShouldSubpixelPositionFonts(_ shouldSubpixelPositionFonts: Bool) func setAllowsFontSubpixelPositioning(_ allowsFontSubpixelPositioning: Bool) func setShouldSubpixelQuantizeFonts(_ shouldSubpixelQuantizeFonts: Bool) func setAllowsFontSubpixelQuantization(_ allowsFontSubpixelQuantization: Bool) func beginTransparencyLayer(auxiliaryInfo auxiliaryInfo: CFDictionary?) func beginTransparencyLayer(in rect: CGRect, auxiliaryInfo auxInfo: CFDictionary?) func endTransparencyLayer() var userSpaceToDeviceSpaceTransform: CGAffineTransform { get } func convertToDeviceSpace(_ point: CGPoint) -> CGPoint func convertToUserSpace(_ point: CGPoint) -> CGPoint func convertToDeviceSpace(_ size: CGSize) -> CGSize func convertToUserSpace(_ size: CGSize) -> CGSize func convertToDeviceSpace(_ rect: CGRect) -> CGRect func convertToUserSpace(_ rect: CGRect) -> CGRect func selectFont(name name: UnsafePointer<Int8>, size size: CGFloat, textEncoding textEncoding: CGTextEncoding) func showText(string string: UnsafePointer<Int8>, length length: Int) func showTextAtPoint(x x: CGFloat, y y: CGFloat, string string: UnsafePointer<Int8>, length length: Int) func showGlyphs(g g: UnsafePointer<CGGlyph>?, count count: Int) func showGlyphsAtPoint(x x: CGFloat, y y: CGFloat, glyphs glyphs: UnsafePointer<CGGlyph>?, count count: Int) func showGlyphsWithAdvances(glyphs glyphs: UnsafePointer<CGGlyph>?, advances advances: UnsafePointer<CGSize>?, count count: Int) func drawPDFDocument(_ rect: CGRect, document document: CGPDFDocument, page page: Int32) } extension CGContext { func __draw(in rect: CGRect, layer layer: CGLayer) func __draw(at point: CGPoint, layer layer: CGLayer) } extension CGContext { init?(consumer consumer: CGDataConsumer, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) init?(_ url: CFURL, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) func closePDF() func beginPDFPage(_ pageInfo: CFDictionary?) func endPDFPage() func addDocumentMetadata(_ metadata: CFData?) func setURL(_ url: CFURL, for rect: CGRect) func addDestination(_ name: CFString, at point: CGPoint) func setDestination(_ name: CFString, for rect: CGRect) } extension CGContext { func draw(_ layer: CGLayer, in rect: CGRect) func draw(_ layer: CGLayer, at point: CGPoint) } extension CGContext { func setLineDash(phase phase: CGFloat, lengths lengths: [CGFloat]) func move(to point: CGPoint) func addLine(to point: CGPoint) func addCurve(to end: CGPoint, control1 control1: CGPoint, control2 control2: CGPoint) func addQuadCurve(to end: CGPoint, control control: CGPoint) func addRects(_ rects: [CGRect]) func addLines(between points: [CGPoint]) func addArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func addArc(tangent1End tangent1End: CGPoint, tangent2End tangent2End: CGPoint, radius radius: CGFloat) func fillPath(using rule: CGPathFillRule = default) func clip(using rule: CGPathFillRule = default) func fill(_ rects: [CGRect]) func strokeLineSegments(between points: [CGPoint]) func clip(to rects: [CGRect]) func draw(_ image: CGImage, in rect: CGRect, byTiling byTiling: Bool = default) var textPosition: CGPoint func showGlyphs(_ glyphs: [CGGlyph], at positions: [CGPoint]) } |
Name | Declaration | |
---|---|---|
From | CGPDFContextAddDestinationAtPoint(_:_:_:) | func CGPDFContextAddDestinationAtPoint(_ context: CGContext?, _ name: CFString, _ point: CGPoint) |
To | addDestination(_:at:) | func addDestination(_ name: CFString, at point: CGPoint) |
Name | Declaration | |
---|---|---|
From | CGPDFContextAddDocumentMetadata(_:_:) | func CGPDFContextAddDocumentMetadata(_ context: CGContext?, _ metadata: CFData?) |
To | addDocumentMetadata(_:) | func addDocumentMetadata(_ metadata: CFData?) |
Modified CGContext.addEllipse(in: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextAddEllipseInRect(_:_:) | func CGContextAddEllipseInRect(_ c: CGContext?, _ rect: CGRect) |
To | addEllipse(in:) | func addEllipse(in rect: CGRect) |
Modified CGContext.addPath(_: CGPath)
Name | Declaration | |
---|---|---|
From | CGContextAddPath(_:_:) | func CGContextAddPath(_ c: CGContext?, _ path: CGPath?) |
To | addPath(_:) | func addPath(_ path: CGPath) |
Modified CGContext.addRect(_: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextAddRect(_:_:) | func CGContextAddRect(_ c: CGContext?, _ rect: CGRect) |
To | addRect(_:) | func addRect(_ rect: CGRect) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetAlphaInfo(_:) | func CGBitmapContextGetAlphaInfo(_ context: CGContext?) -> CGImageAlphaInfo | -- |
To | alphaInfo | var alphaInfo: CGImageAlphaInfo { get } | yes |
Name | Declaration | |
---|---|---|
From | CGContextBeginPage(_:_:) | func CGContextBeginPage(_ c: CGContext?, _ mediaBox: UnsafePointer<CGRect>) |
To | beginPage(mediaBox:) | func beginPage(mediaBox mediaBox: UnsafePointer<CGRect>?) |
Modified CGContext.beginPath()
Name | Declaration | |
---|---|---|
From | CGContextBeginPath(_:) | func CGContextBeginPath(_ c: CGContext?) |
To | beginPath() | func beginPath() |
Name | Declaration | |
---|---|---|
From | CGPDFContextBeginPage(_:_:) | func CGPDFContextBeginPage(_ context: CGContext?, _ pageInfo: CFDictionary?) |
To | beginPDFPage(_:) | func beginPDFPage(_ pageInfo: CFDictionary?) |
Name | Declaration | |
---|---|---|
From | CGContextBeginTransparencyLayer(_:_:) | func CGContextBeginTransparencyLayer(_ c: CGContext?, _ auxiliaryInfo: CFDictionary?) |
To | beginTransparencyLayer(auxiliaryInfo:) | func beginTransparencyLayer(auxiliaryInfo auxiliaryInfo: CFDictionary?) |
Name | Declaration | |
---|---|---|
From | CGContextBeginTransparencyLayerWithRect(_:_:_:) | func CGContextBeginTransparencyLayerWithRect(_ c: CGContext?, _ rect: CGRect, _ auxInfo: CFDictionary?) |
To | beginTransparencyLayer(in:auxiliaryInfo:) | func beginTransparencyLayer(in rect: CGRect, auxiliaryInfo auxInfo: CFDictionary?) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetBitmapInfo(_:) | func CGBitmapContextGetBitmapInfo(_ context: CGContext?) -> CGBitmapInfo | -- |
To | bitmapInfo | var bitmapInfo: CGBitmapInfo { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetBitsPerComponent(_:) | func CGBitmapContextGetBitsPerComponent(_ context: CGContext?) -> Int | -- |
To | bitsPerComponent | var bitsPerComponent: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetBitsPerPixel(_:) | func CGBitmapContextGetBitsPerPixel(_ context: CGContext?) -> Int | -- |
To | bitsPerPixel | var bitsPerPixel: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextGetClipBoundingBox(_:) | func CGContextGetClipBoundingBox(_ c: CGContext?) -> CGRect | -- |
To | boundingBoxOfClipPath | var boundingBoxOfClipPath: CGRect { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextGetPathBoundingBox(_:) | func CGContextGetPathBoundingBox(_ c: CGContext?) -> CGRect | -- |
To | boundingBoxOfPath | var boundingBoxOfPath: CGRect { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetBytesPerRow(_:) | func CGBitmapContextGetBytesPerRow(_ context: CGContext?) -> Int | -- |
To | bytesPerRow | var bytesPerRow: Int { get } | yes |
Modified CGContext.clear(_: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextClearRect(_:_:) | func CGContextClearRect(_ c: CGContext?, _ rect: CGRect) |
To | clear(_:) | func clear(_ rect: CGRect) |
Modified CGContext.clip(to: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextClipToRect(_:_:) | func CGContextClipToRect(_ c: CGContext?, _ rect: CGRect) |
To | clip(to:) | func clip(to rect: CGRect) |
Name | Declaration | |
---|---|---|
From | CGContextClipToMask(_:_:_:) | func CGContextClipToMask(_ c: CGContext?, _ rect: CGRect, _ mask: CGImage?) |
To | clip(to:mask:) | func clip(to rect: CGRect, mask mask: CGImage) |
Modified CGContext.closePath()
Name | Declaration | |
---|---|---|
From | CGContextClosePath(_:) | func CGContextClosePath(_ c: CGContext?) |
To | closePath() | func closePath() |
Modified CGContext.closePDF()
Name | Declaration | |
---|---|---|
From | CGPDFContextClose(_:) | func CGPDFContextClose(_ context: CGContext?) |
To | closePDF() | func closePDF() |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetColorSpace(_:) | func CGBitmapContextGetColorSpace(_ context: CGContext?) -> CGColorSpace? | -- |
To | colorSpace | var colorSpace: CGColorSpace? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGContextConcatCTM(_:_:) | func CGContextConcatCTM(_ c: CGContext?, _ transform: CGAffineTransform) |
To | concatenate(_:) | func concatenate(_ transform: CGAffineTransform) |
Name | Declaration | |
---|---|---|
From | CGContextConvertRectToDeviceSpace(_:_:) | func CGContextConvertRectToDeviceSpace(_ c: CGContext?, _ rect: CGRect) -> CGRect |
To | convertToDeviceSpace(_:) | func convertToDeviceSpace(_ rect: CGRect) -> CGRect |
Name | Declaration | |
---|---|---|
From | CGContextConvertSizeToDeviceSpace(_:_:) | func CGContextConvertSizeToDeviceSpace(_ c: CGContext?, _ size: CGSize) -> CGSize |
To | convertToDeviceSpace(_:) | func convertToDeviceSpace(_ size: CGSize) -> CGSize |
Name | Declaration | |
---|---|---|
From | CGContextConvertPointToDeviceSpace(_:_:) | func CGContextConvertPointToDeviceSpace(_ c: CGContext?, _ point: CGPoint) -> CGPoint |
To | convertToDeviceSpace(_:) | func convertToDeviceSpace(_ point: CGPoint) -> CGPoint |
Name | Declaration | |
---|---|---|
From | CGContextConvertRectToUserSpace(_:_:) | func CGContextConvertRectToUserSpace(_ c: CGContext?, _ rect: CGRect) -> CGRect |
To | convertToUserSpace(_:) | func convertToUserSpace(_ rect: CGRect) -> CGRect |
Name | Declaration | |
---|---|---|
From | CGContextConvertSizeToUserSpace(_:_:) | func CGContextConvertSizeToUserSpace(_ c: CGContext?, _ size: CGSize) -> CGSize |
To | convertToUserSpace(_:) | func convertToUserSpace(_ size: CGSize) -> CGSize |
Name | Declaration | |
---|---|---|
From | CGContextConvertPointToUserSpace(_:_:) | func CGContextConvertPointToUserSpace(_ c: CGContext?, _ point: CGPoint) -> CGPoint |
To | convertToUserSpace(_:) | func convertToUserSpace(_ point: CGPoint) -> CGPoint |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextGetCTM(_:) | func CGContextGetCTM(_ c: CGContext?) -> CGAffineTransform | -- |
To | ctm | var ctm: CGAffineTransform { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextGetPathCurrentPoint(_:) | func CGContextGetPathCurrentPoint(_ c: CGContext?) -> CGPoint | -- |
To | currentPointOfPath | var currentPointOfPath: CGPoint { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetData(_:) | func CGBitmapContextGetData(_ context: CGContext?) -> UnsafeMutablePointer<Void> | -- |
To | data | var data: UnsafeMutableRawPointer? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGContextDrawLinearGradient(_:_:_:_:_:) | func CGContextDrawLinearGradient(_ c: CGContext?, _ gradient: CGGradient?, _ startPoint: CGPoint, _ endPoint: CGPoint, _ options: CGGradientDrawingOptions) |
To | drawLinearGradient(_:start:end:options:) | func drawLinearGradient(_ gradient: CGGradient, start startPoint: CGPoint, end endPoint: CGPoint, options options: CGGradientDrawingOptions) |
Name | Declaration | |
---|---|---|
From | CGContextDrawPath(_:_:) | func CGContextDrawPath(_ c: CGContext?, _ mode: CGPathDrawingMode) |
To | drawPath(using:) | func drawPath(using mode: CGPathDrawingMode) |
Modified CGContext.drawPDFPage(_: CGPDFPage)
Name | Declaration | |
---|---|---|
From | CGContextDrawPDFPage(_:_:) | func CGContextDrawPDFPage(_ c: CGContext?, _ page: CGPDFPage?) |
To | drawPDFPage(_:) | func drawPDFPage(_ page: CGPDFPage) |
Name | Declaration | |
---|---|---|
From | CGContextDrawRadialGradient(_:_:_:_:_:_:_:) | func CGContextDrawRadialGradient(_ c: CGContext?, _ gradient: CGGradient?, _ startCenter: CGPoint, _ startRadius: CGFloat, _ endCenter: CGPoint, _ endRadius: CGFloat, _ options: CGGradientDrawingOptions) |
To | drawRadialGradient(_:startCenter:startRadius:endCenter:endRadius:options:) | func drawRadialGradient(_ gradient: CGGradient, startCenter startCenter: CGPoint, startRadius startRadius: CGFloat, endCenter endCenter: CGPoint, endRadius endRadius: CGFloat, options options: CGGradientDrawingOptions) |
Modified CGContext.drawShading(_: CGShading)
Name | Declaration | |
---|---|---|
From | CGContextDrawShading(_:_:) | func CGContextDrawShading(_ c: CGContext?, _ shading: CGShading?) |
To | drawShading(_:) | func drawShading(_ shading: CGShading) |
Modified CGContext.endPage()
Name | Declaration | |
---|---|---|
From | CGContextEndPage(_:) | func CGContextEndPage(_ c: CGContext?) |
To | endPage() | func endPage() |
Modified CGContext.endPDFPage()
Name | Declaration | |
---|---|---|
From | CGPDFContextEndPage(_:) | func CGPDFContextEndPage(_ context: CGContext?) |
To | endPDFPage() | func endPDFPage() |
Modified CGContext.endTransparencyLayer()
Name | Declaration | |
---|---|---|
From | CGContextEndTransparencyLayer(_:) | func CGContextEndTransparencyLayer(_ c: CGContext?) |
To | endTransparencyLayer() | func endTransparencyLayer() |
Modified CGContext.fill(_: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextFillRect(_:_:) | func CGContextFillRect(_ c: CGContext?, _ rect: CGRect) |
To | fill(_:) | func fill(_ rect: CGRect) |
Modified CGContext.fillEllipse(in: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextFillEllipseInRect(_:_:) | func CGContextFillEllipseInRect(_ c: CGContext?, _ rect: CGRect) |
To | fillEllipse(in:) | func fillEllipse(in rect: CGRect) |
Modified CGContext.flush()
Name | Declaration | |
---|---|---|
From | CGContextFlush(_:) | func CGContextFlush(_ c: CGContext?) |
To | flush() | func flush() |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetHeight(_:) | func CGBitmapContextGetHeight(_ context: CGContext?) -> Int | -- |
To | height | var height: Int { get } | yes |
Name | Declaration | |
---|---|---|
From | CGPDFContextCreateWithURL(_:_:_:) | func CGPDFContextCreateWithURL(_ url: CFURL?, _ mediaBox: UnsafePointer<CGRect>, _ auxiliaryInfo: CFDictionary?) -> CGContext? |
To | init(_:mediaBox:_:) | init?(_ url: CFURL, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) |
Modified CGContext.init(consumer: CGDataConsumer, mediaBox: UnsafePointer<CGRect>?, _: CFDictionary?)
Name | Declaration | |
---|---|---|
From | CGPDFContextCreate(_:_:_:) | func CGPDFContextCreate(_ consumer: CGDataConsumer?, _ mediaBox: UnsafePointer<CGRect>, _ auxiliaryInfo: CFDictionary?) -> CGContext? |
To | init(consumer:mediaBox:_:) | init?(consumer consumer: CGDataConsumer, mediaBox mediaBox: UnsafePointer<CGRect>?, _ auxiliaryInfo: CFDictionary?) |
Name | Declaration | |
---|---|---|
From | CGBitmapContextCreate(_:_:_:_:_:_:_:) | func CGBitmapContextCreate(_ data: UnsafeMutablePointer<Void>, _ width: Int, _ height: Int, _ bitsPerComponent: Int, _ bytesPerRow: Int, _ space: CGColorSpace?, _ bitmapInfo: UInt32) -> CGContext? |
To | init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:) | init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32) |
Name | Declaration | |
---|---|---|
From | CGBitmapContextCreateWithData(_:_:_:_:_:_:_:_:_:) | func CGBitmapContextCreateWithData(_ data: UnsafeMutablePointer<Void>, _ width: Int, _ height: Int, _ bitsPerComponent: Int, _ bytesPerRow: Int, _ space: CGColorSpace?, _ bitmapInfo: UInt32, _ releaseCallback: CGBitmapContextReleaseDataCallback?, _ releaseInfo: UnsafeMutablePointer<Void>) -> CGContext? |
To | init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:releaseCallback:releaseInfo:) | init?(data data: UnsafeMutableRawPointer?, width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: UInt32, releaseCallback releaseCallback: CoreGraphics.CGBitmapContextReleaseDataCallback?, releaseInfo releaseInfo: UnsafeMutableRawPointer?) |
Name | Declaration | |
---|---|---|
From | CGContextGetInterpolationQuality(_:) | func CGContextGetInterpolationQuality(_ c: CGContext?) -> CGInterpolationQuality |
To | interpolationQuality | var interpolationQuality: CGInterpolationQuality |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextIsPathEmpty(_:) | func CGContextIsPathEmpty(_ c: CGContext?) -> Bool | -- |
To | isPathEmpty | var isPathEmpty: Bool { get } | yes |
Modified CGContext.makeImage() -> CGImage?
Name | Declaration | |
---|---|---|
From | CGBitmapContextCreateImage(_:) | func CGBitmapContextCreateImage(_ context: CGContext?) -> CGImage? |
To | makeImage() | func makeImage() -> CGImage? |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGContextCopyPath(_:) | func CGContextCopyPath(_ c: CGContext?) -> CGPath? | tvOS 9.0 | -- |
To | path | var path: CGPath? { get } | tvOS 10.0 | yes |
Name | Declaration | |
---|---|---|
From | CGContextPathContainsPoint(_:_:_:) | func CGContextPathContainsPoint(_ c: CGContext?, _ point: CGPoint, _ mode: CGPathDrawingMode) -> Bool |
To | pathContains(_:mode:) | func pathContains(_ point: CGPoint, mode mode: CGPathDrawingMode) -> Bool |
Name | Declaration | |
---|---|---|
From | CGContextReplacePathWithStrokedPath(_:) | func CGContextReplacePathWithStrokedPath(_ c: CGContext?) |
To | replacePathWithStrokedPath() | func replacePathWithStrokedPath() |
Modified CGContext.restoreGState()
Name | Declaration | |
---|---|---|
From | CGContextRestoreGState(_:) | func CGContextRestoreGState(_ c: CGContext?) |
To | restoreGState() | func restoreGState() |
Modified CGContext.rotate(by: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextRotateCTM(_:_:) | func CGContextRotateCTM(_ c: CGContext?, _ angle: CGFloat) |
To | rotate(by:) | func rotate(by angle: CGFloat) |
Modified CGContext.saveGState()
Name | Declaration | |
---|---|---|
From | CGContextSaveGState(_:) | func CGContextSaveGState(_ c: CGContext?) |
To | saveGState() | func saveGState() |
Name | Declaration | |
---|---|---|
From | CGContextScaleCTM(_:_:_:) | func CGContextScaleCTM(_ c: CGContext?, _ sx: CGFloat, _ sy: CGFloat) |
To | scaleBy(x:y:) | func scaleBy(x sx: CGFloat, y sy: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetAllowsAntialiasing(_:_:) | func CGContextSetAllowsAntialiasing(_ c: CGContext?, _ allowsAntialiasing: Bool) |
To | setAllowsAntialiasing(_:) | func setAllowsAntialiasing(_ allowsAntialiasing: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetAllowsFontSmoothing(_:_:) | func CGContextSetAllowsFontSmoothing(_ c: CGContext?, _ allowsFontSmoothing: Bool) |
To | setAllowsFontSmoothing(_:) | func setAllowsFontSmoothing(_ allowsFontSmoothing: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetAllowsFontSubpixelPositioning(_:_:) | func CGContextSetAllowsFontSubpixelPositioning(_ c: CGContext?, _ allowsFontSubpixelPositioning: Bool) |
To | setAllowsFontSubpixelPositioning(_:) | func setAllowsFontSubpixelPositioning(_ allowsFontSubpixelPositioning: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetAllowsFontSubpixelQuantization(_:_:) | func CGContextSetAllowsFontSubpixelQuantization(_ c: CGContext?, _ allowsFontSubpixelQuantization: Bool) |
To | setAllowsFontSubpixelQuantization(_:) | func setAllowsFontSubpixelQuantization(_ allowsFontSubpixelQuantization: Bool) |
Modified CGContext.setAlpha(_: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextSetAlpha(_:_:) | func CGContextSetAlpha(_ c: CGContext?, _ alpha: CGFloat) |
To | setAlpha(_:) | func setAlpha(_ alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetBlendMode(_:_:) | func CGContextSetBlendMode(_ c: CGContext?, _ mode: CGBlendMode) |
To | setBlendMode(_:) | func setBlendMode(_ mode: CGBlendMode) |
Name | Declaration | |
---|---|---|
From | CGContextSetCharacterSpacing(_:_:) | func CGContextSetCharacterSpacing(_ c: CGContext?, _ spacing: CGFloat) |
To | setCharacterSpacing(_:) | func setCharacterSpacing(_ spacing: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGPDFContextSetDestinationForRect(_:_:_:) | func CGPDFContextSetDestinationForRect(_ context: CGContext?, _ name: CFString, _ rect: CGRect) |
To | setDestination(_:for:) | func setDestination(_ name: CFString, for rect: CGRect) |
Modified CGContext.setFillColor(_: CGColor)
Name | Declaration | |
---|---|---|
From | CGContextSetFillColorWithColor(_:_:) | func CGContextSetFillColorWithColor(_ c: CGContext?, _ color: CGColor?) |
To | setFillColor(_:) | func setFillColor(_ color: CGColor) |
Name | Declaration | |
---|---|---|
From | CGContextSetFillColor(_:_:) | func CGContextSetFillColor(_ c: CGContext?, _ components: UnsafePointer<CGFloat>) |
To | setFillColor(_:) | func setFillColor(_ components: UnsafePointer<CGFloat>) |
Name | Declaration | |
---|---|---|
From | CGContextSetCMYKFillColor(_:_:_:_:_:_:) | func CGContextSetCMYKFillColor(_ c: CGContext?, _ cyan: CGFloat, _ magenta: CGFloat, _ yellow: CGFloat, _ black: CGFloat, _ alpha: CGFloat) |
To | setFillColor(cyan:magenta:yellow:black:alpha:) | func setFillColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetGrayFillColor(_:_:_:) | func CGContextSetGrayFillColor(_ c: CGContext?, _ gray: CGFloat, _ alpha: CGFloat) |
To | setFillColor(gray:alpha:) | func setFillColor(gray gray: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetRGBFillColor(_:_:_:_:_:) | func CGContextSetRGBFillColor(_ c: CGContext?, _ red: CGFloat, _ green: CGFloat, _ blue: CGFloat, _ alpha: CGFloat) |
To | setFillColor(red:green:blue:alpha:) | func setFillColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetFillColorSpace(_:_:) | func CGContextSetFillColorSpace(_ c: CGContext?, _ space: CGColorSpace?) |
To | setFillColorSpace(_:) | func setFillColorSpace(_ space: CGColorSpace) |
Name | Declaration | |
---|---|---|
From | CGContextSetFillPattern(_:_:_:) | func CGContextSetFillPattern(_ c: CGContext?, _ pattern: CGPattern?, _ components: UnsafePointer<CGFloat>) |
To | setFillPattern(_:colorComponents:) | func setFillPattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) |
Modified CGContext.setFlatness(_: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextSetFlatness(_:_:) | func CGContextSetFlatness(_ c: CGContext?, _ flatness: CGFloat) |
To | setFlatness(_:) | func setFlatness(_ flatness: CGFloat) |
Modified CGContext.setFont(_: CGFont)
Name | Declaration | |
---|---|---|
From | CGContextSetFont(_:_:) | func CGContextSetFont(_ c: CGContext?, _ font: CGFont?) |
To | setFont(_:) | func setFont(_ font: CGFont) |
Modified CGContext.setFontSize(_: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextSetFontSize(_:_:) | func CGContextSetFontSize(_ c: CGContext?, _ size: CGFloat) |
To | setFontSize(_:) | func setFontSize(_ size: CGFloat) |
Modified CGContext.setLineCap(_: CGLineCap)
Name | Declaration | |
---|---|---|
From | CGContextSetLineCap(_:_:) | func CGContextSetLineCap(_ c: CGContext?, _ cap: CGLineCap) |
To | setLineCap(_:) | func setLineCap(_ cap: CGLineCap) |
Modified CGContext.setLineJoin(_: CGLineJoin)
Name | Declaration | |
---|---|---|
From | CGContextSetLineJoin(_:_:) | func CGContextSetLineJoin(_ c: CGContext?, _ join: CGLineJoin) |
To | setLineJoin(_:) | func setLineJoin(_ join: CGLineJoin) |
Modified CGContext.setLineWidth(_: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextSetLineWidth(_:_:) | func CGContextSetLineWidth(_ c: CGContext?, _ width: CGFloat) |
To | setLineWidth(_:) | func setLineWidth(_ width: CGFloat) |
Modified CGContext.setMiterLimit(_: CGFloat)
Name | Declaration | |
---|---|---|
From | CGContextSetMiterLimit(_:_:) | func CGContextSetMiterLimit(_ c: CGContext?, _ limit: CGFloat) |
To | setMiterLimit(_:) | func setMiterLimit(_ limit: CGFloat) |
Modified CGContext.setPatternPhase(_: CGSize)
Name | Declaration | |
---|---|---|
From | CGContextSetPatternPhase(_:_:) | func CGContextSetPatternPhase(_ c: CGContext?, _ phase: CGSize) |
To | setPatternPhase(_:) | func setPatternPhase(_ phase: CGSize) |
Name | Declaration | |
---|---|---|
From | CGContextSetRenderingIntent(_:_:) | func CGContextSetRenderingIntent(_ c: CGContext?, _ intent: CGColorRenderingIntent) |
To | setRenderingIntent(_:) | func setRenderingIntent(_ intent: CGColorRenderingIntent) |
Name | Declaration | |
---|---|---|
From | CGContextSetShadow(_:_:_:) | func CGContextSetShadow(_ c: CGContext?, _ offset: CGSize, _ blur: CGFloat) |
To | setShadow(offset:blur:) | func setShadow(offset offset: CGSize, blur blur: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetShadowWithColor(_:_:_:_:) | func CGContextSetShadowWithColor(_ c: CGContext?, _ offset: CGSize, _ blur: CGFloat, _ color: CGColor?) |
To | setShadow(offset:blur:color:) | func setShadow(offset offset: CGSize, blur blur: CGFloat, color color: CGColor?) |
Name | Declaration | |
---|---|---|
From | CGContextSetShouldAntialias(_:_:) | func CGContextSetShouldAntialias(_ c: CGContext?, _ shouldAntialias: Bool) |
To | setShouldAntialias(_:) | func setShouldAntialias(_ shouldAntialias: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetShouldSmoothFonts(_:_:) | func CGContextSetShouldSmoothFonts(_ c: CGContext?, _ shouldSmoothFonts: Bool) |
To | setShouldSmoothFonts(_:) | func setShouldSmoothFonts(_ shouldSmoothFonts: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetShouldSubpixelPositionFonts(_:_:) | func CGContextSetShouldSubpixelPositionFonts(_ c: CGContext?, _ shouldSubpixelPositionFonts: Bool) |
To | setShouldSubpixelPositionFonts(_:) | func setShouldSubpixelPositionFonts(_ shouldSubpixelPositionFonts: Bool) |
Name | Declaration | |
---|---|---|
From | CGContextSetShouldSubpixelQuantizeFonts(_:_:) | func CGContextSetShouldSubpixelQuantizeFonts(_ c: CGContext?, _ shouldSubpixelQuantizeFonts: Bool) |
To | setShouldSubpixelQuantizeFonts(_:) | func setShouldSubpixelQuantizeFonts(_ shouldSubpixelQuantizeFonts: Bool) |
Modified CGContext.setStrokeColor(_: CGColor)
Name | Declaration | |
---|---|---|
From | CGContextSetStrokeColorWithColor(_:_:) | func CGContextSetStrokeColorWithColor(_ c: CGContext?, _ color: CGColor?) |
To | setStrokeColor(_:) | func setStrokeColor(_ color: CGColor) |
Name | Declaration | |
---|---|---|
From | CGContextSetStrokeColor(_:_:) | func CGContextSetStrokeColor(_ c: CGContext?, _ components: UnsafePointer<CGFloat>) |
To | setStrokeColor(_:) | func setStrokeColor(_ components: UnsafePointer<CGFloat>) |
Name | Declaration | |
---|---|---|
From | CGContextSetCMYKStrokeColor(_:_:_:_:_:_:) | func CGContextSetCMYKStrokeColor(_ c: CGContext?, _ cyan: CGFloat, _ magenta: CGFloat, _ yellow: CGFloat, _ black: CGFloat, _ alpha: CGFloat) |
To | setStrokeColor(cyan:magenta:yellow:black:alpha:) | func setStrokeColor(cyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetGrayStrokeColor(_:_:_:) | func CGContextSetGrayStrokeColor(_ c: CGContext?, _ gray: CGFloat, _ alpha: CGFloat) |
To | setStrokeColor(gray:alpha:) | func setStrokeColor(gray gray: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetRGBStrokeColor(_:_:_:_:_:) | func CGContextSetRGBStrokeColor(_ c: CGContext?, _ red: CGFloat, _ green: CGFloat, _ blue: CGFloat, _ alpha: CGFloat) |
To | setStrokeColor(red:green:blue:alpha:) | func setStrokeColor(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextSetStrokeColorSpace(_:_:) | func CGContextSetStrokeColorSpace(_ c: CGContext?, _ space: CGColorSpace?) |
To | setStrokeColorSpace(_:) | func setStrokeColorSpace(_ space: CGColorSpace) |
Name | Declaration | |
---|---|---|
From | CGContextSetStrokePattern(_:_:_:) | func CGContextSetStrokePattern(_ c: CGContext?, _ pattern: CGPattern?, _ components: UnsafePointer<CGFloat>) |
To | setStrokePattern(_:colorComponents:) | func setStrokePattern(_ pattern: CGPattern, colorComponents components: UnsafePointer<CGFloat>) |
Name | Declaration | |
---|---|---|
From | CGContextSetTextDrawingMode(_:_:) | func CGContextSetTextDrawingMode(_ c: CGContext?, _ mode: CGTextDrawingMode) |
To | setTextDrawingMode(_:) | func setTextDrawingMode(_ mode: CGTextDrawingMode) |
Name | Declaration | |
---|---|---|
From | CGPDFContextSetURLForRect(_:_:_:) | func CGPDFContextSetURLForRect(_ context: CGContext?, _ url: CFURL, _ rect: CGRect) |
To | setURL(_:for:) | func setURL(_ url: CFURL, for rect: CGRect) |
Modified CGContext.stroke(_: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextStrokeRect(_:_:) | func CGContextStrokeRect(_ c: CGContext?, _ rect: CGRect) |
To | stroke(_:) | func stroke(_ rect: CGRect) |
Name | Declaration | |
---|---|---|
From | CGContextStrokeRectWithWidth(_:_:_:) | func CGContextStrokeRectWithWidth(_ c: CGContext?, _ rect: CGRect, _ width: CGFloat) |
To | stroke(_:width:) | func stroke(_ rect: CGRect, width width: CGFloat) |
Modified CGContext.strokeEllipse(in: CGRect)
Name | Declaration | |
---|---|---|
From | CGContextStrokeEllipseInRect(_:_:) | func CGContextStrokeEllipseInRect(_ c: CGContext?, _ rect: CGRect) |
To | strokeEllipse(in:) | func strokeEllipse(in rect: CGRect) |
Modified CGContext.strokePath()
Name | Declaration | |
---|---|---|
From | CGContextStrokePath(_:) | func CGContextStrokePath(_ c: CGContext?) |
To | strokePath() | func strokePath() |
Modified CGContext.synchronize()
Name | Declaration | |
---|---|---|
From | CGContextSynchronize(_:) | func CGContextSynchronize(_ c: CGContext?) |
To | synchronize() | func synchronize() |
Name | Declaration | |
---|---|---|
From | CGContextGetTextMatrix(_:) | func CGContextGetTextMatrix(_ c: CGContext?) -> CGAffineTransform |
To | textMatrix | var textMatrix: CGAffineTransform |
Name | Declaration | |
---|---|---|
From | CGContextTranslateCTM(_:_:_:) | func CGContextTranslateCTM(_ c: CGContext?, _ tx: CGFloat, _ ty: CGFloat) |
To | translateBy(x:y:) | func translateBy(x tx: CGFloat, y ty: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGContextGetTypeID() | func CGContextGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGContextGetUserSpaceToDeviceSpaceTransform(_:) | func CGContextGetUserSpaceToDeviceSpaceTransform(_ c: CGContext?) -> CGAffineTransform | -- |
To | userSpaceToDeviceSpaceTransform | var userSpaceToDeviceSpaceTransform: CGAffineTransform { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGBitmapContextGetWidth(_:) | func CGBitmapContextGetWidth(_ context: CGContext?) -> Int | -- |
To | width | var width: Int { get } | yes |
Modified CGDataConsumer
Declaration | |
---|---|
From | class CGDataConsumer { } |
To | class CGDataConsumer { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, cbks cbks: UnsafePointer<CGDataConsumerCallbacks>) init?(url url: CFURL) init?(data data: CFMutableData) } extension CGDataConsumer { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, cbks cbks: UnsafePointer<CGDataConsumerCallbacks>) init?(url url: CFURL) init?(data data: CFMutableData) } |
Name | Declaration | |
---|---|---|
From | CGDataConsumerCreateWithCFData(_:) | func CGDataConsumerCreateWithCFData(_ data: CFMutableData?) -> CGDataConsumer? |
To | init(data:) | init?(data data: CFMutableData) |
Modified CGDataConsumer.init(info: UnsafeMutableRawPointer?, cbks: UnsafePointer<CGDataConsumerCallbacks>)
Name | Declaration | |
---|---|---|
From | CGDataConsumerCreate(_:_:) | func CGDataConsumerCreate(_ info: UnsafeMutablePointer<Void>, _ cbks: UnsafePointer<CGDataConsumerCallbacks>) -> CGDataConsumer? |
To | init(info:cbks:) | init?(info info: UnsafeMutableRawPointer?, cbks cbks: UnsafePointer<CGDataConsumerCallbacks>) |
Modified CGDataConsumer.init(url: CFURL)
Name | Declaration | |
---|---|---|
From | CGDataConsumerCreateWithURL(_:) | func CGDataConsumerCreateWithURL(_ url: CFURL?) -> CGDataConsumer? |
To | init(url:) | init?(url url: CFURL) |
Name | Declaration | |
---|---|---|
From | CGDataConsumerGetTypeID() | func CGDataConsumerGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGDataConsumerCallbacks [struct]
Declaration | |
---|---|
From | struct CGDataConsumerCallbacks { var putBytes: CGDataConsumerPutBytesCallback? var releaseConsumer: CGDataConsumerReleaseInfoCallback? init() init(putBytes putBytes: CGDataConsumerPutBytesCallback?, releaseConsumer releaseConsumer: CGDataConsumerReleaseInfoCallback?) } |
To | struct CGDataConsumerCallbacks { var putBytes: CoreGraphics.CGDataConsumerPutBytesCallback? var releaseConsumer: CoreGraphics.CGDataConsumerReleaseInfoCallback? init() init(putBytes putBytes: CoreGraphics.CGDataConsumerPutBytesCallback?, releaseConsumer releaseConsumer: CoreGraphics.CGDataConsumerReleaseInfoCallback?) } |
Modified CGDataConsumerCallbacks.putBytes
Declaration | |
---|---|
From | var putBytes: CGDataConsumerPutBytesCallback? |
To | var putBytes: CoreGraphics.CGDataConsumerPutBytesCallback? |
Declaration | |
---|---|
From | var releaseConsumer: CGDataConsumerReleaseInfoCallback? |
To | var releaseConsumer: CoreGraphics.CGDataConsumerReleaseInfoCallback? |
Modified CGDataProvider
Declaration | |
---|---|
From | class CGDataProvider { } |
To | class CGDataProvider { class var typeID: CFTypeID { get } init?(sequentialInfo info: UnsafeMutableRawPointer?, callbacks callbacks: UnsafePointer<CGDataProviderSequentialCallbacks>) init?(directInfo info: UnsafeMutableRawPointer?, size size: off_t, callbacks callbacks: UnsafePointer<CGDataProviderDirectCallbacks>) init?(dataInfo info: UnsafeMutableRawPointer?, data data: UnsafeRawPointer, size size: Int, releaseData releaseData: CoreGraphics.CGDataProviderReleaseDataCallback) init?(data data: CFData) init?(url url: CFURL) init?(filename filename: UnsafePointer<Int8>) var data: CFData? { get } } extension CGDataProvider { class var typeID: CFTypeID { get } init?(sequentialInfo info: UnsafeMutableRawPointer?, callbacks callbacks: UnsafePointer<CGDataProviderSequentialCallbacks>) init?(directInfo info: UnsafeMutableRawPointer?, size size: off_t, callbacks callbacks: UnsafePointer<CGDataProviderDirectCallbacks>) init?(dataInfo info: UnsafeMutableRawPointer?, data data: UnsafeRawPointer, size size: Int, releaseData releaseData: CoreGraphics.CGDataProviderReleaseDataCallback) init?(data data: CFData) init?(url url: CFURL) init?(filename filename: UnsafePointer<Int8>) var data: CFData? { get } } |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGDataProviderCopyData(_:) | func CGDataProviderCopyData(_ provider: CGDataProvider?) -> CFData? | tvOS 9.0 | -- |
To | data | var data: CFData? { get } | tvOS 10.0 | yes |
Modified CGDataProvider.init(data: CFData)
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateWithCFData(_:) | func CGDataProviderCreateWithCFData(_ data: CFData?) -> CGDataProvider? |
To | init(data:) | init?(data data: CFData) |
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateWithData(_:_:_:_:) | func CGDataProviderCreateWithData(_ info: UnsafeMutablePointer<Void>, _ data: UnsafePointer<Void>, _ size: Int, _ releaseData: CGDataProviderReleaseDataCallback?) -> CGDataProvider? |
To | init(dataInfo:data:size:releaseData:) | init?(dataInfo info: UnsafeMutableRawPointer?, data data: UnsafeRawPointer, size size: Int, releaseData releaseData: CoreGraphics.CGDataProviderReleaseDataCallback) |
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateDirect(_:_:_:) | func CGDataProviderCreateDirect(_ info: UnsafeMutablePointer<Void>, _ size: off_t, _ callbacks: UnsafePointer<CGDataProviderDirectCallbacks>) -> CGDataProvider? |
To | init(directInfo:size:callbacks:) | init?(directInfo info: UnsafeMutableRawPointer?, size size: off_t, callbacks callbacks: UnsafePointer<CGDataProviderDirectCallbacks>) |
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateWithFilename(_:) | func CGDataProviderCreateWithFilename(_ filename: UnsafePointer<Int8>) -> CGDataProvider? |
To | init(filename:) | init?(filename filename: UnsafePointer<Int8>) |
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateSequential(_:_:) | func CGDataProviderCreateSequential(_ info: UnsafeMutablePointer<Void>, _ callbacks: UnsafePointer<CGDataProviderSequentialCallbacks>) -> CGDataProvider? |
To | init(sequentialInfo:callbacks:) | init?(sequentialInfo info: UnsafeMutableRawPointer?, callbacks callbacks: UnsafePointer<CGDataProviderSequentialCallbacks>) |
Modified CGDataProvider.init(url: CFURL)
Name | Declaration | |
---|---|---|
From | CGDataProviderCreateWithURL(_:) | func CGDataProviderCreateWithURL(_ url: CFURL?) -> CGDataProvider? |
To | init(url:) | init?(url url: CFURL) |
Name | Declaration | |
---|---|---|
From | CGDataProviderGetTypeID() | func CGDataProviderGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Declaration | |
---|---|
From | struct CGDataProviderDirectCallbacks { var version: UInt32 var getBytePointer: CGDataProviderGetBytePointerCallback? var releaseBytePointer: CGDataProviderReleaseBytePointerCallback? var getBytesAtPosition: CGDataProviderGetBytesAtPositionCallback? var releaseInfo: CGDataProviderReleaseInfoCallback? init() init(version version: UInt32, getBytePointer getBytePointer: CGDataProviderGetBytePointerCallback?, releaseBytePointer releaseBytePointer: CGDataProviderReleaseBytePointerCallback?, getBytesAtPosition getBytesAtPosition: CGDataProviderGetBytesAtPositionCallback?, releaseInfo releaseInfo: CGDataProviderReleaseInfoCallback?) } |
To | struct CGDataProviderDirectCallbacks { var version: UInt32 var getBytePointer: CoreGraphics.CGDataProviderGetBytePointerCallback? var releaseBytePointer: CoreGraphics.CGDataProviderReleaseBytePointerCallback? var getBytesAtPosition: CoreGraphics.CGDataProviderGetBytesAtPositionCallback? var releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback? init() init(version version: UInt32, getBytePointer getBytePointer: CoreGraphics.CGDataProviderGetBytePointerCallback?, releaseBytePointer releaseBytePointer: CoreGraphics.CGDataProviderReleaseBytePointerCallback?, getBytesAtPosition getBytesAtPosition: CoreGraphics.CGDataProviderGetBytesAtPositionCallback?, releaseInfo releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback?) } |
Declaration | |
---|---|
From | var getBytePointer: CGDataProviderGetBytePointerCallback? |
To | var getBytePointer: CoreGraphics.CGDataProviderGetBytePointerCallback? |
Declaration | |
---|---|
From | var getBytesAtPosition: CGDataProviderGetBytesAtPositionCallback? |
To | var getBytesAtPosition: CoreGraphics.CGDataProviderGetBytesAtPositionCallback? |
Declaration | |
---|---|
From | var releaseBytePointer: CGDataProviderReleaseBytePointerCallback? |
To | var releaseBytePointer: CoreGraphics.CGDataProviderReleaseBytePointerCallback? |
Declaration | |
---|---|
From | var releaseInfo: CGDataProviderReleaseInfoCallback? |
To | var releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback? |
Declaration | |
---|---|
From | struct CGDataProviderSequentialCallbacks { var version: UInt32 var getBytes: CGDataProviderGetBytesCallback? var skipForward: CGDataProviderSkipForwardCallback? var rewind: CGDataProviderRewindCallback? var releaseInfo: CGDataProviderReleaseInfoCallback? init() init(version version: UInt32, getBytes getBytes: CGDataProviderGetBytesCallback?, skipForward skipForward: CGDataProviderSkipForwardCallback?, rewind rewind: CGDataProviderRewindCallback?, releaseInfo releaseInfo: CGDataProviderReleaseInfoCallback?) } |
To | struct CGDataProviderSequentialCallbacks { var version: UInt32 var getBytes: CoreGraphics.CGDataProviderGetBytesCallback? var skipForward: CoreGraphics.CGDataProviderSkipForwardCallback? var rewind: CoreGraphics.CGDataProviderRewindCallback? var releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback? init() init(version version: UInt32, getBytes getBytes: CoreGraphics.CGDataProviderGetBytesCallback?, skipForward skipForward: CoreGraphics.CGDataProviderSkipForwardCallback?, rewind rewind: CoreGraphics.CGDataProviderRewindCallback?, releaseInfo releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback?) } |
Declaration | |
---|---|
From | var getBytes: CGDataProviderGetBytesCallback? |
To | var getBytes: CoreGraphics.CGDataProviderGetBytesCallback? |
Declaration | |
---|---|
From | var releaseInfo: CGDataProviderReleaseInfoCallback? |
To | var releaseInfo: CoreGraphics.CGDataProviderReleaseInfoCallback? |
Declaration | |
---|---|
From | var rewind: CGDataProviderRewindCallback? |
To | var rewind: CoreGraphics.CGDataProviderRewindCallback? |
Declaration | |
---|---|
From | var skipForward: CGDataProviderSkipForwardCallback? |
To | var skipForward: CoreGraphics.CGDataProviderSkipForwardCallback? |
Modified CGError [enum]
Declaration | |
---|---|
From | enum CGError : Int32 { case Success case Failure case IllegalArgument case InvalidConnection case InvalidContext case CannotComplete case NotImplemented case RangeCheck case TypeCheck case InvalidOperation case NoneAvailable } |
To | enum CGError : Int32 { case success case failure case illegalArgument case invalidConnection case invalidContext case cannotComplete case notImplemented case rangeCheck case typeCheck case invalidOperation case noneAvailable } |
Modified CGError.cannotComplete
Declaration | |
---|---|
From | case CannotComplete |
To | case cannotComplete |
Modified CGError.failure
Declaration | |
---|---|
From | case Failure |
To | case failure |
Modified CGError.illegalArgument
Declaration | |
---|---|
From | case IllegalArgument |
To | case illegalArgument |
Modified CGError.invalidConnection
Declaration | |
---|---|
From | case InvalidConnection |
To | case invalidConnection |
Modified CGError.invalidContext
Declaration | |
---|---|
From | case InvalidContext |
To | case invalidContext |
Modified CGError.invalidOperation
Declaration | |
---|---|
From | case InvalidOperation |
To | case invalidOperation |
Modified CGError.noneAvailable
Declaration | |
---|---|
From | case NoneAvailable |
To | case noneAvailable |
Modified CGError.notImplemented
Declaration | |
---|---|
From | case NotImplemented |
To | case notImplemented |
Modified CGError.rangeCheck
Declaration | |
---|---|
From | case RangeCheck |
To | case rangeCheck |
Modified CGError.success
Declaration | |
---|---|
From | case Success |
To | case success |
Modified CGError.typeCheck
Declaration | |
---|---|
From | case TypeCheck |
To | case typeCheck |
Modified CGFloat [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGFloat { typealias NativeType = Double init() init(_ value: Float) init(_ value: Double) var native: NativeType } extension CGFloat : FloatingPointType { init(_ value: UInt8) init(_ value: Int8) init(_ value: UInt16) init(_ value: Int16) init(_ value: UInt32) init(_ value: Int32) init(_ value: UInt64) init(_ value: Int64) init(_ value: UInt) init(_ value: Int) static var infinity: CGFloat { get } static var NaN: CGFloat { get } static var quietNaN: CGFloat { get } var isSignMinus: Bool { get } var isNormal: Bool { get } var isFinite: Bool { get } var isZero: Bool { get } var isSubnormal: Bool { get } var isInfinite: Bool { get } var isNaN: Bool { get } var isSignaling: Bool { get } var floatingPointClass: FloatingPointClassification { get } } extension CGFloat { static var min: CGFloat { get } static var max: CGFloat { get } } extension CGFloat : _Reflectable { } extension CGFloat : CustomStringConvertible { var description: String { get } } extension CGFloat : Hashable { var hashValue: Int { get } } extension CGFloat : FloatLiteralConvertible { init(floatLiteral value: NativeType) } extension CGFloat : IntegerLiteralConvertible { init(integerLiteral value: Int) } extension CGFloat : AbsoluteValuable { @warn_unused_result static func abs(_ x: CGFloat) -> CGFloat } extension CGFloat : Equatable { } extension CGFloat : Comparable { } extension CGFloat : Strideable { func distanceTo(_ other: CGFloat) -> CGFloat func advancedBy(_ amount: CGFloat) -> CGFloat } extension CGFloat : _CVarArgPassedAsDouble, _CVarArgAlignedType { } extension CGFloat : _ObjectiveCBridgeable { init(_ number: NSNumber) } | AbsoluteValuable, Comparable, CustomStringConvertible, Equatable, FloatLiteralConvertible, FloatingPointType, Hashable, IntegerLiteralConvertible, Strideable |
To | struct CGFloat { typealias NativeType = Double init() init(_ value: Float) init(_ value: Double) init(_ value: CGFloat) init(_ value: UInt8) init(_ value: Int8) init(_ value: UInt16) init(_ value: Int16) init(_ value: UInt32) init(_ value: Int32) init(_ value: UInt64) init(_ value: Int64) init(_ value: UInt) init(_ value: Int) var native: CGFloat.NativeType static var min: CGFloat { get } static var max: CGFloat { get } } extension CGFloat : BinaryFloatingPoint { typealias RawSignificand = UInt typealias Exponent = Int static var exponentBitCount: Int { get } static var significandBitCount: Int { get } var bitPattern: UInt { get } init(bitPattern bitPattern: UInt) var sign: FloatingPointSign { get } var exponentBitPattern: UInt { get } var significandBitPattern: UInt { get } init(sign sign: FloatingPointSign, exponentBitPattern exponentBitPattern: UInt, significandBitPattern significandBitPattern: UInt) init(nan payload: CGFloat.RawSignificand, signaling signaling: Bool) static var infinity: CGFloat { get } static var nan: CGFloat { get } static var signalingNaN: CGFloat { get } static var quietNaN: CGFloat { get } static var greatestFiniteMagnitude: CGFloat { get } static var pi: CGFloat { get } var ulp: CGFloat { get } static var leastNormalMagnitude: CGFloat { get } static var leastNonzeroMagnitude: CGFloat { get } var exponent: Int { get } var significand: CGFloat { get } init(sign sign: FloatingPointSign, exponent exponent: Int, significand significand: CGFloat) mutating func round(_ rule: FloatingPointRoundingRule) var nextUp: CGFloat { get } static func abs(_ x: CGFloat) -> CGFloat mutating func negate() mutating func add(_ other: CGFloat) mutating func subtract(_ other: CGFloat) mutating func multiply(by other: CGFloat) mutating func divide(by other: CGFloat) mutating func formTruncatingRemainder(dividingBy other: CGFloat) mutating func formRemainder(dividingBy other: CGFloat) mutating func formSquareRoot() mutating func addProduct(_ lhs: CGFloat, _ rhs: CGFloat) func isEqual(to other: CGFloat) -> Bool func isLess(than other: CGFloat) -> Bool func isLessThanOrEqualTo(_ other: CGFloat) -> Bool var isNormal: Bool { get } var isFinite: Bool { get } var isZero: Bool { get } var isSubnormal: Bool { get } var isInfinite: Bool { get } var isNaN: Bool { get } var isSignalingNaN: Bool { get } var isSignaling: Bool { get } var isCanonical: Bool { get } var floatingPointClass: FloatingPointClassification { get } var binade: CGFloat { get } var significandWidth: Int { get } init(floatLiteral value: CGFloat.NativeType) init(integerLiteral value: Int) } extension CGFloat : CustomReflectable { var customMirror: Mirror { get } } extension CGFloat : CustomStringConvertible { var description: String { get } } extension CGFloat : Hashable { var hashValue: Int { get } } extension CGFloat : Strideable { func distance(to other: CGFloat) -> CGFloat func advanced(by amount: CGFloat) -> CGFloat } extension CGFloat { init(_ number: NSNumber) } | BinaryFloatingPoint, CustomReflectable, CustomStringConvertible, Hashable, Strideable |
Modified CGFloat.abs(_: CGFloat) -> CGFloat [static]
Declaration | |
---|---|
From | @warn_unused_result static func abs(_ x: CGFloat) -> CGFloat |
To | static func abs(_ x: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | init(floatLiteral value: NativeType) |
To | init(floatLiteral value: CGFloat.NativeType) |
Modified CGFloat.native
Declaration | |
---|---|
From | var native: NativeType |
To | var native: CGFloat.NativeType |
Modified CGFont
Declaration | |
---|---|
From | class CGFont { } |
To | class CGFont { class var typeID: CFTypeID { get } init?(platformFontPlatformFontReference platformFontReference: UnsafeMutableRawPointer) init(_ provider: CGDataProvider) init?(_ name: CFString) func copy(withVariations variations: CFDictionary?) -> CGFont? var numberOfGlyphs: Int { get } var unitsPerEm: Int32 { get } var postScriptName: CFString? { get } var fullName: CFString? { get } var ascent: Int32 { get } var descent: Int32 { get } var leading: Int32 { get } var capHeight: Int32 { get } var xHeight: Int32 { get } var fontBBox: CGRect { get } var italicAngle: CGFloat { get } var stemV: CGFloat { get } var variationAxes: CFArray? { get } var variations: CFDictionary? { get } func getGlyphAdvances(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, advances advances: UnsafeMutablePointer<Int32>) -> Bool func getGlyphBBoxes(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, bboxes bboxes: UnsafeMutablePointer<CGRect>) -> Bool func getGlyphWithGlyphName(name name: CFString) -> CGGlyph func name(for glyph: CGGlyph) -> CFString? func canCreatePostScriptSubset(_ format: CGFontPostScriptFormat) -> Bool func createPostScriptSubset(subsetName subsetName: CFString, format format: CGFontPostScriptFormat, glyphs glyphs: UnsafePointer<CGGlyph>?, count count: Int, encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? func createPostScriptEncoding(encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? var tableTags: CFArray? { get } func table(for tag: UInt32) -> CFData? class let variationAxisName: CFString class let variationAxisMinValue: CFString class let variationAxisMaxValue: CFString class let variationAxisDefaultValue: CFString } extension CGFont { class var typeID: CFTypeID { get } init?(platformFontPlatformFontReference platformFontReference: UnsafeMutableRawPointer) init(_ provider: CGDataProvider) init?(_ name: CFString) func copy(withVariations variations: CFDictionary?) -> CGFont? var numberOfGlyphs: Int { get } var unitsPerEm: Int32 { get } var postScriptName: CFString? { get } var fullName: CFString? { get } var ascent: Int32 { get } var descent: Int32 { get } var leading: Int32 { get } var capHeight: Int32 { get } var xHeight: Int32 { get } var fontBBox: CGRect { get } var italicAngle: CGFloat { get } var stemV: CGFloat { get } var variationAxes: CFArray? { get } var variations: CFDictionary? { get } func getGlyphAdvances(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, advances advances: UnsafeMutablePointer<Int32>) -> Bool func getGlyphBBoxes(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, bboxes bboxes: UnsafeMutablePointer<CGRect>) -> Bool func getGlyphWithGlyphName(name name: CFString) -> CGGlyph func name(for glyph: CGGlyph) -> CFString? func canCreatePostScriptSubset(_ format: CGFontPostScriptFormat) -> Bool func createPostScriptSubset(subsetName subsetName: CFString, format format: CGFontPostScriptFormat, glyphs glyphs: UnsafePointer<CGGlyph>?, count count: Int, encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? func createPostScriptEncoding(encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? var tableTags: CFArray? { get } func table(for tag: UInt32) -> CFData? class let variationAxisName: CFString class let variationAxisMinValue: CFString class let variationAxisMaxValue: CFString class let variationAxisDefaultValue: CFString } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetAscent(_:) | func CGFontGetAscent(_ font: CGFont?) -> Int32 | -- |
To | ascent | var ascent: Int32 { get } | yes |
Name | Declaration | |
---|---|---|
From | CGFontCanCreatePostScriptSubset(_:_:) | func CGFontCanCreatePostScriptSubset(_ font: CGFont?, _ format: CGFontPostScriptFormat) -> Bool |
To | canCreatePostScriptSubset(_:) | func canCreatePostScriptSubset(_ format: CGFontPostScriptFormat) -> Bool |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetCapHeight(_:) | func CGFontGetCapHeight(_ font: CGFont?) -> Int32 | -- |
To | capHeight | var capHeight: Int32 { get } | yes |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGFontCreateCopyWithVariations(_:_:) | func CGFontCreateCopyWithVariations(_ font: CGFont?, _ variations: CFDictionary?) -> CGFont? | tvOS 9.0 |
To | copy(withVariations:) | func copy(withVariations variations: CFDictionary?) -> CGFont? | tvOS 10.0 |
Name | Declaration | |
---|---|---|
From | CGFontCreatePostScriptEncoding(_:_:) | func CGFontCreatePostScriptEncoding(_ font: CGFont?, _ encoding: UnsafePointer<CGGlyph>) -> CFData? |
To | createPostScriptEncoding(encoding:) | func createPostScriptEncoding(encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? |
Name | Declaration | |
---|---|---|
From | CGFontCreatePostScriptSubset(_:_:_:_:_:_:) | func CGFontCreatePostScriptSubset(_ font: CGFont?, _ subsetName: CFString?, _ format: CGFontPostScriptFormat, _ glyphs: UnsafePointer<CGGlyph>, _ count: Int, _ encoding: UnsafePointer<CGGlyph>) -> CFData? |
To | createPostScriptSubset(subsetName:format:glyphs:count:encoding:) | func createPostScriptSubset(subsetName subsetName: CFString, format format: CGFontPostScriptFormat, glyphs glyphs: UnsafePointer<CGGlyph>?, count count: Int, encoding encoding: UnsafePointer<CGGlyph>!) -> CFData? |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetDescent(_:) | func CGFontGetDescent(_ font: CGFont?) -> Int32 | -- |
To | descent | var descent: Int32 { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetFontBBox(_:) | func CGFontGetFontBBox(_ font: CGFont?) -> CGRect | -- |
To | fontBBox | var fontBBox: CGRect { get } | yes |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGFontCopyFullName(_:) | func CGFontCopyFullName(_ font: CGFont?) -> CFString? | tvOS 9.0 | -- |
To | fullName | var fullName: CFString? { get } | tvOS 10.0 | yes |
Name | Declaration | |
---|---|---|
From | CGFontGetGlyphAdvances(_:_:_:_:) | func CGFontGetGlyphAdvances(_ font: CGFont?, _ glyphs: UnsafePointer<CGGlyph>, _ count: Int, _ advances: UnsafeMutablePointer<Int32>) -> Bool |
To | getGlyphAdvances(glyphs:count:advances:) | func getGlyphAdvances(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, advances advances: UnsafeMutablePointer<Int32>) -> Bool |
Name | Declaration | |
---|---|---|
From | CGFontGetGlyphBBoxes(_:_:_:_:) | func CGFontGetGlyphBBoxes(_ font: CGFont?, _ glyphs: UnsafePointer<CGGlyph>, _ count: Int, _ bboxes: UnsafeMutablePointer<CGRect>) -> Bool |
To | getGlyphBBoxes(glyphs:count:bboxes:) | func getGlyphBBoxes(glyphs glyphs: UnsafePointer<CGGlyph>, count count: Int, bboxes bboxes: UnsafeMutablePointer<CGRect>) -> Bool |
Name | Declaration | |
---|---|---|
From | CGFontGetGlyphWithGlyphName(_:_:) | func CGFontGetGlyphWithGlyphName(_ font: CGFont?, _ name: CFString?) -> CGGlyph |
To | getGlyphWithGlyphName(name:) | func getGlyphWithGlyphName(name name: CFString) -> CGGlyph |
Modified CGFont.init(_: CFString)
Name | Declaration | |
---|---|---|
From | CGFontCreateWithFontName(_:) | func CGFontCreateWithFontName(_ name: CFString?) -> CGFont? |
To | init(_:) | init?(_ name: CFString) |
Modified CGFont.init(_: CGDataProvider)
Name | Declaration | |
---|---|---|
From | CGFontCreateWithDataProvider(_:) | func CGFontCreateWithDataProvider(_ provider: CGDataProvider?) -> CGFont? |
To | init(_:) | init(_ provider: CGDataProvider) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetItalicAngle(_:) | func CGFontGetItalicAngle(_ font: CGFont?) -> CGFloat | -- |
To | italicAngle | var italicAngle: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetLeading(_:) | func CGFontGetLeading(_ font: CGFont?) -> Int32 | -- |
To | leading | var leading: Int32 { get } | yes |
Name | Declaration | |
---|---|---|
From | CGFontCopyGlyphNameForGlyph(_:_:) | func CGFontCopyGlyphNameForGlyph(_ font: CGFont?, _ glyph: CGGlyph) -> CFString? |
To | name(for:) | func name(for glyph: CGGlyph) -> CFString? |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetNumberOfGlyphs(_:) | func CGFontGetNumberOfGlyphs(_ font: CGFont?) -> Int | -- |
To | numberOfGlyphs | var numberOfGlyphs: Int { get } | yes |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGFontCopyPostScriptName(_:) | func CGFontCopyPostScriptName(_ font: CGFont?) -> CFString? | tvOS 9.0 | -- |
To | postScriptName | var postScriptName: CFString? { get } | tvOS 10.0 | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetStemV(_:) | func CGFontGetStemV(_ font: CGFont?) -> CGFloat | -- |
To | stemV | var stemV: CGFloat { get } | yes |
Modified CGFont.table(for: UInt32) -> CFData?
Name | Declaration | |
---|---|---|
From | CGFontCopyTableForTag(_:_:) | func CGFontCopyTableForTag(_ font: CGFont?, _ tag: UInt32) -> CFData? |
To | table(for:) | func table(for tag: UInt32) -> CFData? |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGFontCopyTableTags(_:) | func CGFontCopyTableTags(_ font: CGFont?) -> CFArray? | tvOS 9.0 | -- |
To | tableTags | var tableTags: CFArray? { get } | tvOS 10.0 | yes |
Modified CGFont.CGFontGetTypeID() -> CFTypeID
Name | Declaration | |
---|---|---|
From | CGFontGetTypeID() | func CGFontGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetUnitsPerEm(_:) | func CGFontGetUnitsPerEm(_ font: CGFont?) -> Int32 | -- |
To | unitsPerEm | var unitsPerEm: Int32 { get } | yes |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGFontCopyVariationAxes(_:) | func CGFontCopyVariationAxes(_ font: CGFont?) -> CFArray? | tvOS 9.0 | -- |
To | variationAxes | var variationAxes: CFArray? { get } | tvOS 10.0 | yes |
Modified CGFont.variationAxisDefaultValue
Name | Declaration | |
---|---|---|
From | kCGFontVariationAxisDefaultValue | let kCGFontVariationAxisDefaultValue: CFString |
To | variationAxisDefaultValue | class let variationAxisDefaultValue: CFString |
Modified CGFont.variationAxisMaxValue
Name | Declaration | |
---|---|---|
From | kCGFontVariationAxisMaxValue | let kCGFontVariationAxisMaxValue: CFString |
To | variationAxisMaxValue | class let variationAxisMaxValue: CFString |
Modified CGFont.variationAxisMinValue
Name | Declaration | |
---|---|---|
From | kCGFontVariationAxisMinValue | let kCGFontVariationAxisMinValue: CFString |
To | variationAxisMinValue | class let variationAxisMinValue: CFString |
Modified CGFont.variationAxisName
Name | Declaration | |
---|---|---|
From | kCGFontVariationAxisName | let kCGFontVariationAxisName: CFString |
To | variationAxisName | class let variationAxisName: CFString |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGFontCopyVariations(_:) | func CGFontCopyVariations(_ font: CGFont?) -> CFDictionary? | tvOS 9.0 | -- |
To | variations | var variations: CFDictionary? { get } | tvOS 10.0 | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGFontGetXHeight(_:) | func CGFontGetXHeight(_ font: CGFont?) -> Int32 | -- |
To | xHeight | var xHeight: Int32 { get } | yes |
Modified CGFontPostScriptFormat [enum]
Declaration | |
---|---|
From | enum CGFontPostScriptFormat : Int32 { case Type1 case Type3 case Type42 } |
To | enum CGFontPostScriptFormat : Int32 { case type1 case type3 case type42 } |
Modified CGFontPostScriptFormat.type1
Declaration | |
---|---|
From | case Type1 |
To | case type1 |
Modified CGFontPostScriptFormat.type3
Declaration | |
---|---|
From | case Type3 |
To | case type3 |
Modified CGFontPostScriptFormat.type42
Declaration | |
---|---|
From | case Type42 |
To | case type42 |
Modified CGFunction
Declaration | |
---|---|
From | class CGFunction { } |
To | class CGFunction { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, domainDimension domainDimension: Int, domain domain: UnsafePointer<CGFloat>?, rangeDimension rangeDimension: Int, range range: UnsafePointer<CGFloat>?, callbacks callbacks: UnsafePointer<CGFunctionCallbacks>) } extension CGFunction { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, domainDimension domainDimension: Int, domain domain: UnsafePointer<CGFloat>?, rangeDimension rangeDimension: Int, range range: UnsafePointer<CGFloat>?, callbacks callbacks: UnsafePointer<CGFunctionCallbacks>) } |
Name | Declaration | |
---|---|---|
From | CGFunctionCreate(_:_:_:_:_:_:) | func CGFunctionCreate(_ info: UnsafeMutablePointer<Void>, _ domainDimension: Int, _ domain: UnsafePointer<CGFloat>, _ rangeDimension: Int, _ range: UnsafePointer<CGFloat>, _ callbacks: UnsafePointer<CGFunctionCallbacks>) -> CGFunction? |
To | init(info:domainDimension:domain:rangeDimension:range:callbacks:) | init?(info info: UnsafeMutableRawPointer?, domainDimension domainDimension: Int, domain domain: UnsafePointer<CGFloat>?, rangeDimension rangeDimension: Int, range range: UnsafePointer<CGFloat>?, callbacks callbacks: UnsafePointer<CGFunctionCallbacks>) |
Name | Declaration | |
---|---|---|
From | CGFunctionGetTypeID() | func CGFunctionGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGFunctionCallbacks [struct]
Declaration | |
---|---|
From | struct CGFunctionCallbacks { var version: UInt32 var evaluate: CGFunctionEvaluateCallback? var releaseInfo: CGFunctionReleaseInfoCallback? init() init(version version: UInt32, evaluate evaluate: CGFunctionEvaluateCallback?, releaseInfo releaseInfo: CGFunctionReleaseInfoCallback?) } |
To | struct CGFunctionCallbacks { var version: UInt32 var evaluate: CoreGraphics.CGFunctionEvaluateCallback? var releaseInfo: CoreGraphics.CGFunctionReleaseInfoCallback? init() init(version version: UInt32, evaluate evaluate: CoreGraphics.CGFunctionEvaluateCallback?, releaseInfo releaseInfo: CoreGraphics.CGFunctionReleaseInfoCallback?) } |
Modified CGFunctionCallbacks.evaluate
Declaration | |
---|---|
From | var evaluate: CGFunctionEvaluateCallback? |
To | var evaluate: CoreGraphics.CGFunctionEvaluateCallback? |
Modified CGFunctionCallbacks.releaseInfo
Declaration | |
---|---|
From | var releaseInfo: CGFunctionReleaseInfoCallback? |
To | var releaseInfo: CoreGraphics.CGFunctionReleaseInfoCallback? |
Modified CGGlyphDeprecatedEnum [enum]
Declaration | |
---|---|
From | enum CGGlyphDeprecatedEnum : Int32 { case Min case Max } |
To | enum CGGlyphDeprecatedEnum : Int32 { case min case max } |
Modified CGGlyphDeprecatedEnum.max
Declaration | |
---|---|
From | case Max |
To | case max |
Modified CGGlyphDeprecatedEnum.min
Declaration | |
---|---|
From | case Min |
To | case min |
Modified CGGradient
Declaration | |
---|---|
From | class CGGradient { } |
To | class CGGradient { class var typeID: CFTypeID { get } init?(colorSpace space: CGColorSpace, colorComponents components: UnsafePointer<CGFloat>, locations locations: UnsafePointer<CGFloat>?, count count: Int) init?(colorsSpace space: CGColorSpace?, colors colors: CFArray, locations locations: UnsafePointer<CGFloat>?) } extension CGGradient { class var typeID: CFTypeID { get } init?(colorSpace space: CGColorSpace, colorComponents components: UnsafePointer<CGFloat>, locations locations: UnsafePointer<CGFloat>?, count count: Int) init?(colorsSpace space: CGColorSpace?, colors colors: CFArray, locations locations: UnsafePointer<CGFloat>?) } |
Name | Declaration | |
---|---|---|
From | CGGradientCreateWithColorComponents(_:_:_:_:) | func CGGradientCreateWithColorComponents(_ space: CGColorSpace?, _ components: UnsafePointer<CGFloat>, _ locations: UnsafePointer<CGFloat>, _ count: Int) -> CGGradient? |
To | init(colorSpace:colorComponents:locations:count:) | init?(colorSpace space: CGColorSpace, colorComponents components: UnsafePointer<CGFloat>, locations locations: UnsafePointer<CGFloat>?, count count: Int) |
Modified CGGradient.init(colorsSpace: CGColorSpace?, colors: CFArray, locations: UnsafePointer<CGFloat>?)
Name | Declaration | |
---|---|---|
From | CGGradientCreateWithColors(_:_:_:) | func CGGradientCreateWithColors(_ space: CGColorSpace?, _ colors: CFArray?, _ locations: UnsafePointer<CGFloat>) -> CGGradient? |
To | init(colorsSpace:colors:locations:) | init?(colorsSpace space: CGColorSpace?, colors colors: CFArray, locations locations: UnsafePointer<CGFloat>?) |
Name | Declaration | |
---|---|---|
From | CGGradientGetTypeID() | func CGGradientGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGGradientDrawingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGGradientDrawingOptions : OptionSetType { init(rawValue rawValue: UInt32) static var DrawsBeforeStartLocation: CGGradientDrawingOptions { get } static var DrawsAfterEndLocation: CGGradientDrawingOptions { get } } | OptionSetType |
To | struct CGGradientDrawingOptions : OptionSet { init(rawValue rawValue: UInt32) static var drawsBeforeStartLocation: CGGradientDrawingOptions { get } static var drawsAfterEndLocation: CGGradientDrawingOptions { get } func intersect(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions func exclusiveOr(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions mutating func unionInPlace(_ other: CGGradientDrawingOptions) mutating func intersectInPlace(_ other: CGGradientDrawingOptions) mutating func exclusiveOrInPlace(_ other: CGGradientDrawingOptions) func isSubsetOf(_ other: CGGradientDrawingOptions) -> Bool func isDisjointWith(_ other: CGGradientDrawingOptions) -> Bool func isSupersetOf(_ other: CGGradientDrawingOptions) -> Bool mutating func subtractInPlace(_ other: CGGradientDrawingOptions) func isStrictSupersetOf(_ other: CGGradientDrawingOptions) -> Bool func isStrictSubsetOf(_ other: CGGradientDrawingOptions) -> Bool } extension CGGradientDrawingOptions { func union(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions func intersection(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions func symmetricDifference(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions } extension CGGradientDrawingOptions { func contains(_ member: CGGradientDrawingOptions) -> Bool mutating func insert(_ newMember: CGGradientDrawingOptions) -> (inserted: Bool, memberAfterInsert: CGGradientDrawingOptions) mutating func remove(_ member: CGGradientDrawingOptions) -> CGGradientDrawingOptions? mutating func update(with newMember: CGGradientDrawingOptions) -> CGGradientDrawingOptions? } extension CGGradientDrawingOptions { convenience init() mutating func formUnion(_ other: CGGradientDrawingOptions) mutating func formIntersection(_ other: CGGradientDrawingOptions) mutating func formSymmetricDifference(_ other: CGGradientDrawingOptions) } extension CGGradientDrawingOptions { convenience init<S : Sequence where S.Iterator.Element == CGGradientDrawingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CGGradientDrawingOptions...) mutating func subtract(_ other: CGGradientDrawingOptions) func isSubset(of other: CGGradientDrawingOptions) -> Bool func isSuperset(of other: CGGradientDrawingOptions) -> Bool func isDisjoint(with other: CGGradientDrawingOptions) -> Bool func subtracting(_ other: CGGradientDrawingOptions) -> CGGradientDrawingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: CGGradientDrawingOptions) -> Bool func isStrictSubset(of other: CGGradientDrawingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var DrawsAfterEndLocation: CGGradientDrawingOptions { get } |
To | static var drawsAfterEndLocation: CGGradientDrawingOptions { get } |
Declaration | |
---|---|
From | static var DrawsBeforeStartLocation: CGGradientDrawingOptions { get } |
To | static var drawsBeforeStartLocation: CGGradientDrawingOptions { get } |
Modified CGImage
Declaration | |
---|---|
From | class CGImage { } |
To | class CGImage { func copy(maskingColorComponents components: [CGFloat]) -> CGImage? class var typeID: CFTypeID { get } init?(width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: CGBitmapInfo, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) init?(maskWidth width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool) func copy() -> CGImage? init?(jpegDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) init?(pngDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) func cropping(to rect: CGRect) -> CGImage? func masking(_ mask: CGImage) -> CGImage? func __copy(maskingColorComponents components: UnsafePointer<CGFloat>) -> CGImage? func copy(colorSpace space: CGColorSpace) -> CGImage? var isMask: Bool { get } var width: Int { get } var height: Int { get } var bitsPerComponent: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var colorSpace: CGColorSpace? { get } var alphaInfo: CGImageAlphaInfo { get } var dataProvider: CGDataProvider? { get } var decode: UnsafePointer<CGFloat>? { get } var shouldInterpolate: Bool { get } var renderingIntent: CGColorRenderingIntent { get } var bitmapInfo: CGBitmapInfo { get } var utType: CFString? { get } } extension CGImage { class var typeID: CFTypeID { get } init?(width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: CGBitmapInfo, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) init?(maskWidth width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool) func copy() -> CGImage? init?(jpegDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) init?(pngDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) func cropping(to rect: CGRect) -> CGImage? func masking(_ mask: CGImage) -> CGImage? func __copy(maskingColorComponents components: UnsafePointer<CGFloat>) -> CGImage? func copy(colorSpace space: CGColorSpace) -> CGImage? var isMask: Bool { get } var width: Int { get } var height: Int { get } var bitsPerComponent: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var colorSpace: CGColorSpace? { get } var alphaInfo: CGImageAlphaInfo { get } var dataProvider: CGDataProvider? { get } var decode: UnsafePointer<CGFloat>? { get } var shouldInterpolate: Bool { get } var renderingIntent: CGColorRenderingIntent { get } var bitmapInfo: CGBitmapInfo { get } var utType: CFString? { get } } extension CGImage { func copy(maskingColorComponents components: [CGFloat]) -> CGImage? } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetAlphaInfo(_:) | func CGImageGetAlphaInfo(_ image: CGImage?) -> CGImageAlphaInfo | -- |
To | alphaInfo | var alphaInfo: CGImageAlphaInfo { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetBitmapInfo(_:) | func CGImageGetBitmapInfo(_ image: CGImage?) -> CGBitmapInfo | -- |
To | bitmapInfo | var bitmapInfo: CGBitmapInfo { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetBitsPerComponent(_:) | func CGImageGetBitsPerComponent(_ image: CGImage?) -> Int | -- |
To | bitsPerComponent | var bitsPerComponent: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetBitsPerPixel(_:) | func CGImageGetBitsPerPixel(_ image: CGImage?) -> Int | -- |
To | bitsPerPixel | var bitsPerPixel: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetBytesPerRow(_:) | func CGImageGetBytesPerRow(_ image: CGImage?) -> Int | -- |
To | bytesPerRow | var bytesPerRow: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetColorSpace(_:) | func CGImageGetColorSpace(_ image: CGImage?) -> CGColorSpace? | -- |
To | colorSpace | var colorSpace: CGColorSpace? { get } | yes |
Modified CGImage.copy() -> CGImage?
Name | Declaration | Introduction | |
---|---|---|---|
From | CGImageCreateCopy(_:) | func CGImageCreateCopy(_ image: CGImage?) -> CGImage? | tvOS 9.0 |
To | copy() | func copy() -> CGImage? | tvOS 10.0 |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGImageCreateCopyWithColorSpace(_:_:) | func CGImageCreateCopyWithColorSpace(_ image: CGImage?, _ space: CGColorSpace?) -> CGImage? | tvOS 9.0 |
To | copy(colorSpace:) | func copy(colorSpace space: CGColorSpace) -> CGImage? | tvOS 10.0 |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGImageCreateWithImageInRect(_:_:) | func CGImageCreateWithImageInRect(_ image: CGImage?, _ rect: CGRect) -> CGImage? | tvOS 9.0 |
To | cropping(to:) | func cropping(to rect: CGRect) -> CGImage? | tvOS 10.0 |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetDataProvider(_:) | func CGImageGetDataProvider(_ image: CGImage?) -> CGDataProvider? | -- |
To | dataProvider | var dataProvider: CGDataProvider? { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetDecode(_:) | func CGImageGetDecode(_ image: CGImage?) -> UnsafePointer<CGFloat> | -- |
To | decode | var decode: UnsafePointer<CGFloat>? { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetHeight(_:) | func CGImageGetHeight(_ image: CGImage?) -> Int | -- |
To | height | var height: Int { get } | yes |
Name | Declaration | |
---|---|---|
From | CGImageCreateWithJPEGDataProvider(_:_:_:_:) | func CGImageCreateWithJPEGDataProvider(_ source: CGDataProvider?, _ decode: UnsafePointer<CGFloat>, _ shouldInterpolate: Bool, _ intent: CGColorRenderingIntent) -> CGImage? |
To | init(jpegDataProviderSource:decode:shouldInterpolate:intent:) | init?(jpegDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) |
Name | Declaration | |
---|---|---|
From | CGImageMaskCreate(_:_:_:_:_:_:_:_:) | func CGImageMaskCreate(_ width: Int, _ height: Int, _ bitsPerComponent: Int, _ bitsPerPixel: Int, _ bytesPerRow: Int, _ provider: CGDataProvider?, _ decode: UnsafePointer<CGFloat>, _ shouldInterpolate: Bool) -> CGImage? |
To | init(maskWidth:height:bitsPerComponent:bitsPerPixel:bytesPerRow:provider:decode:shouldInterpolate:) | init?(maskWidth width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool) |
Name | Declaration | |
---|---|---|
From | CGImageCreateWithPNGDataProvider(_:_:_:_:) | func CGImageCreateWithPNGDataProvider(_ source: CGDataProvider?, _ decode: UnsafePointer<CGFloat>, _ shouldInterpolate: Bool, _ intent: CGColorRenderingIntent) -> CGImage? |
To | init(pngDataProviderSource:decode:shouldInterpolate:intent:) | init?(pngDataProviderSource source: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) |
Name | Declaration | |
---|---|---|
From | CGImageCreate(_:_:_:_:_:_:_:_:_:_:_:) | func CGImageCreate(_ width: Int, _ height: Int, _ bitsPerComponent: Int, _ bitsPerPixel: Int, _ bytesPerRow: Int, _ space: CGColorSpace?, _ bitmapInfo: CGBitmapInfo, _ provider: CGDataProvider?, _ decode: UnsafePointer<CGFloat>, _ shouldInterpolate: Bool, _ intent: CGColorRenderingIntent) -> CGImage? |
To | init(width:height:bitsPerComponent:bitsPerPixel:bytesPerRow:space:bitmapInfo:provider:decode:shouldInterpolate:intent:) | init?(width width: Int, height height: Int, bitsPerComponent bitsPerComponent: Int, bitsPerPixel bitsPerPixel: Int, bytesPerRow bytesPerRow: Int, space space: CGColorSpace, bitmapInfo bitmapInfo: CGBitmapInfo, provider provider: CGDataProvider, decode decode: UnsafePointer<CGFloat>?, shouldInterpolate shouldInterpolate: Bool, intent intent: CGColorRenderingIntent) |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGImageIsMask(_:) | func CGImageIsMask(_ image: CGImage?) -> Bool | tvOS 9.0 | -- |
To | isMask | var isMask: Bool { get } | tvOS 10.0 | yes |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGImageCreateWithMask(_:_:) | func CGImageCreateWithMask(_ image: CGImage?, _ mask: CGImage?) -> CGImage? | tvOS 9.0 |
To | masking(_:) | func masking(_ mask: CGImage) -> CGImage? | tvOS 10.0 |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetRenderingIntent(_:) | func CGImageGetRenderingIntent(_ image: CGImage?) -> CGColorRenderingIntent | -- |
To | renderingIntent | var renderingIntent: CGColorRenderingIntent { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetShouldInterpolate(_:) | func CGImageGetShouldInterpolate(_ image: CGImage?) -> Bool | -- |
To | shouldInterpolate | var shouldInterpolate: Bool { get } | yes |
Name | Declaration | |
---|---|---|
From | CGImageGetTypeID() | func CGImageGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetUTType(_:) | func CGImageGetUTType(_ image: CGImage?) -> CFString? | -- |
To | utType | var utType: CFString? { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGImageGetWidth(_:) | func CGImageGetWidth(_ image: CGImage?) -> Int | -- |
To | width | var width: Int { get } | yes |
Modified CGImageAlphaInfo [enum]
Declaration | |
---|---|
From | enum CGImageAlphaInfo : UInt32 { case None case PremultipliedLast case PremultipliedFirst case Last case First case NoneSkipLast case NoneSkipFirst case Only } |
To | enum CGImageAlphaInfo : UInt32 { case none case premultipliedLast case premultipliedFirst case last case first case noneSkipLast case noneSkipFirst case alphaOnly } |
Modified CGImageAlphaInfo.alphaOnly
Declaration | |
---|---|
From | case Only |
To | case alphaOnly |
Modified CGImageAlphaInfo.first
Declaration | |
---|---|
From | case First |
To | case first |
Modified CGImageAlphaInfo.last
Declaration | |
---|---|
From | case Last |
To | case last |
Modified CGImageAlphaInfo.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified CGImageAlphaInfo.noneSkipFirst
Declaration | |
---|---|
From | case NoneSkipFirst |
To | case noneSkipFirst |
Modified CGImageAlphaInfo.noneSkipLast
Declaration | |
---|---|
From | case NoneSkipLast |
To | case noneSkipLast |
Modified CGImageAlphaInfo.premultipliedFirst
Declaration | |
---|---|
From | case PremultipliedFirst |
To | case premultipliedFirst |
Modified CGImageAlphaInfo.premultipliedLast
Declaration | |
---|---|
From | case PremultipliedLast |
To | case premultipliedLast |
Modified CGInterpolationQuality [enum]
Declaration | |
---|---|
From | enum CGInterpolationQuality : Int32 { case Default case None case Low case Medium case High } |
To | enum CGInterpolationQuality : Int32 { case `default` case none case low case medium case high } |
Modified CGInterpolationQuality.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified CGInterpolationQuality.high
Declaration | |
---|---|
From | case High |
To | case high |
Modified CGInterpolationQuality.low
Declaration | |
---|---|
From | case Low |
To | case low |
Modified CGInterpolationQuality.medium
Declaration | |
---|---|
From | case Medium |
To | case medium |
Modified CGInterpolationQuality.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified CGLayer
Declaration | |
---|---|
From | class CGLayer { } |
To | class CGLayer { init?(_ context: CGContext, size size: CGSize, auxiliaryInfo auxiliaryInfo: CFDictionary?) var size: CGSize { get } var context: CGContext? { get } class var typeID: CFTypeID { get } } extension CGLayer { init?(_ context: CGContext, size size: CGSize, auxiliaryInfo auxiliaryInfo: CFDictionary?) var size: CGSize { get } var context: CGContext? { get } class var typeID: CFTypeID { get } } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGLayerGetContext(_:) | func CGLayerGetContext(_ layer: CGLayer?) -> CGContext? | -- |
To | context | var context: CGContext? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGLayerCreateWithContext(_:_:_:) | func CGLayerCreateWithContext(_ context: CGContext?, _ size: CGSize, _ auxiliaryInfo: CFDictionary?) -> CGLayer? |
To | init(_:size:auxiliaryInfo:) | init?(_ context: CGContext, size size: CGSize, auxiliaryInfo auxiliaryInfo: CFDictionary?) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGLayerGetSize(_:) | func CGLayerGetSize(_ layer: CGLayer?) -> CGSize | -- |
To | size | var size: CGSize { get } | yes |
Name | Declaration | |
---|---|---|
From | CGLayerGetTypeID() | func CGLayerGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGLineCap [enum]
Declaration | |
---|---|
From | enum CGLineCap : Int32 { case Butt case Round case Square } |
To | enum CGLineCap : Int32 { case butt case round case square } |
Modified CGLineCap.butt
Declaration | |
---|---|
From | case Butt |
To | case butt |
Modified CGLineCap.round
Declaration | |
---|---|
From | case Round |
To | case round |
Modified CGLineCap.square
Declaration | |
---|---|
From | case Square |
To | case square |
Modified CGLineJoin [enum]
Declaration | |
---|---|
From | enum CGLineJoin : Int32 { case Miter case Round case Bevel } |
To | enum CGLineJoin : Int32 { case miter case round case bevel } |
Modified CGLineJoin.bevel
Declaration | |
---|---|
From | case Bevel |
To | case bevel |
Modified CGLineJoin.miter
Declaration | |
---|---|
From | case Miter |
To | case miter |
Modified CGLineJoin.round
Declaration | |
---|---|
From | case Round |
To | case round |
Modified CGMutablePath
Declaration | |
---|---|
From | class CGMutablePath { } |
To | class CGMutablePath { func addRoundedRect(in rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat, transform transform: CGAffineTransform = default) func move(to point: CGPoint, transform transform: CGAffineTransform = default) func addLine(to point: CGPoint, transform transform: CGAffineTransform = default) func addQuadCurve(to end: CGPoint, control control: CGPoint, transform transform: CGAffineTransform = default) func addCurve(to end: CGPoint, control1 control1: CGPoint, control2 control2: CGPoint, transform transform: CGAffineTransform = default) func addRect(_ rect: CGRect, transform transform: CGAffineTransform = default) func addRects(_ rects: [CGRect], transform transform: CGAffineTransform = default) func addLines(between points: [CGPoint], transform transform: CGAffineTransform = default) func addEllipse(in rect: CGRect, transform transform: CGAffineTransform = default) func addRelativeArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, delta delta: CGFloat, transform transform: CGAffineTransform = default) func addArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool, transform transform: CGAffineTransform = default) func addArc(tangent1End tangent1End: CGPoint, tangent2End tangent2End: CGPoint, radius radius: CGFloat, transform transform: CGAffineTransform = default) func addPath(_ path: CGPath, transform transform: CGAffineTransform = default) init() func __addRoundedRect(transform transform: UnsafePointer<CGAffineTransform>?, rect rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat) func __moveTo(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat) func __addLineTo(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat) func __addQuadCurve(transform m: UnsafePointer<CGAffineTransform>?, cpx cpx: CGFloat, cpy cpy: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func __addCurve(transform m: UnsafePointer<CGAffineTransform>?, cp1x cp1x: CGFloat, cp1y cp1y: CGFloat, cp2x cp2x: CGFloat, cp2y cp2y: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func closeSubpath() func __addRect(transform m: UnsafePointer<CGAffineTransform>?, rect rect: CGRect) func __addRects(transform m: UnsafePointer<CGAffineTransform>?, rects rects: UnsafePointer<CGRect>?, count count: Int) func __addLines(transform m: UnsafePointer<CGAffineTransform>?, between points: UnsafePointer<CGPoint>?, count count: Int) func __addEllipse(transform m: UnsafePointer<CGAffineTransform>?, rect rect: CGRect) func __addRelativeArc(transform matrix: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, delta delta: CGFloat) func __addArc(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func __addArc(transform m: UnsafePointer<CGAffineTransform>?, x1 x1: CGFloat, y1 y1: CGFloat, x2 x2: CGFloat, y2 y2: CGFloat, radius radius: CGFloat) func __addPath(transform m: UnsafePointer<CGAffineTransform>?, path path2: CGPath) } extension CGMutablePath { init() func __addRoundedRect(transform transform: UnsafePointer<CGAffineTransform>?, rect rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat) func __moveTo(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat) func __addLineTo(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat) func __addQuadCurve(transform m: UnsafePointer<CGAffineTransform>?, cpx cpx: CGFloat, cpy cpy: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func __addCurve(transform m: UnsafePointer<CGAffineTransform>?, cp1x cp1x: CGFloat, cp1y cp1y: CGFloat, cp2x cp2x: CGFloat, cp2y cp2y: CGFloat, endingAtX x: CGFloat, y y: CGFloat) func closeSubpath() func __addRect(transform m: UnsafePointer<CGAffineTransform>?, rect rect: CGRect) func __addRects(transform m: UnsafePointer<CGAffineTransform>?, rects rects: UnsafePointer<CGRect>?, count count: Int) func __addLines(transform m: UnsafePointer<CGAffineTransform>?, between points: UnsafePointer<CGPoint>?, count count: Int) func __addEllipse(transform m: UnsafePointer<CGAffineTransform>?, rect rect: CGRect) func __addRelativeArc(transform matrix: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, delta delta: CGFloat) func __addArc(transform m: UnsafePointer<CGAffineTransform>?, x x: CGFloat, y y: CGFloat, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func __addArc(transform m: UnsafePointer<CGAffineTransform>?, x1 x1: CGFloat, y1 y1: CGFloat, x2 x2: CGFloat, y2 y2: CGFloat, radius radius: CGFloat) func __addPath(transform m: UnsafePointer<CGAffineTransform>?, path path2: CGPath) } extension CGMutablePath { func addRoundedRect(in rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat, transform transform: CGAffineTransform = default) func move(to point: CGPoint, transform transform: CGAffineTransform = default) func addLine(to point: CGPoint, transform transform: CGAffineTransform = default) func addQuadCurve(to end: CGPoint, control control: CGPoint, transform transform: CGAffineTransform = default) func addCurve(to end: CGPoint, control1 control1: CGPoint, control2 control2: CGPoint, transform transform: CGAffineTransform = default) func addRect(_ rect: CGRect, transform transform: CGAffineTransform = default) func addRects(_ rects: [CGRect], transform transform: CGAffineTransform = default) func addLines(between points: [CGPoint], transform transform: CGAffineTransform = default) func addEllipse(in rect: CGRect, transform transform: CGAffineTransform = default) func addRelativeArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, delta delta: CGFloat, transform transform: CGAffineTransform = default) func addArc(center center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool, transform transform: CGAffineTransform = default) func addArc(tangent1End tangent1End: CGPoint, tangent2End tangent2End: CGPoint, radius radius: CGFloat, transform transform: CGAffineTransform = default) func addPath(_ path: CGPath, transform transform: CGAffineTransform = default) } |
Modified CGMutablePath.closeSubpath()
Name | Declaration | |
---|---|---|
From | CGPathCloseSubpath(_:) | func CGPathCloseSubpath(_ path: CGMutablePath?) |
To | closeSubpath() | func closeSubpath() |
Modified CGMutablePath.init()
Name | Declaration | |
---|---|---|
From | CGPathCreateMutable() | func CGPathCreateMutable() -> CGMutablePath |
To | init() | init() |
Modified CGPath
Declaration | Protocols | |
---|---|---|
From | class CGPath { } | -- |
To | class CGPath { func copy(dashingWithPhase phase: CGFloat, lengths lengths: [CGFloat], transform transform: CGAffineTransform = default) -> CGPath func copy(strokingWithWidth lineWidth: CGFloat, lineCap lineCap: CGLineCap, lineJoin lineJoin: CGLineJoin, miterLimit miterLimit: CGFloat, transform transform: CGAffineTransform = default) -> CGPath func contains(_ point: CGPoint, using rule: CGPathFillRule = default, transform transform: CGAffineTransform = default) -> Bool class var typeID: CFTypeID { get } func copy() -> CGPath? func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? func mutableCopy() -> CGMutablePath? func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? init(rect rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) init(ellipseIn rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) init(roundedRect rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat, transform transform: UnsafePointer<CGAffineTransform>?) init?(__byDashing path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, phase phase: CGFloat, lengths lengths: UnsafePointer<CGFloat>?, count count: Int) init?(__byStroking path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, lineWidth lineWidth: CGFloat, lineCap lineCap: CGLineCap, lineJoin lineJoin: CGLineJoin, miterLimit miterLimit: CGFloat) func __equalTo(_ path2: CGPath) -> Bool var isEmpty: Bool { get } func isRect(_ rect: UnsafeMutablePointer<CGRect>?) -> Bool var currentPoint: CGPoint { get } var boundingBox: CGRect { get } var boundingBoxOfPath: CGRect { get } func __containsPoint(transform m: UnsafePointer<CGAffineTransform>?, point point: CGPoint, eoFill eoFill: Bool) -> Bool func apply(info info: UnsafeMutableRawPointer?, function function: CoreGraphics.CGPathApplierFunction) } extension CGPath { class var typeID: CFTypeID { get } func copy() -> CGPath? func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? func mutableCopy() -> CGMutablePath? func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? init(rect rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) init(ellipseIn rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) init(roundedRect rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat, transform transform: UnsafePointer<CGAffineTransform>?) init?(__byDashing path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, phase phase: CGFloat, lengths lengths: UnsafePointer<CGFloat>?, count count: Int) init?(__byStroking path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, lineWidth lineWidth: CGFloat, lineCap lineCap: CGLineCap, lineJoin lineJoin: CGLineJoin, miterLimit miterLimit: CGFloat) func __equalTo(_ path2: CGPath) -> Bool var isEmpty: Bool { get } func isRect(_ rect: UnsafeMutablePointer<CGRect>?) -> Bool var currentPoint: CGPoint { get } var boundingBox: CGRect { get } var boundingBoxOfPath: CGRect { get } func __containsPoint(transform m: UnsafePointer<CGAffineTransform>?, point point: CGPoint, eoFill eoFill: Bool) -> Bool func apply(info info: UnsafeMutableRawPointer?, function function: CoreGraphics.CGPathApplierFunction) } extension CGPath : Equatable { } extension CGPath { func copy(dashingWithPhase phase: CGFloat, lengths lengths: [CGFloat], transform transform: CGAffineTransform = default) -> CGPath func copy(strokingWithWidth lineWidth: CGFloat, lineCap lineCap: CGLineCap, lineJoin lineJoin: CGLineJoin, miterLimit miterLimit: CGFloat, transform transform: CGAffineTransform = default) -> CGPath func contains(_ point: CGPoint, using rule: CGPathFillRule = default, transform transform: CGAffineTransform = default) -> Bool } | Equatable |
Name | Declaration | |
---|---|---|
From | CGPathApply(_:_:_:) | func CGPathApply(_ path: CGPath?, _ info: UnsafeMutablePointer<Void>, _ function: CGPathApplierFunction?) |
To | apply(info:function:) | func apply(info info: UnsafeMutableRawPointer?, function function: CoreGraphics.CGPathApplierFunction) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPathGetBoundingBox(_:) | func CGPathGetBoundingBox(_ path: CGPath?) -> CGRect | -- |
To | boundingBox | var boundingBox: CGRect { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPathGetPathBoundingBox(_:) | func CGPathGetPathBoundingBox(_ path: CGPath?) -> CGRect | -- |
To | boundingBoxOfPath | var boundingBoxOfPath: CGRect { get } | yes |
Modified CGPath.copy() -> CGPath?
Name | Declaration | Introduction | |
---|---|---|---|
From | CGPathCreateCopy(_:) | func CGPathCreateCopy(_ path: CGPath?) -> CGPath? | tvOS 9.0 |
To | copy() | func copy() -> CGPath? | tvOS 10.0 |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGPathCreateCopyByTransformingPath(_:_:) | func CGPathCreateCopyByTransformingPath(_ path: CGPath?, _ transform: UnsafePointer<CGAffineTransform>) -> CGPath? | tvOS 9.0 |
To | copy(using:) | func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? | tvOS 10.0 |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPathGetCurrentPoint(_:) | func CGPathGetCurrentPoint(_ path: CGPath?) -> CGPoint | -- |
To | currentPoint | var currentPoint: CGPoint { get } | yes |
Name | Declaration | |
---|---|---|
From | CGPathCreateCopyByDashingPath(_:_:_:_:_:) | func CGPathCreateCopyByDashingPath(_ path: CGPath?, _ transform: UnsafePointer<CGAffineTransform>, _ phase: CGFloat, _ lengths: UnsafePointer<CGFloat>, _ count: Int) -> CGPath? |
To | init(__byDashing:transform:phase:lengths:count:) | init?(__byDashing path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, phase phase: CGFloat, lengths lengths: UnsafePointer<CGFloat>?, count count: Int) |
Name | Declaration | |
---|---|---|
From | CGPathCreateCopyByStrokingPath(_:_:_:_:_:_:) | func CGPathCreateCopyByStrokingPath(_ path: CGPath?, _ transform: UnsafePointer<CGAffineTransform>, _ lineWidth: CGFloat, _ lineCap: CGLineCap, _ lineJoin: CGLineJoin, _ miterLimit: CGFloat) -> CGPath? |
To | init(__byStroking:transform:lineWidth:lineCap:lineJoin:miterLimit:) | init?(__byStroking path: CGPath, transform transform: UnsafePointer<CGAffineTransform>?, lineWidth lineWidth: CGFloat, lineCap lineCap: CGLineCap, lineJoin lineJoin: CGLineJoin, miterLimit miterLimit: CGFloat) |
Name | Declaration | |
---|---|---|
From | CGPathCreateWithEllipseInRect(_:_:) | func CGPathCreateWithEllipseInRect(_ rect: CGRect, _ transform: UnsafePointer<CGAffineTransform>) -> CGPath |
To | init(ellipseIn:transform:) | init(ellipseIn rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) |
Name | Declaration | |
---|---|---|
From | CGPathCreateWithRect(_:_:) | func CGPathCreateWithRect(_ rect: CGRect, _ transform: UnsafePointer<CGAffineTransform>) -> CGPath |
To | init(rect:transform:) | init(rect rect: CGRect, transform transform: UnsafePointer<CGAffineTransform>?) |
Name | Declaration | |
---|---|---|
From | CGPathCreateWithRoundedRect(_:_:_:_:) | func CGPathCreateWithRoundedRect(_ rect: CGRect, _ cornerWidth: CGFloat, _ cornerHeight: CGFloat, _ transform: UnsafePointer<CGAffineTransform>) -> CGPath |
To | init(roundedRect:cornerWidth:cornerHeight:transform:) | init(roundedRect rect: CGRect, cornerWidth cornerWidth: CGFloat, cornerHeight cornerHeight: CGFloat, transform transform: UnsafePointer<CGAffineTransform>?) |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGPathIsEmpty(_:) | func CGPathIsEmpty(_ path: CGPath?) -> Bool | tvOS 9.0 | -- |
To | isEmpty | var isEmpty: Bool { get } | tvOS 10.0 | yes |
Name | Declaration | |
---|---|---|
From | CGPathIsRect(_:_:) | func CGPathIsRect(_ path: CGPath?, _ rect: UnsafeMutablePointer<CGRect>) -> Bool |
To | isRect(_:) | func isRect(_ rect: UnsafeMutablePointer<CGRect>?) -> Bool |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGPathCreateMutableCopy(_:) | func CGPathCreateMutableCopy(_ path: CGPath?) -> CGMutablePath? | tvOS 9.0 |
To | mutableCopy() | func mutableCopy() -> CGMutablePath? | tvOS 10.0 |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGPathCreateMutableCopyByTransformingPath(_:_:) | func CGPathCreateMutableCopyByTransformingPath(_ path: CGPath?, _ transform: UnsafePointer<CGAffineTransform>) -> CGMutablePath? | tvOS 9.0 |
To | mutableCopy(using:) | func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? | tvOS 10.0 |
Modified CGPath.CGPathGetTypeID() -> CFTypeID
Name | Declaration | |
---|---|---|
From | CGPathGetTypeID() | func CGPathGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGPathDrawingMode [enum]
Declaration | |
---|---|
From | enum CGPathDrawingMode : Int32 { case Fill case EOFill case Stroke case FillStroke case EOFillStroke } |
To | enum CGPathDrawingMode : Int32 { case fill case eoFill case stroke case fillStroke case eoFillStroke } |
Modified CGPathDrawingMode.eoFill
Declaration | |
---|---|
From | case EOFill |
To | case eoFill |
Modified CGPathDrawingMode.eoFillStroke
Declaration | |
---|---|
From | case EOFillStroke |
To | case eoFillStroke |
Modified CGPathDrawingMode.fill
Declaration | |
---|---|
From | case Fill |
To | case fill |
Modified CGPathDrawingMode.fillStroke
Declaration | |
---|---|
From | case FillStroke |
To | case fillStroke |
Modified CGPathDrawingMode.stroke
Declaration | |
---|---|
From | case Stroke |
To | case stroke |
Modified CGPathElementType [enum]
Declaration | |
---|---|
From | enum CGPathElementType : Int32 { case MoveToPoint case AddLineToPoint case AddQuadCurveToPoint case AddCurveToPoint case CloseSubpath } |
To | enum CGPathElementType : Int32 { case moveToPoint case addLineToPoint case addQuadCurveToPoint case addCurveToPoint case closeSubpath } |
Modified CGPathElementType.addCurveToPoint
Declaration | |
---|---|
From | case AddCurveToPoint |
To | case addCurveToPoint |
Modified CGPathElementType.addLineToPoint
Declaration | |
---|---|
From | case AddLineToPoint |
To | case addLineToPoint |
Declaration | |
---|---|
From | case AddQuadCurveToPoint |
To | case addQuadCurveToPoint |
Modified CGPathElementType.closeSubpath
Declaration | |
---|---|
From | case CloseSubpath |
To | case closeSubpath |
Modified CGPathElementType.moveToPoint
Declaration | |
---|---|
From | case MoveToPoint |
To | case moveToPoint |
Modified CGPattern
Declaration | |
---|---|
From | class CGPattern { } |
To | class CGPattern { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, bounds bounds: CGRect, matrix matrix: CGAffineTransform, xStep xStep: CGFloat, yStep yStep: CGFloat, tiling tiling: CGPatternTiling, isColored isColored: Bool, callbacks callbacks: UnsafePointer<CGPatternCallbacks>) } extension CGPattern { class var typeID: CFTypeID { get } init?(info info: UnsafeMutableRawPointer?, bounds bounds: CGRect, matrix matrix: CGAffineTransform, xStep xStep: CGFloat, yStep yStep: CGFloat, tiling tiling: CGPatternTiling, isColored isColored: Bool, callbacks callbacks: UnsafePointer<CGPatternCallbacks>) } |
Name | Declaration | |
---|---|---|
From | CGPatternCreate(_:_:_:_:_:_:_:_:) | func CGPatternCreate(_ info: UnsafeMutablePointer<Void>, _ bounds: CGRect, _ matrix: CGAffineTransform, _ xStep: CGFloat, _ yStep: CGFloat, _ tiling: CGPatternTiling, _ isColored: Bool, _ callbacks: UnsafePointer<CGPatternCallbacks>) -> CGPattern? |
To | init(info:bounds:matrix:xStep:yStep:tiling:isColored:callbacks:) | init?(info info: UnsafeMutableRawPointer?, bounds bounds: CGRect, matrix matrix: CGAffineTransform, xStep xStep: CGFloat, yStep yStep: CGFloat, tiling tiling: CGPatternTiling, isColored isColored: Bool, callbacks callbacks: UnsafePointer<CGPatternCallbacks>) |
Name | Declaration | |
---|---|---|
From | CGPatternGetTypeID() | func CGPatternGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGPatternCallbacks [struct]
Declaration | |
---|---|
From | struct CGPatternCallbacks { var version: UInt32 var drawPattern: CGPatternDrawPatternCallback? var releaseInfo: CGPatternReleaseInfoCallback? init() init(version version: UInt32, drawPattern drawPattern: CGPatternDrawPatternCallback?, releaseInfo releaseInfo: CGPatternReleaseInfoCallback?) } |
To | struct CGPatternCallbacks { var version: UInt32 var drawPattern: CoreGraphics.CGPatternDrawPatternCallback? var releaseInfo: CoreGraphics.CGPatternReleaseInfoCallback? init() init(version version: UInt32, drawPattern drawPattern: CoreGraphics.CGPatternDrawPatternCallback?, releaseInfo releaseInfo: CoreGraphics.CGPatternReleaseInfoCallback?) } |
Modified CGPatternCallbacks.drawPattern
Declaration | |
---|---|
From | var drawPattern: CGPatternDrawPatternCallback? |
To | var drawPattern: CoreGraphics.CGPatternDrawPatternCallback? |
Modified CGPatternCallbacks.releaseInfo
Declaration | |
---|---|
From | var releaseInfo: CGPatternReleaseInfoCallback? |
To | var releaseInfo: CoreGraphics.CGPatternReleaseInfoCallback? |
Modified CGPatternTiling [enum]
Declaration | |
---|---|
From | enum CGPatternTiling : Int32 { case NoDistortion case ConstantSpacingMinimalDistortion case ConstantSpacing } |
To | enum CGPatternTiling : Int32 { case noDistortion case constantSpacingMinimalDistortion case constantSpacing } |
Modified CGPatternTiling.constantSpacing
Declaration | |
---|---|
From | case ConstantSpacing |
To | case constantSpacing |
Declaration | |
---|---|
From | case ConstantSpacingMinimalDistortion |
To | case constantSpacingMinimalDistortion |
Modified CGPatternTiling.noDistortion
Declaration | |
---|---|
From | case NoDistortion |
To | case noDistortion |
Modified CGPDFBox [enum]
Declaration | |
---|---|
From | enum CGPDFBox : Int32 { case MediaBox case CropBox case BleedBox case TrimBox case ArtBox } |
To | enum CGPDFBox : Int32 { case mediaBox case cropBox case bleedBox case trimBox case artBox } |
Modified CGPDFBox.artBox
Declaration | |
---|---|
From | case ArtBox |
To | case artBox |
Modified CGPDFBox.bleedBox
Declaration | |
---|---|
From | case BleedBox |
To | case bleedBox |
Modified CGPDFBox.cropBox
Declaration | |
---|---|
From | case CropBox |
To | case cropBox |
Modified CGPDFBox.mediaBox
Declaration | |
---|---|
From | case MediaBox |
To | case mediaBox |
Modified CGPDFBox.trimBox
Declaration | |
---|---|
From | case TrimBox |
To | case trimBox |
Modified CGPDFDataFormat [enum]
Declaration | |
---|---|
From | enum CGPDFDataFormat : Int32 { case Raw case JPEGEncoded case JPEG2000 } |
To | enum CGPDFDataFormat : Int32 { case raw case jpegEncoded case JPEG2000 } |
Modified CGPDFDataFormat.jpegEncoded
Declaration | |
---|---|
From | case JPEGEncoded |
To | case jpegEncoded |
Modified CGPDFDataFormat.raw
Declaration | |
---|---|
From | case Raw |
To | case raw |
Modified CGPDFDocument
Declaration | |
---|---|
From | class CGPDFDocument { } |
To | class CGPDFDocument { init?(_ provider: CGDataProvider) init?(_ url: CFURL) func getVersion(majorVersion majorVersion: UnsafeMutablePointer<Int32>, minorVersion minorVersion: UnsafeMutablePointer<Int32>) var isEncrypted: Bool { get } func unlockWithPassword(_ password: UnsafePointer<Int8>) -> Bool var isUnlocked: Bool { get } var allowsPrinting: Bool { get } var allowsCopying: Bool { get } var numberOfPages: Int { get } func page(at pageNumber: Int) -> CGPDFPage? var catalog: CGPDFDictionaryRef? { get } var info: CGPDFDictionaryRef? { get } var fileIdentifier: CGPDFArrayRef? { get } class var typeID: CFTypeID { get } func getMediaBox(page page: Int32) -> CGRect func getCropBox(page page: Int32) -> CGRect func getBleedBox(page page: Int32) -> CGRect func getTrimBox(page page: Int32) -> CGRect func getArtBox(page page: Int32) -> CGRect func getRotationAngle(page page: Int32) -> Int32 } extension CGPDFDocument { init?(_ provider: CGDataProvider) init?(_ url: CFURL) func getVersion(majorVersion majorVersion: UnsafeMutablePointer<Int32>, minorVersion minorVersion: UnsafeMutablePointer<Int32>) var isEncrypted: Bool { get } func unlockWithPassword(_ password: UnsafePointer<Int8>) -> Bool var isUnlocked: Bool { get } var allowsPrinting: Bool { get } var allowsCopying: Bool { get } var numberOfPages: Int { get } func page(at pageNumber: Int) -> CGPDFPage? var catalog: CGPDFDictionaryRef? { get } var info: CGPDFDictionaryRef? { get } var fileIdentifier: CGPDFArrayRef? { get } class var typeID: CFTypeID { get } func getMediaBox(page page: Int32) -> CGRect func getCropBox(page page: Int32) -> CGRect func getBleedBox(page page: Int32) -> CGRect func getTrimBox(page page: Int32) -> CGRect func getArtBox(page page: Int32) -> CGRect func getRotationAngle(page page: Int32) -> Int32 } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentAllowsCopying(_:) | func CGPDFDocumentAllowsCopying(_ document: CGPDFDocument?) -> Bool | -- |
To | allowsCopying | var allowsCopying: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentAllowsPrinting(_:) | func CGPDFDocumentAllowsPrinting(_ document: CGPDFDocument?) -> Bool | -- |
To | allowsPrinting | var allowsPrinting: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentGetCatalog(_:) | func CGPDFDocumentGetCatalog(_ document: CGPDFDocument?) -> CGPDFDictionaryRef | -- |
To | catalog | var catalog: CGPDFDictionaryRef? { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentGetID(_:) | func CGPDFDocumentGetID(_ document: CGPDFDocument?) -> CGPDFArrayRef | -- |
To | fileIdentifier | var fileIdentifier: CGPDFArrayRef? { get } | yes |
Name | Declaration | |
---|---|---|
From | CGPDFDocumentGetVersion(_:_:_:) | func CGPDFDocumentGetVersion(_ document: CGPDFDocument?, _ majorVersion: UnsafeMutablePointer<Int32>, _ minorVersion: UnsafeMutablePointer<Int32>) |
To | getVersion(majorVersion:minorVersion:) | func getVersion(majorVersion majorVersion: UnsafeMutablePointer<Int32>, minorVersion minorVersion: UnsafeMutablePointer<Int32>) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentGetInfo(_:) | func CGPDFDocumentGetInfo(_ document: CGPDFDocument?) -> CGPDFDictionaryRef | -- |
To | info | var info: CGPDFDictionaryRef? { get } | yes |
Modified CGPDFDocument.init(_: CFURL)
Name | Declaration | |
---|---|---|
From | CGPDFDocumentCreateWithURL(_:) | func CGPDFDocumentCreateWithURL(_ url: CFURL?) -> CGPDFDocument? |
To | init(_:) | init?(_ url: CFURL) |
Name | Declaration | |
---|---|---|
From | CGPDFDocumentCreateWithProvider(_:) | func CGPDFDocumentCreateWithProvider(_ provider: CGDataProvider?) -> CGPDFDocument? |
To | init(_:) | init?(_ provider: CGDataProvider) |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentIsEncrypted(_:) | func CGPDFDocumentIsEncrypted(_ document: CGPDFDocument?) -> Bool | -- |
To | isEncrypted | var isEncrypted: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentIsUnlocked(_:) | func CGPDFDocumentIsUnlocked(_ document: CGPDFDocument?) -> Bool | -- |
To | isUnlocked | var isUnlocked: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFDocumentGetNumberOfPages(_:) | func CGPDFDocumentGetNumberOfPages(_ document: CGPDFDocument?) -> Int | -- |
To | numberOfPages | var numberOfPages: Int { get } | yes |
Name | Declaration | |
---|---|---|
From | CGPDFDocumentGetPage(_:_:) | func CGPDFDocumentGetPage(_ document: CGPDFDocument?, _ pageNumber: Int) -> CGPDFPage? |
To | page(at:) | func page(at pageNumber: Int) -> CGPDFPage? |
Name | Declaration | |
---|---|---|
From | CGPDFDocumentGetTypeID() | func CGPDFDocumentGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Name | Declaration | |
---|---|---|
From | CGPDFDocumentUnlockWithPassword(_:_:) | func CGPDFDocumentUnlockWithPassword(_ document: CGPDFDocument?, _ password: UnsafePointer<Int8>) -> Bool |
To | unlockWithPassword(_:) | func unlockWithPassword(_ password: UnsafePointer<Int8>) -> Bool |
Modified CGPDFObjectType [enum]
Declaration | |
---|---|
From | enum CGPDFObjectType : Int32 { case Null case Boolean case Integer case Real case Name case String case Array case Dictionary case Stream } |
To | enum CGPDFObjectType : Int32 { case null case boolean case integer case real case name case string case array case dictionary case stream } |
Modified CGPDFObjectType.array
Declaration | |
---|---|
From | case Array |
To | case array |
Modified CGPDFObjectType.boolean
Declaration | |
---|---|
From | case Boolean |
To | case boolean |
Modified CGPDFObjectType.dictionary
Declaration | |
---|---|
From | case Dictionary |
To | case dictionary |
Modified CGPDFObjectType.integer
Declaration | |
---|---|
From | case Integer |
To | case integer |
Modified CGPDFObjectType.name
Declaration | |
---|---|
From | case Name |
To | case name |
Modified CGPDFObjectType.null
Declaration | |
---|---|
From | case Null |
To | case null |
Modified CGPDFObjectType.real
Declaration | |
---|---|
From | case Real |
To | case real |
Modified CGPDFObjectType.stream
Declaration | |
---|---|
From | case Stream |
To | case stream |
Modified CGPDFObjectType.string
Declaration | |
---|---|
From | case String |
To | case string |
Modified CGPDFPage
Declaration | |
---|---|
From | class CGPDFPage { } |
To | class CGPDFPage { var document: CGPDFDocument? { get } var pageNumber: Int { get } func getBoxRect(_ box: CGPDFBox) -> CGRect var rotationAngle: Int32 { get } func getDrawingTransform(_ box: CGPDFBox, rect rect: CGRect, rotate rotate: Int32, preserveAspectRatio preserveAspectRatio: Bool) -> CGAffineTransform var dictionary: CGPDFDictionaryRef? { get } class var typeID: CFTypeID { get } } extension CGPDFPage { var document: CGPDFDocument? { get } var pageNumber: Int { get } func getBoxRect(_ box: CGPDFBox) -> CGRect var rotationAngle: Int32 { get } func getDrawingTransform(_ box: CGPDFBox, rect rect: CGRect, rotate rotate: Int32, preserveAspectRatio preserveAspectRatio: Bool) -> CGAffineTransform var dictionary: CGPDFDictionaryRef? { get } class var typeID: CFTypeID { get } } |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFPageGetDictionary(_:) | func CGPDFPageGetDictionary(_ page: CGPDFPage?) -> CGPDFDictionaryRef | -- |
To | dictionary | var dictionary: CGPDFDictionaryRef? { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFPageGetDocument(_:) | func CGPDFPageGetDocument(_ page: CGPDFPage?) -> CGPDFDocument? | -- |
To | document | var document: CGPDFDocument? { get } | yes |
Name | Declaration | Introduction | |
---|---|---|---|
From | CGPDFPageGetBoxRect(_:_:) | func CGPDFPageGetBoxRect(_ page: CGPDFPage?, _ box: CGPDFBox) -> CGRect | tvOS 9.0 |
To | getBoxRect(_:) | func getBoxRect(_ box: CGPDFBox) -> CGRect | tvOS 10.0 |
Name | Declaration | |
---|---|---|
From | CGPDFPageGetDrawingTransform(_:_:_:_:_:) | func CGPDFPageGetDrawingTransform(_ page: CGPDFPage?, _ box: CGPDFBox, _ rect: CGRect, _ rotate: Int32, _ preserveAspectRatio: Bool) -> CGAffineTransform |
To | getDrawingTransform(_:rect:rotate:preserveAspectRatio:) | func getDrawingTransform(_ box: CGPDFBox, rect rect: CGRect, rotate rotate: Int32, preserveAspectRatio preserveAspectRatio: Bool) -> CGAffineTransform |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFPageGetPageNumber(_:) | func CGPDFPageGetPageNumber(_ page: CGPDFPage?) -> Int | -- |
To | pageNumber | var pageNumber: Int { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGPDFPageGetRotationAngle(_:) | func CGPDFPageGetRotationAngle(_ page: CGPDFPage?) -> Int32 | -- |
To | rotationAngle | var rotationAngle: Int32 { get } | yes |
Name | Declaration | |
---|---|---|
From | CGPDFPageGetTypeID() | func CGPDFPageGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGPoint [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGPoint { var x: CGFloat var y: CGFloat init() init(x x: CGFloat, y y: CGFloat) } extension CGPoint { static var zero: CGPoint { get } init(x x: Int, y y: Int) init(x x: Double, y y: Double) static var zeroPoint: CGPoint { get } } extension CGPoint : Equatable { } extension CGPoint : _Reflectable { } extension CGPoint { static var zero: CGPoint { get } init(x x: Int, y y: Int) init(x x: Double, y y: Double) static var zeroPoint: CGPoint { get } } extension CGPoint : Equatable { } extension CGPoint : _Reflectable { } | Equatable |
To | struct CGPoint { var x: CGFloat var y: CGFloat init() init(x x: CGFloat, y y: CGFloat) func applying(_ t: CGAffineTransform) -> CGPoint static let zero: CGPoint init(x x: CGFloat, y y: CGFloat) func equalTo(_ point2: CGPoint) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ point: UnsafeMutablePointer<CGPoint>) -> Bool static var zero: CGPoint { get } init(x x: Int, y y: Int) init(x x: Double, y y: Double) init?(dictionaryRepresentation dict: CFDictionary) } extension CGPoint { func applying(_ t: CGAffineTransform) -> CGPoint } extension CGPoint : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGPoint : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGPoint { static let zero: CGPoint init(x x: CGFloat, y y: CGFloat) func equalTo(_ point2: CGPoint) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ point: UnsafeMutablePointer<CGPoint>) -> Bool } extension CGPoint : Equatable { } extension CGPoint : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGPoint : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGPoint { static var zero: CGPoint { get } init(x x: Int, y y: Int) init(x x: Double, y y: Double) init?(dictionaryRepresentation dict: CFDictionary) } | CustomDebugStringConvertible, CustomPlaygroundQuickLookable, CustomReflectable, Equatable |
Name | Declaration | |
---|---|---|
From | CGPointApplyAffineTransform(_:_:) | func CGPointApplyAffineTransform(_ point: CGPoint, _ t: CGAffineTransform) -> CGPoint |
To | applying(_:) | func applying(_ t: CGAffineTransform) -> CGPoint |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGPointCreateDictionaryRepresentation(_:) | func CGPointCreateDictionaryRepresentation(_ point: CGPoint) -> CFDictionary | tvOS 9.0 | -- |
To | dictionaryRepresentation | var dictionaryRepresentation: CFDictionary { get } | tvOS 10.0 | yes |
Modified CGPoint.equalTo(_: CGPoint) -> Bool
Name | Declaration | |
---|---|---|
From | CGPointEqualToPoint(_:_:) | func CGPointEqualToPoint(_ point1: CGPoint, _ point2: CGPoint) -> Bool |
To | equalTo(_:) | func equalTo(_ point2: CGPoint) -> Bool |
Modified CGRect [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGRect { var origin: CGPoint var size: CGSize init() init(origin origin: CGPoint, size size: CGSize) } extension CGRect { static var zero: CGRect { get } static var null: CGRect { get } static var infinite: CGRect { get } init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) init(x x: Double, y y: Double, width width: Double, height height: Double) init(x x: Int, y y: Int, width width: Int, height height: Int) var width: CGFloat { get } var height: CGFloat { get } var minX: CGFloat { get } var midX: CGFloat { get } var maxX: CGFloat { get } var minY: CGFloat { get } var midY: CGFloat { get } var maxY: CGFloat { get } var isNull: Bool { get } var isEmpty: Bool { get } var isInfinite: Bool { get } var standardized: CGRect { get } var integral: CGRect { get } mutating func standardizeInPlace() mutating func makeIntegralInPlace() @warn_unused_result(mutable_variant="insetInPlace") func insetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect mutating func insetInPlace(dx dx: CGFloat, dy dy: CGFloat) @warn_unused_result(mutable_variant="offsetInPlace") func offsetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect mutating func offsetInPlace(dx dx: CGFloat, dy dy: CGFloat) @warn_unused_result(mutable_variant="unionInPlace") func union(_ rect: CGRect) -> CGRect mutating func unionInPlace(_ rect: CGRect) @warn_unused_result(mutable_variant="intersectInPlace") func intersect(_ rect: CGRect) -> CGRect mutating func intersectInPlace(_ rect: CGRect) @warn_unused_result func divide(_ atDistance: CGFloat, fromEdge fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) @warn_unused_result func contains(_ rect: CGRect) -> Bool @warn_unused_result func contains(_ point: CGPoint) -> Bool @warn_unused_result func intersects(_ rect: CGRect) -> Bool static var zeroRect: CGRect { get } static var infiniteRect: CGRect { get } static var nullRect: CGRect { get } var standardizedRect: CGRect { get } var integerRect: CGRect { get } mutating func standardize() -> CGRect mutating func integerize() func rectByInsetting(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func inset(dx dx: CGFloat, dy dy: CGFloat) func rectByOffsetting(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func offset(dx dx: CGFloat, dy dy: CGFloat) mutating func union(_ withRect: CGRect) func rectByUnion(_ withRect: CGRect) -> CGRect mutating func intersect(_ withRect: CGRect) func rectByIntersecting(_ withRect: CGRect) -> CGRect func rectsByDividing(_ atDistance: CGFloat, fromEdge fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) } extension CGRect : Equatable { } extension CGRect : _Reflectable { } extension CGRect { static var zero: CGRect { get } static var null: CGRect { get } static var infinite: CGRect { get } init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) init(x x: Double, y y: Double, width width: Double, height height: Double) init(x x: Int, y y: Int, width width: Int, height height: Int) var width: CGFloat { get } var height: CGFloat { get } var minX: CGFloat { get } var midX: CGFloat { get } var maxX: CGFloat { get } var minY: CGFloat { get } var midY: CGFloat { get } var maxY: CGFloat { get } var isNull: Bool { get } var isEmpty: Bool { get } var isInfinite: Bool { get } var standardized: CGRect { get } var integral: CGRect { get } mutating func standardizeInPlace() mutating func makeIntegralInPlace() @warn_unused_result(mutable_variant="insetInPlace") func insetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect mutating func insetInPlace(dx dx: CGFloat, dy dy: CGFloat) @warn_unused_result(mutable_variant="offsetInPlace") func offsetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect mutating func offsetInPlace(dx dx: CGFloat, dy dy: CGFloat) @warn_unused_result(mutable_variant="unionInPlace") func union(_ rect: CGRect) -> CGRect mutating func unionInPlace(_ rect: CGRect) @warn_unused_result(mutable_variant="intersectInPlace") func intersect(_ rect: CGRect) -> CGRect mutating func intersectInPlace(_ rect: CGRect) @warn_unused_result func divide(_ atDistance: CGFloat, fromEdge fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) @warn_unused_result func contains(_ rect: CGRect) -> Bool @warn_unused_result func contains(_ point: CGPoint) -> Bool @warn_unused_result func intersects(_ rect: CGRect) -> Bool static var zeroRect: CGRect { get } static var infiniteRect: CGRect { get } static var nullRect: CGRect { get } var standardizedRect: CGRect { get } var integerRect: CGRect { get } mutating func standardize() -> CGRect mutating func integerize() func rectByInsetting(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func inset(dx dx: CGFloat, dy dy: CGFloat) func rectByOffsetting(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func offset(dx dx: CGFloat, dy dy: CGFloat) mutating func union(_ withRect: CGRect) func rectByUnion(_ withRect: CGRect) -> CGRect mutating func intersect(_ withRect: CGRect) func rectByIntersecting(_ withRect: CGRect) -> CGRect func rectsByDividing(_ atDistance: CGFloat, fromEdge fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) } extension CGRect : Equatable { } extension CGRect : _Reflectable { } | Equatable |
To | struct CGRect { var origin: CGPoint var size: CGSize init() init(origin origin: CGPoint, size size: CGSize) func applying(_ t: CGAffineTransform) -> CGRect static let zero: CGRect static let null: CGRect static let infinite: CGRect init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) var minX: CGFloat { get } var midX: CGFloat { get } var maxX: CGFloat { get } var minY: CGFloat { get } var midY: CGFloat { get } var maxY: CGFloat { get } var width: CGFloat { get } var height: CGFloat { get } func equalTo(_ rect2: CGRect) -> Bool var standardized: CGRect { get } var isEmpty: Bool { get } var isNull: Bool { get } var isInfinite: Bool { get } func insetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect var integral: CGRect { get } func union(_ r2: CGRect) -> CGRect func intersection(_ r2: CGRect) -> CGRect func offsetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func __divided(slice slice: UnsafeMutablePointer<CGRect>, remainder remainder: UnsafeMutablePointer<CGRect>, atDistance amount: CGFloat, from edge: CGRectEdge) func contains(_ point: CGPoint) -> Bool func contains(_ rect2: CGRect) -> Bool func intersects(_ rect2: CGRect) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ rect: UnsafeMutablePointer<CGRect>) -> Bool static var zero: CGRect { get } init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) init(x x: Double, y y: Double, width width: Double, height height: Double) init(x x: Int, y y: Int, width width: Int, height height: Int) init?(dictionaryRepresentation dict: CFDictionary) func divided(atDistance atDistance: CGFloat, from fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) } extension CGRect { func applying(_ t: CGAffineTransform) -> CGRect } extension CGRect : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGRect : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGRect { static let zero: CGRect static let null: CGRect static let infinite: CGRect init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) var minX: CGFloat { get } var midX: CGFloat { get } var maxX: CGFloat { get } var minY: CGFloat { get } var midY: CGFloat { get } var maxY: CGFloat { get } var width: CGFloat { get } var height: CGFloat { get } func equalTo(_ rect2: CGRect) -> Bool var standardized: CGRect { get } var isEmpty: Bool { get } var isNull: Bool { get } var isInfinite: Bool { get } func insetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect var integral: CGRect { get } func union(_ r2: CGRect) -> CGRect func intersection(_ r2: CGRect) -> CGRect func offsetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect func __divided(slice slice: UnsafeMutablePointer<CGRect>, remainder remainder: UnsafeMutablePointer<CGRect>, atDistance amount: CGFloat, from edge: CGRectEdge) func contains(_ point: CGPoint) -> Bool func contains(_ rect2: CGRect) -> Bool func intersects(_ rect2: CGRect) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ rect: UnsafeMutablePointer<CGRect>) -> Bool } extension CGRect : Equatable { } extension CGRect : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGRect : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGRect { static var zero: CGRect { get } init(x x: CGFloat, y y: CGFloat, width width: CGFloat, height height: CGFloat) init(x x: Double, y y: Double, width width: Double, height height: Double) init(x x: Int, y y: Int, width width: Int, height height: Int) init?(dictionaryRepresentation dict: CFDictionary) func divided(atDistance atDistance: CGFloat, from fromEdge: CGRectEdge) -> (slice: CGRect, remainder: CGRect) } | CustomDebugStringConvertible, CustomPlaygroundQuickLookable, CustomReflectable, Equatable |
Name | Declaration | |
---|---|---|
From | CGRectApplyAffineTransform(_:_:) | func CGRectApplyAffineTransform(_ rect: CGRect, _ t: CGAffineTransform) -> CGRect |
To | applying(_:) | func applying(_ t: CGAffineTransform) -> CGRect |
Modified CGRect.contains(_: CGRect) -> Bool
Name | Declaration | |
---|---|---|
From | CGRectContainsRect(_:_:) | func CGRectContainsRect(_ rect1: CGRect, _ rect2: CGRect) -> Bool |
To | contains(_:) | func contains(_ rect2: CGRect) -> Bool |
Modified CGRect.contains(_: CGPoint) -> Bool
Name | Declaration | |
---|---|---|
From | CGRectContainsPoint(_:_:) | func CGRectContainsPoint(_ rect: CGRect, _ point: CGPoint) -> Bool |
To | contains(_:) | func contains(_ point: CGPoint) -> Bool |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGRectCreateDictionaryRepresentation(_:) | func CGRectCreateDictionaryRepresentation(_ _: CGRect) -> CFDictionary | tvOS 9.0 | -- |
To | dictionaryRepresentation | var dictionaryRepresentation: CFDictionary { get } | tvOS 10.0 | yes |
Modified CGRect.equalTo(_: CGRect) -> Bool
Name | Declaration | |
---|---|---|
From | CGRectEqualToRect(_:_:) | func CGRectEqualToRect(_ rect1: CGRect, _ rect2: CGRect) -> Bool |
To | equalTo(_:) | func equalTo(_ rect2: CGRect) -> Bool |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetHeight(_:) | func CGRectGetHeight(_ rect: CGRect) -> CGFloat | -- |
To | height | var height: CGFloat { get } | yes |
Modified CGRect.infinite
Name | Declaration | |
---|---|---|
From | CGRectInfinite | let CGRectInfinite: CGRect |
To | infinite | static let infinite: CGRect |
Name | Declaration | |
---|---|---|
From | CGRectInset(_:_:_:) | func CGRectInset(_ rect: CGRect, _ dx: CGFloat, _ dy: CGFloat) -> CGRect |
To | insetBy(dx:dy:) | func insetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectIntegral(_:) | func CGRectIntegral(_ rect: CGRect) -> CGRect | -- |
To | integral | var integral: CGRect { get } | yes |
Name | Declaration | |
---|---|---|
From | CGRectIntersection(_:_:) | func CGRectIntersection(_ r1: CGRect, _ r2: CGRect) -> CGRect |
To | intersection(_:) | func intersection(_ r2: CGRect) -> CGRect |
Modified CGRect.intersects(_: CGRect) -> Bool
Name | Declaration | |
---|---|---|
From | CGRectIntersectsRect(_:_:) | func CGRectIntersectsRect(_ rect1: CGRect, _ rect2: CGRect) -> Bool |
To | intersects(_:) | func intersects(_ rect2: CGRect) -> Bool |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectIsEmpty(_:) | func CGRectIsEmpty(_ rect: CGRect) -> Bool | -- |
To | isEmpty | var isEmpty: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectIsInfinite(_:) | func CGRectIsInfinite(_ rect: CGRect) -> Bool | -- |
To | isInfinite | var isInfinite: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectIsNull(_:) | func CGRectIsNull(_ rect: CGRect) -> Bool | -- |
To | isNull | var isNull: Bool { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMaxX(_:) | func CGRectGetMaxX(_ rect: CGRect) -> CGFloat | -- |
To | maxX | var maxX: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMaxY(_:) | func CGRectGetMaxY(_ rect: CGRect) -> CGFloat | -- |
To | maxY | var maxY: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMidX(_:) | func CGRectGetMidX(_ rect: CGRect) -> CGFloat | -- |
To | midX | var midX: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMidY(_:) | func CGRectGetMidY(_ rect: CGRect) -> CGFloat | -- |
To | midY | var midY: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMinX(_:) | func CGRectGetMinX(_ rect: CGRect) -> CGFloat | -- |
To | minX | var minX: CGFloat { get } | yes |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetMinY(_:) | func CGRectGetMinY(_ rect: CGRect) -> CGFloat | -- |
To | minY | var minY: CGFloat { get } | yes |
Modified CGRect.null
Name | Declaration | |
---|---|---|
From | CGRectNull | let CGRectNull: CGRect |
To | null | static let null: CGRect |
Name | Declaration | |
---|---|---|
From | CGRectOffset(_:_:_:) | func CGRectOffset(_ rect: CGRect, _ dx: CGFloat, _ dy: CGFloat) -> CGRect |
To | offsetBy(dx:dy:) | func offsetBy(dx dx: CGFloat, dy dy: CGFloat) -> CGRect |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectStandardize(_:) | func CGRectStandardize(_ rect: CGRect) -> CGRect | -- |
To | standardized | var standardized: CGRect { get } | yes |
Modified CGRect.union(_: CGRect) -> CGRect
Name | Declaration | |
---|---|---|
From | CGRectUnion(_:_:) | func CGRectUnion(_ r1: CGRect, _ r2: CGRect) -> CGRect |
To | union(_:) | func union(_ r2: CGRect) -> CGRect |
Name | Declaration | Readonly | |
---|---|---|---|
From | CGRectGetWidth(_:) | func CGRectGetWidth(_ rect: CGRect) -> CGFloat | -- |
To | width | var width: CGFloat { get } | yes |
Modified CGRectEdge [enum]
Declaration | |
---|---|
From | enum CGRectEdge : UInt32 { case MinXEdge case MinYEdge case MaxXEdge case MaxYEdge } |
To | enum CGRectEdge : UInt32 { case minXEdge case minYEdge case maxXEdge case maxYEdge } |
Modified CGRectEdge.maxXEdge
Declaration | |
---|---|
From | case MaxXEdge |
To | case maxXEdge |
Modified CGRectEdge.maxYEdge
Declaration | |
---|---|
From | case MaxYEdge |
To | case maxYEdge |
Modified CGRectEdge.minXEdge
Declaration | |
---|---|
From | case MinXEdge |
To | case minXEdge |
Modified CGRectEdge.minYEdge
Declaration | |
---|---|
From | case MinYEdge |
To | case minYEdge |
Modified CGShading
Declaration | |
---|---|
From | class CGShading { } |
To | class CGShading { class var typeID: CFTypeID { get } init?(axialSpace space: CGColorSpace, start start: CGPoint, end end: CGPoint, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) init?(radialSpace space: CGColorSpace, start start: CGPoint, startRadius startRadius: CGFloat, end end: CGPoint, endRadius endRadius: CGFloat, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) } extension CGShading { class var typeID: CFTypeID { get } init?(axialSpace space: CGColorSpace, start start: CGPoint, end end: CGPoint, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) init?(radialSpace space: CGColorSpace, start start: CGPoint, startRadius startRadius: CGFloat, end end: CGPoint, endRadius endRadius: CGFloat, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) } |
Name | Declaration | |
---|---|---|
From | CGShadingCreateAxial(_:_:_:_:_:_:) | func CGShadingCreateAxial(_ space: CGColorSpace?, _ start: CGPoint, _ end: CGPoint, _ function: CGFunction?, _ extendStart: Bool, _ extendEnd: Bool) -> CGShading? |
To | init(axialSpace:start:end:function:extendStart:extendEnd:) | init?(axialSpace space: CGColorSpace, start start: CGPoint, end end: CGPoint, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) |
Name | Declaration | |
---|---|---|
From | CGShadingCreateRadial(_:_:_:_:_:_:_:_:) | func CGShadingCreateRadial(_ space: CGColorSpace?, _ start: CGPoint, _ startRadius: CGFloat, _ end: CGPoint, _ endRadius: CGFloat, _ function: CGFunction?, _ extendStart: Bool, _ extendEnd: Bool) -> CGShading? |
To | init(radialSpace:start:startRadius:end:endRadius:function:extendStart:extendEnd:) | init?(radialSpace space: CGColorSpace, start start: CGPoint, startRadius startRadius: CGFloat, end end: CGPoint, endRadius endRadius: CGFloat, function function: CGFunction, extendStart extendStart: Bool, extendEnd extendEnd: Bool) |
Name | Declaration | |
---|---|---|
From | CGShadingGetTypeID() | func CGShadingGetTypeID() -> CFTypeID |
To | typeID | class var typeID: CFTypeID { get } |
Modified CGSize [struct]
Declaration | Protocols | |
---|---|---|
From | struct CGSize { var width: CGFloat var height: CGFloat init() init(width width: CGFloat, height height: CGFloat) } extension CGSize { static var zero: CGSize { get } init(width width: Int, height height: Int) init(width width: Double, height height: Double) static var zeroSize: CGSize { get } } extension CGSize : Equatable { } extension CGSize : _Reflectable { } extension CGSize : _Reflectable { } extension CGSize : Equatable { } extension CGSize { static var zero: CGSize { get } init(width width: Int, height height: Int) init(width width: Double, height height: Double) static var zeroSize: CGSize { get } } | Equatable |
To | struct CGSize { var width: CGFloat var height: CGFloat init() init(width width: CGFloat, height height: CGFloat) func applying(_ t: CGAffineTransform) -> CGSize static let zero: CGSize init(width width: CGFloat, height height: CGFloat) func equalTo(_ size2: CGSize) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ size: UnsafeMutablePointer<CGSize>) -> Bool static var zero: CGSize { get } init(width width: Int, height height: Int) init(width width: Double, height height: Double) init?(dictionaryRepresentation dict: CFDictionary) } extension CGSize { func applying(_ t: CGAffineTransform) -> CGSize } extension CGSize : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGSize : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGSize { static let zero: CGSize init(width width: CGFloat, height height: CGFloat) func equalTo(_ size2: CGSize) -> Bool var dictionaryRepresentation: CFDictionary { get } static func __setFromDictionaryRepresentation(_ dict: CFDictionary, _ size: UnsafeMutablePointer<CGSize>) -> Bool } extension CGSize : Equatable { } extension CGSize : CustomDebugStringConvertible { var debugDescription: String { get } } extension CGSize : CustomReflectable, CustomPlaygroundQuickLookable { var customMirror: Mirror { get } var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension CGSize { static var zero: CGSize { get } init(width width: Int, height height: Int) init(width width: Double, height height: Double) init?(dictionaryRepresentation dict: CFDictionary) } | CustomDebugStringConvertible, CustomPlaygroundQuickLookable, CustomReflectable, Equatable |
Name | Declaration | |
---|---|---|
From | CGSizeApplyAffineTransform(_:_:) | func CGSizeApplyAffineTransform(_ size: CGSize, _ t: CGAffineTransform) -> CGSize |
To | applying(_:) | func applying(_ t: CGAffineTransform) -> CGSize |
Name | Declaration | Introduction | Readonly | |
---|---|---|---|---|
From | CGSizeCreateDictionaryRepresentation(_:) | func CGSizeCreateDictionaryRepresentation(_ size: CGSize) -> CFDictionary | tvOS 9.0 | -- |
To | dictionaryRepresentation | var dictionaryRepresentation: CFDictionary { get } | tvOS 10.0 | yes |
Modified CGSize.equalTo(_: CGSize) -> Bool
Name | Declaration | |
---|---|---|
From | CGSizeEqualToSize(_:_:) | func CGSizeEqualToSize(_ size1: CGSize, _ size2: CGSize) -> Bool |
To | equalTo(_:) | func equalTo(_ size2: CGSize) -> Bool |
Modified CGTextDrawingMode [enum]
Declaration | |
---|---|
From | enum CGTextDrawingMode : Int32 { case Fill case Stroke case FillStroke case Invisible case FillClip case StrokeClip case FillStrokeClip case Clip } |
To | enum CGTextDrawingMode : Int32 { case fill case stroke case fillStroke case invisible case fillClip case strokeClip case fillStrokeClip case clip } |
Modified CGTextDrawingMode.clip
Declaration | |
---|---|
From | case Clip |
To | case clip |
Modified CGTextDrawingMode.fill
Declaration | |
---|---|
From | case Fill |
To | case fill |
Modified CGTextDrawingMode.fillClip
Declaration | |
---|---|
From | case FillClip |
To | case fillClip |
Modified CGTextDrawingMode.fillStroke
Declaration | |
---|---|
From | case FillStroke |
To | case fillStroke |
Modified CGTextDrawingMode.fillStrokeClip
Declaration | |
---|---|
From | case FillStrokeClip |
To | case fillStrokeClip |
Modified CGTextDrawingMode.invisible
Declaration | |
---|---|
From | case Invisible |
To | case invisible |
Modified CGTextDrawingMode.stroke
Declaration | |
---|---|
From | case Stroke |
To | case stroke |
Modified CGTextDrawingMode.strokeClip
Declaration | |
---|---|
From | case StrokeClip |
To | case strokeClip |
Modified CGVector [struct]
Declaration | |
---|---|
From | struct CGVector { var dx: CGFloat var dy: CGFloat init() init(dx dx: CGFloat, dy dy: CGFloat) } extension CGVector { static var zero: CGVector { get } init(dx dx: Int, dy dy: Int) init(dx dx: Double, dy dy: Double) static var zeroVector: CGVector { get } } extension CGVector : Equatable { } extension CGVector : Equatable { } extension CGVector { static var zero: CGVector { get } init(dx dx: Int, dy dy: Int) init(dx dx: Double, dy dy: Double) static var zeroVector: CGVector { get } } |
To | struct CGVector { var dx: CGFloat var dy: CGFloat init() init(dx dx: CGFloat, dy dy: CGFloat) init(dx dx: CGFloat, dy dy: CGFloat) static var zero: CGVector { get } init(dx dx: Int, dy dy: Int) init(dx dx: Double, dy dy: Double) } extension CGVector { init(dx dx: CGFloat, dy dy: CGFloat) } extension CGVector : Equatable { } extension CGVector { static var zero: CGVector { get } init(dx dx: Int, dy dy: Int) init(dx dx: Double, dy dy: Double) } |
Modified *(_: CGFloat, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func *(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func *(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified *=(_: CGFloat, _: CGFloat)
Declaration | |
---|---|
From | func *=(inout _ lhs: CGFloat, _ rhs: CGFloat) |
To | func *=(_ lhs: inout CGFloat, _ rhs: CGFloat) |
Modified +(_: CGFloat, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func +(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func +(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified +=(_: CGFloat, _: CGFloat)
Declaration | |
---|---|
From | func +=(inout _ lhs: CGFloat, _ rhs: CGFloat) |
To | func +=(_ lhs: inout CGFloat, _ rhs: CGFloat) |
Modified -(_: CGFloat, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func -(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func -(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified -=(_: CGFloat, _: CGFloat)
Declaration | |
---|---|
From | func -=(inout _ lhs: CGFloat, _ rhs: CGFloat) |
To | func -=(_ lhs: inout CGFloat, _ rhs: CGFloat) |
Modified /(_: CGFloat, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func /(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func /(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified /=(_: CGFloat, _: CGFloat)
Declaration | |
---|---|
From | func /=(inout _ lhs: CGFloat, _ rhs: CGFloat) |
To | func /=(_ lhs: inout CGFloat, _ rhs: CGFloat) |
Modified ==(_: CGSize, _: CGSize) -> Bool
Declaration | |
---|---|
From | @warn_unused_result func ==(_ lhs: CGSize, _ rhs: CGSize) -> Bool |
To | func ==(_ lhs: CGSize, _ rhs: CGSize) -> Bool |
Modified ==(_: CGVector, _: CGVector) -> Bool
Declaration | |
---|---|
From | @warn_unused_result func ==(_ lhs: CGVector, _ rhs: CGVector) -> Bool |
To | func ==(_ lhs: CGVector, _ rhs: CGVector) -> Bool |
Modified ==(_: CGRect, _: CGRect) -> Bool
Declaration | |
---|---|
From | @warn_unused_result func ==(_ lhs: CGRect, _ rhs: CGRect) -> Bool |
To | func ==(_ lhs: CGRect, _ rhs: CGRect) -> Bool |
Modified ==(_: CGPoint, _: CGPoint) -> Bool
Declaration | |
---|---|
From | @warn_unused_result func ==(_ lhs: CGPoint, _ rhs: CGPoint) -> Bool |
To | func ==(_ lhs: CGPoint, _ rhs: CGPoint) -> Bool |
Modified acos(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func acos(_ x: CGFloat) -> CGFloat |
To | func acos(_ x: CGFloat) -> CGFloat |
Modified acosh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func acosh(_ x: CGFloat) -> CGFloat |
To | func acosh(_ x: CGFloat) -> CGFloat |
Modified asin(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func asin(_ x: CGFloat) -> CGFloat |
To | func asin(_ x: CGFloat) -> CGFloat |
Modified asinh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func asinh(_ x: CGFloat) -> CGFloat |
To | func asinh(_ x: CGFloat) -> CGFloat |
Modified atan(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func atan(_ x: CGFloat) -> CGFloat |
To | func atan(_ x: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified atanh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func atanh(_ x: CGFloat) -> CGFloat |
To | func atanh(_ x: CGFloat) -> CGFloat |
Modified cbrt(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func cbrt(_ x: CGFloat) -> CGFloat |
To | func cbrt(_ x: CGFloat) -> CGFloat |
Modified CGBitmapContextReleaseDataCallback
Declaration | |
---|---|
From | typealias CGBitmapContextReleaseDataCallback = (UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> Void |
To | typealias CGBitmapContextReleaseDataCallback = (UnsafeMutableRawPointer?, UnsafeMutableRawPointer?) -> Swift.Void |
Declaration | |
---|---|
From | func CGColorSpaceCreateDeviceCMYK() -> CGColorSpace? |
To | func CGColorSpaceCreateDeviceCMYK() -> CGColorSpace |
Declaration | |
---|---|
From | func CGColorSpaceCreateDeviceGray() -> CGColorSpace? |
To | func CGColorSpaceCreateDeviceGray() -> CGColorSpace |
Declaration | |
---|---|
From | func CGColorSpaceCreateDeviceRGB() -> CGColorSpace? |
To | func CGColorSpaceCreateDeviceRGB() -> CGColorSpace |
Modified CGDataConsumerPutBytesCallback
Declaration | |
---|---|
From | typealias CGDataConsumerPutBytesCallback = (UnsafeMutablePointer<Void>, UnsafePointer<Void>, Int) -> Int |
To | typealias CGDataConsumerPutBytesCallback = (UnsafeMutableRawPointer?, UnsafeRawPointer, Int) -> Int |
Modified CGDataConsumerReleaseInfoCallback
Declaration | |
---|---|
From | typealias CGDataConsumerReleaseInfoCallback = (UnsafeMutablePointer<Void>) -> Void |
To | typealias CGDataConsumerReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Swift.Void |
Modified CGDataProviderGetBytePointerCallback
Declaration | |
---|---|
From | typealias CGDataProviderGetBytePointerCallback = (UnsafeMutablePointer<Void>) -> UnsafePointer<Void> |
To | typealias CGDataProviderGetBytePointerCallback = (UnsafeMutableRawPointer?) -> UnsafeRawPointer? |
Declaration | |
---|---|
From | typealias CGDataProviderGetBytesAtPositionCallback = (UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, off_t, Int) -> Int |
To | typealias CGDataProviderGetBytesAtPositionCallback = (UnsafeMutableRawPointer?, UnsafeMutableRawPointer, off_t, Int) -> Int |
Modified CGDataProviderGetBytesCallback
Declaration | |
---|---|
From | typealias CGDataProviderGetBytesCallback = (UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, Int) -> Int |
To | typealias CGDataProviderGetBytesCallback = (UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Int |
Declaration | |
---|---|
From | typealias CGDataProviderReleaseBytePointerCallback = (UnsafeMutablePointer<Void>, UnsafePointer<Void>) -> Void |
To | typealias CGDataProviderReleaseBytePointerCallback = (UnsafeMutableRawPointer?, UnsafeRawPointer) -> Swift.Void |
Modified CGDataProviderReleaseDataCallback
Declaration | |
---|---|
From | typealias CGDataProviderReleaseDataCallback = (UnsafeMutablePointer<Void>, UnsafePointer<Void>, Int) -> Void |
To | typealias CGDataProviderReleaseDataCallback = (UnsafeMutableRawPointer?, UnsafeRawPointer, Int) -> Swift.Void |
Modified CGDataProviderReleaseInfoCallback
Declaration | |
---|---|
From | typealias CGDataProviderReleaseInfoCallback = (UnsafeMutablePointer<Void>) -> Void |
To | typealias CGDataProviderReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Swift.Void |
Modified CGDataProviderRewindCallback
Declaration | |
---|---|
From | typealias CGDataProviderRewindCallback = (UnsafeMutablePointer<Void>) -> Void |
To | typealias CGDataProviderRewindCallback = (UnsafeMutableRawPointer?) -> Swift.Void |
Modified CGDataProviderSkipForwardCallback
Declaration | |
---|---|
From | typealias CGDataProviderSkipForwardCallback = (UnsafeMutablePointer<Void>, off_t) -> off_t |
To | typealias CGDataProviderSkipForwardCallback = (UnsafeMutableRawPointer?, off_t) -> off_t |
Modified CGFunctionEvaluateCallback
Declaration | |
---|---|
From | typealias CGFunctionEvaluateCallback = (UnsafeMutablePointer<Void>, UnsafePointer<CGFloat>, UnsafeMutablePointer<CGFloat>) -> Void |
To | typealias CGFunctionEvaluateCallback = (UnsafeMutableRawPointer?, UnsafePointer<CGFloat>, UnsafeMutablePointer<CGFloat>) -> Swift.Void |
Modified CGFunctionReleaseInfoCallback
Declaration | |
---|---|
From | typealias CGFunctionReleaseInfoCallback = (UnsafeMutablePointer<Void>) -> Void |
To | typealias CGFunctionReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Swift.Void |
Modified CGPathApplierFunction
Declaration | |
---|---|
From | typealias CGPathApplierFunction = (UnsafeMutablePointer<Void>, UnsafePointer<CGPathElement>) -> Void |
To | typealias CGPathApplierFunction = (UnsafeMutableRawPointer?, UnsafePointer<CGPathElement>) -> Swift.Void |
Modified CGPatternDrawPatternCallback
Declaration | |
---|---|
From | typealias CGPatternDrawPatternCallback = (UnsafeMutablePointer<Void>, CGContext?) -> Void |
To | typealias CGPatternDrawPatternCallback = (UnsafeMutableRawPointer?, CGContext) -> Swift.Void |
Modified CGPatternReleaseInfoCallback
Declaration | |
---|---|
From | typealias CGPatternReleaseInfoCallback = (UnsafeMutablePointer<Void>) -> Void |
To | typealias CGPatternReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Swift.Void |
Modified CGPDFArrayGetArray(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFArrayRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetArray(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFArrayRef>) -> Bool |
To | func CGPDFArrayGetArray(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFArrayRef?>?) -> Bool |
Modified CGPDFArrayGetBoolean(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFBoolean>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetBoolean(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFBoolean>) -> Bool |
To | func CGPDFArrayGetBoolean(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFBoolean>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFArrayGetDictionary(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFDictionaryRef>) -> Bool |
To | func CGPDFArrayGetDictionary(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFDictionaryRef?>?) -> Bool |
Modified CGPDFArrayGetInteger(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFInteger>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetInteger(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFInteger>) -> Bool |
To | func CGPDFArrayGetInteger(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFInteger>?) -> Bool |
Modified CGPDFArrayGetName(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<UnsafePointer<Int8>?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetName(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<UnsafePointer<Int8>>) -> Bool |
To | func CGPDFArrayGetName(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<UnsafePointer<Int8>?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFArrayGetNumber(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFReal>) -> Bool |
To | func CGPDFArrayGetNumber(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFReal>?) -> Bool |
Modified CGPDFArrayGetObject(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFObjectRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetObject(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFObjectRef>) -> Bool |
To | func CGPDFArrayGetObject(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFObjectRef?>?) -> Bool |
Modified CGPDFArrayGetStream(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFStreamRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetStream(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFStreamRef>) -> Bool |
To | func CGPDFArrayGetStream(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFStreamRef?>?) -> Bool |
Modified CGPDFArrayGetString(_: CGPDFArrayRef, _: Int, _: UnsafeMutablePointer<CGPDFStringRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFArrayGetString(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFStringRef>) -> Bool |
To | func CGPDFArrayGetString(_ array: CGPDFArrayRef, _ index: Int, _ value: UnsafeMutablePointer<CGPDFStringRef?>?) -> Bool |
Modified CGPDFArrayRef
Declaration | |
---|---|
From | typealias CGPDFArrayRef = COpaquePointer |
To | typealias CGPDFArrayRef = OpaquePointer |
Declaration | |
---|---|
From | func CGPDFContentStreamCreateWithPage(_ page: CGPDFPage!) -> CGPDFContentStreamRef |
To | func CGPDFContentStreamCreateWithPage(_ page: CGPDFPage) -> CGPDFContentStreamRef |
Declaration | |
---|---|
From | func CGPDFContentStreamGetResource(_ cs: CGPDFContentStreamRef, _ category: UnsafePointer<Int8>, _ name: UnsafePointer<Int8>) -> CGPDFObjectRef |
To | func CGPDFContentStreamGetResource(_ cs: CGPDFContentStreamRef, _ category: UnsafePointer<Int8>, _ name: UnsafePointer<Int8>) -> CGPDFObjectRef? |
Declaration | |
---|---|
From | func CGPDFContentStreamGetStreams(_ cs: CGPDFContentStreamRef) -> CFArray! |
To | func CGPDFContentStreamGetStreams(_ cs: CGPDFContentStreamRef) -> CFArray? |
Modified CGPDFContentStreamRef
Declaration | |
---|---|
From | typealias CGPDFContentStreamRef = COpaquePointer |
To | typealias CGPDFContentStreamRef = OpaquePointer |
Modified CGPDFDictionaryApplierFunction
Declaration | |
---|---|
From | typealias CGPDFDictionaryApplierFunction = (UnsafePointer<Int8>, CGPDFObjectRef, UnsafeMutablePointer<Void>) -> Void |
To | typealias CGPDFDictionaryApplierFunction = (UnsafePointer<Int8>, CGPDFObjectRef, UnsafeMutableRawPointer?) -> Swift.Void |
Declaration | |
---|---|
From | func CGPDFDictionaryApplyFunction(_ dict: CGPDFDictionaryRef, _ function: CGPDFDictionaryApplierFunction?, _ info: UnsafeMutablePointer<Void>) |
To | func CGPDFDictionaryApplyFunction(_ dict: CGPDFDictionaryRef, _ function: CoreGraphics.CGPDFDictionaryApplierFunction, _ info: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func CGPDFDictionaryGetArray(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFArrayRef>) -> Bool |
To | func CGPDFDictionaryGetArray(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFArrayRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetBoolean(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFBoolean>) -> Bool |
To | func CGPDFDictionaryGetBoolean(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFBoolean>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetDictionary(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFDictionaryRef>) -> Bool |
To | func CGPDFDictionaryGetDictionary(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFDictionaryRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetInteger(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFInteger>) -> Bool |
To | func CGPDFDictionaryGetInteger(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFInteger>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetName(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<UnsafePointer<Int8>>) -> Bool |
To | func CGPDFDictionaryGetName(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<UnsafePointer<Int8>?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetNumber(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFReal>) -> Bool |
To | func CGPDFDictionaryGetNumber(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFReal>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetObject(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFObjectRef>) -> Bool |
To | func CGPDFDictionaryGetObject(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFObjectRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetStream(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFStreamRef>) -> Bool |
To | func CGPDFDictionaryGetStream(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFStreamRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFDictionaryGetString(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFStringRef>) -> Bool |
To | func CGPDFDictionaryGetString(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<Int8>, _ value: UnsafeMutablePointer<CGPDFStringRef?>?) -> Bool |
Modified CGPDFDictionaryRef
Declaration | |
---|---|
From | typealias CGPDFDictionaryRef = COpaquePointer |
To | typealias CGPDFDictionaryRef = OpaquePointer |
Modified CGPDFObjectGetValue(_: CGPDFObjectRef, _: CGPDFObjectType, _: UnsafeMutableRawPointer?) -> Bool
Declaration | |
---|---|
From | func CGPDFObjectGetValue(_ object: CGPDFObjectRef, _ type: CGPDFObjectType, _ value: UnsafeMutablePointer<Void>) -> Bool |
To | func CGPDFObjectGetValue(_ object: CGPDFObjectRef, _ type: CGPDFObjectType, _ value: UnsafeMutableRawPointer?) -> Bool |
Modified CGPDFObjectRef
Declaration | |
---|---|
From | typealias CGPDFObjectRef = COpaquePointer |
To | typealias CGPDFObjectRef = OpaquePointer |
Modified CGPDFOperatorCallback
Declaration | |
---|---|
From | typealias CGPDFOperatorCallback = (CGPDFScannerRef, UnsafeMutablePointer<Void>) -> Void |
To | typealias CGPDFOperatorCallback = (CGPDFScannerRef, UnsafeMutableRawPointer?) -> Swift.Void |
Declaration | |
---|---|
From | func CGPDFOperatorTableCreate() -> CGPDFOperatorTableRef |
To | func CGPDFOperatorTableCreate() -> CGPDFOperatorTableRef? |
Modified CGPDFOperatorTableRef
Declaration | |
---|---|
From | typealias CGPDFOperatorTableRef = COpaquePointer |
To | typealias CGPDFOperatorTableRef = OpaquePointer |
Declaration | |
---|---|
From | func CGPDFOperatorTableSetCallback(_ table: CGPDFOperatorTableRef, _ name: UnsafePointer<Int8>, _ callback: CGPDFOperatorCallback?) |
To | func CGPDFOperatorTableSetCallback(_ table: CGPDFOperatorTableRef, _ name: UnsafePointer<Int8>, _ callback: CoreGraphics.CGPDFOperatorCallback) |
Declaration | |
---|---|
From | func CGPDFScannerCreate(_ cs: CGPDFContentStreamRef, _ table: CGPDFOperatorTableRef, _ info: UnsafeMutablePointer<Void>) -> CGPDFScannerRef |
To | func CGPDFScannerCreate(_ cs: CGPDFContentStreamRef, _ table: CGPDFOperatorTableRef?, _ info: UnsafeMutableRawPointer?) -> CGPDFScannerRef |
Declaration | |
---|---|
From | func CGPDFScannerPopArray(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFArrayRef>) -> Bool |
To | func CGPDFScannerPopArray(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFArrayRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFScannerPopBoolean(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFBoolean>) -> Bool |
To | func CGPDFScannerPopBoolean(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFBoolean>?) -> Bool |
Modified CGPDFScannerPopDictionary(_: CGPDFScannerRef, _: UnsafeMutablePointer<CGPDFDictionaryRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFScannerPopDictionary(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFDictionaryRef>) -> Bool |
To | func CGPDFScannerPopDictionary(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFDictionaryRef?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFScannerPopInteger(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFInteger>) -> Bool |
To | func CGPDFScannerPopInteger(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFInteger>?) -> Bool |
Modified CGPDFScannerPopName(_: CGPDFScannerRef, _: UnsafeMutablePointer<UnsafePointer<Int8>?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFScannerPopName(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<UnsafePointer<Int8>>) -> Bool |
To | func CGPDFScannerPopName(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<UnsafePointer<Int8>?>?) -> Bool |
Declaration | |
---|---|
From | func CGPDFScannerPopNumber(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFReal>) -> Bool |
To | func CGPDFScannerPopNumber(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFReal>?) -> Bool |
Modified CGPDFScannerPopObject(_: CGPDFScannerRef, _: UnsafeMutablePointer<CGPDFObjectRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFScannerPopObject(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFObjectRef>) -> Bool |
To | func CGPDFScannerPopObject(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFObjectRef?>?) -> Bool |
Modified CGPDFScannerPopStream(_: CGPDFScannerRef, _: UnsafeMutablePointer<CGPDFStreamRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFScannerPopStream(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFStreamRef>) -> Bool |
To | func CGPDFScannerPopStream(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFStreamRef?>?) -> Bool |
Modified CGPDFScannerPopString(_: CGPDFScannerRef, _: UnsafeMutablePointer<CGPDFStringRef?>?) -> Bool
Declaration | |
---|---|
From | func CGPDFScannerPopString(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFStringRef>) -> Bool |
To | func CGPDFScannerPopString(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFStringRef?>?) -> Bool |
Modified CGPDFScannerRef
Declaration | |
---|---|
From | typealias CGPDFScannerRef = COpaquePointer |
To | typealias CGPDFScannerRef = OpaquePointer |
Declaration | |
---|---|
From | func CGPDFStreamGetDictionary(_ stream: CGPDFStreamRef) -> CGPDFDictionaryRef |
To | func CGPDFStreamGetDictionary(_ stream: CGPDFStreamRef) -> CGPDFDictionaryRef? |
Modified CGPDFStreamRef
Declaration | |
---|---|
From | typealias CGPDFStreamRef = COpaquePointer |
To | typealias CGPDFStreamRef = OpaquePointer |
Declaration | |
---|---|
From | func CGPDFStringGetBytePtr(_ string: CGPDFStringRef) -> UnsafePointer<UInt8> |
To | func CGPDFStringGetBytePtr(_ string: CGPDFStringRef) -> UnsafePointer<UInt8>? |
Modified CGPDFStringRef
Declaration | |
---|---|
From | typealias CGPDFStringRef = COpaquePointer |
To | typealias CGPDFStringRef = OpaquePointer |
Declaration | |
---|---|
From | @warn_unused_result func copysign(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func copysign(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified cos(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func cos(_ x: CGFloat) -> CGFloat |
To | func cos(_ x: CGFloat) -> CGFloat |
Modified cosh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func cosh(_ x: CGFloat) -> CGFloat |
To | func cosh(_ x: CGFloat) -> CGFloat |
Modified erf(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func erf(_ x: CGFloat) -> CGFloat |
To | func erf(_ x: CGFloat) -> CGFloat |
Modified erfc(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func erfc(_ x: CGFloat) -> CGFloat |
To | func erfc(_ x: CGFloat) -> CGFloat |
Modified exp(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func exp(_ x: CGFloat) -> CGFloat |
To | func exp(_ x: CGFloat) -> CGFloat |
Modified exp2(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func exp2(_ x: CGFloat) -> CGFloat |
To | func exp2(_ x: CGFloat) -> CGFloat |
Modified expm1(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func expm1(_ x: CGFloat) -> CGFloat |
To | func expm1(_ x: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func fdim(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func fdim(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func fmax(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func fmax(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func fmin(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func fmin(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified frexp(_: CGFloat) -> (CGFloat, Int)
Declaration | |
---|---|
From | @warn_unused_result func frexp(_ x: CGFloat) -> (CGFloat, Int) |
To | func frexp(_ x: CGFloat) -> (CGFloat, Int) |
Declaration | |
---|---|
From | @warn_unused_result func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Modified ilogb(_: CGFloat) -> Int
Declaration | |
---|---|
From | @warn_unused_result func ilogb(_ x: CGFloat) -> Int |
To | func ilogb(_ x: CGFloat) -> Int |
Modified j0(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func j0(_ x: CGFloat) -> CGFloat |
To | func j0(_ x: CGFloat) -> CGFloat |
Modified j1(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func j1(_ x: CGFloat) -> CGFloat |
To | func j1(_ x: CGFloat) -> CGFloat |
Modified jn(_: Int, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func jn(_ n: Int, _ x: CGFloat) -> CGFloat |
To | func jn(_ n: Int, _ x: CGFloat) -> CGFloat |
Modified ldexp(_: CGFloat, _: Int) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func ldexp(_ x: CGFloat, _ n: Int) -> CGFloat |
To | func ldexp(_ x: CGFloat, _ n: Int) -> CGFloat |
Modified lgamma(_: CGFloat) -> (CGFloat, Int)
Declaration | |
---|---|
From | @warn_unused_result func lgamma(_ x: CGFloat) -> (CGFloat, Int) |
To | func lgamma(_ x: CGFloat) -> (CGFloat, Int) |
Modified log(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func log(_ x: CGFloat) -> CGFloat |
To | func log(_ x: CGFloat) -> CGFloat |
Modified log10(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func log10(_ x: CGFloat) -> CGFloat |
To | func log10(_ x: CGFloat) -> CGFloat |
Modified log1p(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func log1p(_ x: CGFloat) -> CGFloat |
To | func log1p(_ x: CGFloat) -> CGFloat |
Modified log2(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func log2(_ x: CGFloat) -> CGFloat |
To | func log2(_ x: CGFloat) -> CGFloat |
Modified logb(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func logb(_ x: CGFloat) -> CGFloat |
To | func logb(_ x: CGFloat) -> CGFloat |
Modified modf(_: CGFloat) -> (CGFloat, CGFloat)
Declaration | |
---|---|
From | @warn_unused_result func modf(_ x: CGFloat) -> (CGFloat, CGFloat) |
To | func modf(_ x: CGFloat) -> (CGFloat, CGFloat) |
Modified nan(_: String) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func nan(_ tag: String) -> CGFloat |
To | func nan(_ tag: String) -> CGFloat |
Modified nearbyint(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func nearbyint(_ x: CGFloat) -> CGFloat |
To | func nearbyint(_ x: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func nextafter(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func nextafter(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
To | func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | @warn_unused_result func remquo(_ x: CGFloat, _ y: CGFloat) -> (CGFloat, Int) |
To | func remquo(_ x: CGFloat, _ y: CGFloat) -> (CGFloat, Int) |
Modified rint(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func rint(_ x: CGFloat) -> CGFloat |
To | func rint(_ x: CGFloat) -> CGFloat |
Modified scalbn(_: CGFloat, _: Int) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func scalbn(_ x: CGFloat, _ n: Int) -> CGFloat |
To | func scalbn(_ x: CGFloat, _ n: Int) -> CGFloat |
Modified sin(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func sin(_ x: CGFloat) -> CGFloat |
To | func sin(_ x: CGFloat) -> CGFloat |
Modified sinh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func sinh(_ x: CGFloat) -> CGFloat |
To | func sinh(_ x: CGFloat) -> CGFloat |
Modified tan(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func tan(_ x: CGFloat) -> CGFloat |
To | func tan(_ x: CGFloat) -> CGFloat |
Modified tanh(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func tanh(_ x: CGFloat) -> CGFloat |
To | func tanh(_ x: CGFloat) -> CGFloat |
Modified tgamma(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func tgamma(_ x: CGFloat) -> CGFloat |
To | func tgamma(_ x: CGFloat) -> CGFloat |
Modified y0(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func y0(_ x: CGFloat) -> CGFloat |
To | func y0(_ x: CGFloat) -> CGFloat |
Modified y1(_: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func y1(_ x: CGFloat) -> CGFloat |
To | func y1(_ x: CGFloat) -> CGFloat |
Modified yn(_: Int, _: CGFloat) -> CGFloat
Declaration | |
---|---|
From | @warn_unused_result func yn(_ n: Int, _ x: CGFloat) -> CGFloat |
To | func yn(_ n: Int, _ x: CGFloat) -> CGFloat |