dumpDraws

Output every draw instruction to stdout (dumpDraws), and, optionally, to an SVG file (dumpDrawsToSVG).

Note that dumpDraws is equivalent to an isDrawn assert. It cannot be mixed with any other asserts on the same node.

SVG support has to be enabled by passing Fluid_SVG. It requires extra dependencies: elemi and arsd-official:image_files. To create an SVG image, call dumpDrawsToSVG. SVG support is currently incomplete and unstable. Changes can be made to this feature without prior announcement.

pragma(mangle, "fluid__test_space_dumpDraws")
dumpDraws
(
Node subject
)

Parameters

subject Node

Subject the output of which should be captured.

Return Value

Type: auto

An assert object to pass to TestSpace.drawAndAssert.

Meta