// The deck's card size the staged faces are drawn at, and a card of any kind // as the core would resolve it, for the fixtures and the tests. import CottonPaper import CottonValues import SwiftUI @testable import CottonUI extension GalleryFaces { /// The deck's card, as the person face's reference shows it. static let card = CGSize(width: 340, height: 451) /// A card of a kind the generated enum may not name yet, as the core /// would resolve it. static func card(_ face: String, corner: String? = nil, _ fields: [String: RecordValue]) -> DeckCard { DeckCard(face: face, corner: corner, pressing: false, pace: nil, plate: nil, fields: fields) } }