im in the process of delving more into coregraphics with swiftui
Are you? Your code has this:
Canvas { context, size in
That’s this:
https://developer.apple.com/documentation/swiftui/graphicscontext
Which is not a Core Graphics context:
https://developer.apple.com/documentation/coregraphics/cgcontext
Don’t waste your time learning about Core Graphics if you are actually using a SwiftUI Canvas!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: