SwiftstructHealthVisualization
DiagramTransformer
struct HealthVisualization.DiagramImageView.DiagramTransformer
Members 11
- func
static buildTransform(modelSpace: CGRect, screenSpace: CGRect) -> CGAffineTransform - field
let context: CGContextRef?+0x0 - field
let transform: CGAffineTransform+0x8 - func
drawContent(modelSpace: CGRect, screenSpace: CGRect, screenInsets: UIEdgeInsets, drawingBlock: (CGSize, CGContextRef, HealthVisualization.DiagramImageView.DiagramTransformer) -> ()) -> () - func
toScreen(CGRect) -> CGRect - func
toScreen(CGPoint) -> CGPoint - func
toScreenX(CoreGraphics.CGFloat) -> CoreGraphics.CGFloat - func
toScreenY(CoreGraphics.CGFloat) -> CoreGraphics.CGFloat - func
transformer(applying: CGAffineTransform) -> HealthVisualization.DiagramImageView.DiagramTransformer - init
init(modelSpace: CGRect, screenSpace: CGRect, screenInsets: UIEdgeInsets, context: CGContextRef?) -> HealthVisualization.DiagramImageView.DiagramTransformer - init
init(transform: CGAffineTransform, context: CGContextRef?) -> HealthVisualization.DiagramImageView.DiagramTransformer
Header
struct HealthVisualization.DiagramImageView.DiagramTransformer { let context: __C.CGContextRef? let transform: __C.CGAffineTransform init(modelSpace: __C.CGRect, screenSpace: __C.CGRect, screenInsets: __C.UIEdgeInsets, context: __C.CGContextRef?) init(transform: __C.CGAffineTransform, context: __C.CGContextRef?) func drawContent(modelSpace: __C.CGRect, screenSpace: __C.CGRect, screenInsets: __C.UIEdgeInsets, drawingBlock: (__C.CGSize, __C.CGContextRef, HealthVisualization.DiagramImageView.DiagramTransformer) -> ()) func transformer(applying: __C.CGAffineTransform) -> HealthVisualization.DiagramImageView.DiagramTransformer func toScreen(_: __C.CGRect) -> __C.CGRect func toScreen(_: __C.CGPoint) -> __C.CGPoint func toScreenX(_: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat func toScreenY(_: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat static func buildTransform(modelSpace: __C.CGRect, screenSpace: __C.CGRect) -> __C.CGAffineTransform }