/*
 * akglframe -- one frame of drawing, for a figure.
 *
 * `c screenshot=NAME` blocks are wrapped in this and linked against
 * tools/docs_screenshot.c, which owns main(), brings libakgl up against an
 * offscreen target of the stated size, calls docs_frame(), reads the target
 * back and writes docs/images/NAME.png.
 *
 * The block draws and returns. It must print nothing: tools/docs_screenshots.sh
 * fails a figure whose program wrote to stdout, because an image of a blank
 * screen is worse than no image at all.
 */
#include <docs_prelude.h>

akerr_ErrorContext *docs_frame(void)
{
    PREPARE_ERROR(errctx);
