8.12
An annotation representing a
pict value or a pict value that is
specifically a
static pict.
Properties for a
pict’s geometry.
Properties for a
pict’s animation.
A list of component
picts that were combined to construct
pict. Those picts can be located within
pict using a
finder.
Returns a
pict that is the same as
pict, but with a
fresh identity and hiding the identity of any component inside
pict from a
finder or the result of the
Pict.children property.
Returns a
pict that is the same as
pict, including the
same
bounding box and
time box, but whose drawing is empty
if
do_ghost is true. If
do_ghost is
#false,
then
pict itself is returned.
The do_ghost argument is intended to help avoid if
wrappers, enabling pict.ghost(rhombus(test, ~var)) instead of
if rhombus(test, ~var) | pict.ghost() | pict, where the
former works even without having to bind an intermediate variable if
pict is replaced with a more complex expression.
Returns a
pict that is the same as
pict, but with a
shifted
bounding box to match
subpict within
pict.
Returns a
pict that is the same as
pict, but with its
time box adjusted.
Returns a
pict that is the same as
pict, but where a
sustain operation is treated the same as padding via
Pict.time_pad.
Returns a
pict that is like
pict, but its drawing and
bounding box is scaled.
Returns a
pict that is like
pict, but its drawing is
rotated, and its bounding box is extended as needed to enclose the
rotated bounding box.
Returns a
pict that is like
pict, but its drawing is
sheared. The bounding box is inflated to contain the result. The
result pict’s ascent and descent are the same as
pict’s.
Returns a
pict that is like
pict, but whose drawing is
changed by reducing the global alpha adjustment.
Flips a
pict horizontally or vertically.
Returns a
pict that is like
pict, but whose drawing is
confined to its bounding box.
Returns a
pict that is like
pict, but whose drawing is
rendered at the time of the
Pict.freeze call to a bitmap, and
then the new pict draws by drawing the bitmap. The
scale
argument determines the scale factor of the bitmap (i.e., the number of
pixels per drawing unit).
Returns a
pict that is like
pict, but whose drawing is
confined to its time box in the sense that it is represented by
nothing outside of its time box. If
keep is
#'before or
#'after, then the pict is not clipped in
that time direction. The resulting pict is nonsustaining (in the sense
of
Pict.nonsustaining) if
nonsustaining is true.
Returns a
pict that is like
pict, but wherever it uses
#'inherit for a color or line width, the given color or line
width is used, and the resulting pict no longer uses
#'inherit
or colors or line widths.
Returns a
pict that is like
pict, but with the
extent of one of its
epochs adjusted.
Gets metadata registered for an immediate pict, or returns a
pict that is like
pict but with the given metadata.
Unlike epoch-specific metadata added with
Pict.epoch_set_metadata, metadata added by
Pict.metadata is not propagated to new picts that are derived
from the returned pict. The Pict.children property of a pict
can be used to search the metadata of its component picts.
Gets metadata registered for an epoch within a pict, or returns a
pict that is like
pict but with the given metadata for
the given epoch.
When picts are combined through operations like beside or
overlay, the combination’s metadata is formed by merging
metadata maps from the combined picts, and later picts in the
combination take precedence.
Options for time directions.