block/axes#
Functions#
axesOf()#
axesOf(
manifest,member,card,drawn,x0,L,elided):DrawnAxis[]
Defined in: layout/src/block/axes.ts:126
The axes of the lines drawn draws for member of manifest, started at
x0 and L long, in item coordinates and in the order of their elements,
each timeline’s or child’s line with where a coordinate marker of it lies
(MemberDrawn.markers), each ancestor line with its mark (MemberDrawn.marks).
A timeline’s or a child’s line runs from Xs, its own axis’s zero, to
Xe, its end: its length, or the end the next segment or its segment
line gives it (section 3.4), on its own axis; where its end is open, Xe
is its reach’s and the end is not known. An ancestor line (section 8.3)
is clipped to the member: from x0, the member’s start on the ancestor’s
axis, to the ancestor’s own end where that lies short of the member’s
end, else to x0 + L, the member’s end, not known where the member’s end
is open. An axis names the card card that draws it, lists the segments
of its timeline when it is a segment line, each with its offset and its
length (section 3.4), and the maps drawn at its line, its own and those of
its segments without a line (section 6.4, Segments without a line), in
the order they are drawn, each with the timeline it spans.
On the elided axis elided of a card drawing gaps (sections 3.2 and
8.9), or run gaps (section 8.10, Runs), a line is drawn in full runs
between them, and has one axis per run, each linear, from the run’s start
to its end at their drawn x (a run starting at a seam at the start of the
run right of it, one starting at a run gap’s end b at x(a)),
with the coordinates there, every one with the timeline’s address (run
telling them apart from the second on) and the named timestamps whose
cross-section lines lie on it.
Parameters#
manifest#
member#
card#
drawn#
x0#
number
L#
number
elided#
CardAxis | undefined
Returns#
unfoldedAxes()#
unfoldedAxes(
scope,card,drawn,x0):DrawnAxis[]
Defined in: layout/src/block/axes.ts:315
The axes of the lines drawn draws for the switched card, or card of a
switched frame, traversed as scope (section 8.10), in item coordinates
and in the order of their elements, x0 their start; an ancestor line of
a carried member has one axis per piece it is drawn in, over the stretch
of its own axis drawn there (MemberDrawn.ancestorAxes), with its mark,
numbered by run from the second on. Each line drawn in
one piece is linear there and has one axis, from the coordinate of its
timeline’s own axis at its drawn start to that at its drawn end: 0 and its
length, or, at an end cut at the piece’s, the coordinate played there. The
line of the switched card’s root is drawn across every piece and has one
axis per drawn piece, from a to b of its stretch (run telling them
apart from the second on), none for a piece a run drawn once hides. Each
axis holds the named timestamps it reaches, each in the first that does.
Parameters#
scope#
card#
drawn#
x0#
number