query package:diagrams-lib
Get the query function associated with a diagram.
A query is a function that maps points in a vector space to values in
some monoid. Queries naturally form a monoid, with two queries being
combined pointwise.
A query is a function that maps points in a vector space to values in
some monoid. Queries naturally form a monoid, with two queries being
combined pointwise.
The idea for annotating diagrams with monoidal queries came from the
graphics-drawingcombinators package,
http://hackage.haskell.org/package/graphics-drawingcombinators.
The fill rule used for determining which points are inside the path.
The default is
Winding. NOTE: for now, this only affects the
resulting diagram's
Query,
not how it will be drawn! To
set the fill rule determining how it is to be drawn, use the
fillRule function.
Extract the query of an object.