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.
Types which can answer a Query about points inside the geometric object. If t and m are both a Semigroups, getQuery should satisfy
getQuery (t1 <> t2) = getQuery t1 <> getQuery t2
Extract the query of an object.