Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

deixis-render-head

Paints a prepared head in its local frame. A missing head or zero direction emits nothing.

No Setup

Returns: content.

Task guide

Example

deixis-render-head(request.heads.body, request.route.end, request.route.end-tangent)

Use prepared heads from the connector request, not the raw specification returned by deixis-arrowhead.

deixis-render-head

deixis-render-head(head, tip, forward)

Paints a prepared head from a connector renderer request in its local frame. A none head or a zero direction emits no content.

Parameters

NameDefaultTypes
headrequirednone, dictionary
tiprequiredarray
forwardrequiredarray

Prepared head from a connector painter request, or none; not a raw head specification.

tip

Tip position in the current source-local painting plane.

forward

Nonzero forward tangent vector; a zero vector suppresses the head.