This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeShieldView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeShieldView2: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct HighlightedControlPoint: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct ShieldGradientFill: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct ShieldView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeSwordView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeSwordView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeSwordView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2025 and Confidential to Eric Ford Consulting All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PrototypeSwordView: View { | |
| let darkBlue = Color(red: 0.12, green: 0.12, blue: 0.73) | |
| var body: some View { | |
| Canvas { context, size in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let pommelKnobRadius = height * 0.0275 | |
| let pommelArcOffset = pommelKnobRadius * 1.5 | |
| let sideConnectRadius = pommelKnobRadius * 0.5 | |
| let handGripHeight = pommelKnobRadius * 6.0 | |
| let handGripXOffset = pommelArcOffset | |
| let handGripTop = top.y + pommelKnobRadius * 2.5 | |
| let handGripLeftTop = CGPoint(x: midX - handGripXOffset, y: handGripTop) | |
| var hiltPath = Path() | |
| hiltPath.move(to: CGPoint(x: midX - handGripXOffset, y: handGripTop + handGripHeight)) |
OlderNewer