CoreGraphics Changes for Swift
CoreGraphics
Modified CGAffineTransform [struct]
Declaration | |
---|---|
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) 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 { } |
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 { } extension CGAffineTransform { } |
Modified CGDataProvider
Declaration | |
---|---|
From | 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 } } |
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: @escaping 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: @escaping CoreGraphics.CGDataProviderReleaseDataCallback) init?(data data: CFData) init?(url url: CFURL) init?(filename filename: UnsafePointer<Int8>) var data: CFData? { get } } |
Declaration | |
---|---|
From | init?(dataInfo info: UnsafeMutableRawPointer?, data data: UnsafeRawPointer, size size: Int, releaseData releaseData: CoreGraphics.CGDataProviderReleaseDataCallback) |
To | init?(dataInfo info: UnsafeMutableRawPointer?, data data: UnsafeRawPointer, size size: Int, releaseData releaseData: @escaping CoreGraphics.CGDataProviderReleaseDataCallback) |
Modified CGPath
Declaration | |
---|---|
From | 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 } |
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: @escaping 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: @escaping 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 } |
Declaration | |
---|---|
From | func apply(info info: UnsafeMutableRawPointer?, function function: CoreGraphics.CGPathApplierFunction) |
To | func apply(info info: UnsafeMutableRawPointer?, function function: @escaping CoreGraphics.CGPathApplierFunction) |
Modified CGPoint [struct]
Declaration | |
---|---|
From | 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) } |
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) } extension CGPoint { } |
Modified CGRect [struct]
Declaration | |
---|---|
From | 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) } |
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) } extension CGRect { } |
Modified CGSize [struct]
Declaration | |
---|---|
From | 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) } |
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) } extension CGSize { } |
Modified CGVector [struct]
Declaration | |
---|---|
From | 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) } |
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) } extension CGVector { } |
Declaration | |
---|---|
From | func CGPDFDictionaryApplyFunction(_ dict: CGPDFDictionaryRef, _ function: CoreGraphics.CGPDFDictionaryApplierFunction, _ info: UnsafeMutableRawPointer?) |
To | func CGPDFDictionaryApplyFunction(_ dict: CGPDFDictionaryRef, _ function: @escaping CoreGraphics.CGPDFDictionaryApplierFunction, _ info: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func CGPDFOperatorTableSetCallback(_ table: CGPDFOperatorTableRef, _ name: UnsafePointer<Int8>, _ callback: CoreGraphics.CGPDFOperatorCallback) |
To | func CGPDFOperatorTableSetCallback(_ table: CGPDFOperatorTableRef, _ name: UnsafePointer<Int8>, _ callback: @escaping CoreGraphics.CGPDFOperatorCallback) |