// A record drawn as its card off the deck: the face its table's deck draws // it with, on the paper that face lays, at the deck's 4:5 — where a section or a // board part shows one record whole (a section laid out as pages, a board's // facts of the shown database). A record read without the core's card stands // on the plain one, headed by what it is called. What a tap does is the // caller's. import CottonKit import CottonValues import SwiftUI struct RecordCardFace: View { let definition: TableDefinition let record: TableRecord var body: some View { let card = DeckCard(record) ?? DeckCard.named(record, in: definition) DeckFace.view(for: card, record: record) {} .environment(\.faceChoiceTable, definition.id) .aspectRatio(CardPaperKnobs.aspect, contentMode: .fit) .accessibilityElement(children: .contain) } }