/usr/share/doc/libghc-diagrams-lib-doc/html/Diagrams-TwoD-Model.html is in libghc-diagrams-lib-doc 1.3.1.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Diagrams.TwoD.Model</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Diagrams-TwoD-Model.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Diagrams-TwoD-Model.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">diagrams-lib-1.3.1.4: Embedded domain-specific language for declarative graphics</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2011 diagrams-lib team (see LICENSE)</td></tr><tr><th>License</th><td>BSD-style (see LICENSE)</td></tr><tr><th>Maintainer</th><td>diagrams-discuss@googlegroups.com</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Diagrams.TwoD.Model</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Showing the local origin</a></li><li><a href="#g:2">Showing an approximation of the envelope</a></li><li><a href="#g:3">Showing an approximation of the trace</a></li><li><a href="#g:4">Showing labels of all named subdiagrams</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Tools for visualizing diagrams' internal model: local origins,
envelopes, traces, <em>etc.</em></p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:showOrigin">showOrigin</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:showOrigin-39-">showOrigin'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) => <a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m</li><li class="src short"><span class="keyword">data</span> <a href="#t:OriginOpts">OriginOpts</a> n = <a href="#v:OriginOpts">OriginOpts</a> {<ul class="subs"><li><a href="#v:_oColor">_oColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_oScale">_oScale</a> :: n</li><li><a href="#v:_oMinSize">_oMinSize</a> :: n</li></ul>}</li><li class="src short"><a href="#v:oColor">oColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:oScale">oScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) n</li><li class="src short"><a href="#v:oMinSize">oMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) n</li><li class="src short"><a href="#v:showEnvelope">showEnvelope</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:showEnvelope-39-">showEnvelope'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:EnvelopeOpts">EnvelopeOpts</a> n = <a href="#v:EnvelopeOpts">EnvelopeOpts</a> {<ul class="subs"><li><a href="#v:_eColor">_eColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_eLineWidth">_eLineWidth</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_ePoints">_ePoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><a href="#v:eColor">eColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:eLineWidth">eLineWidth</a> :: <span class="keyword">forall</span> n n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:ePoints">ePoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:showTrace">showTrace</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:showTrace-39-">showTrace'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TraceOpts">TraceOpts</a> n = <a href="#v:TraceOpts">TraceOpts</a> {<ul class="subs"><li><a href="#v:_tColor">_tColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_tScale">_tScale</a> :: n</li><li><a href="#v:_tMinSize">_tMinSize</a> :: n</li><li><a href="#v:_tPoints">_tPoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><a href="#v:tColor">tColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:tScale">tScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) n</li><li class="src short"><a href="#v:tMinSize">tMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) n</li><li class="src short"><a href="#v:tPoints">tPoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:showLabels">showLabels</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Semigroup.html#t:Semigroup">Semigroup</a> m) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a></li></ul></div><div id="interface"><h1 id="g:1">Showing the local origin</h1><div class="top"><p class="src"><a id="v:showOrigin" class="def">showOrigin</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Model.html#showOrigin" class="link">Source</a> <a href="#v:showOrigin" class="selflink">#</a></p><div class="doc"><p>Mark the origin of a diagram by placing a red dot 1/50th its size.</p></div></div><div class="top"><p class="src"><a id="v:showOrigin-39-" class="def">showOrigin'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) => <a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Model.html#showOrigin%27" class="link">Source</a> <a href="#v:showOrigin-39-" class="selflink">#</a></p><div class="doc"><p>Mark the origin of a diagram, with control over colour and scale
of marker dot.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:OriginOpts" class="def">OriginOpts</a> n <a href="src/Diagrams-TwoD-Model.html#OriginOpts" class="link">Source</a> <a href="#t:OriginOpts" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:OriginOpts" class="def">OriginOpts</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_oColor" class="def">_oColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_oScale" class="def">_oScale</a> :: n</dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_oMinSize" class="def">_oMinSize</a> :: n</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:OriginOpts" class="caption collapser" onclick="toggleSection('i:OriginOpts')">Instances</p><div id="section.i:OriginOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OriginOpts:Default:1" class="instance expander" onclick="toggleSection('i:id:OriginOpts:Default:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Fractional">Fractional</a> n => <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-76" class="link">Source</a> <a href="#t:OriginOpts" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OriginOpts:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n <a href="#v:def" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:oColor" class="def">oColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#oColor" class="link">Source</a> <a href="#v:oColor" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:oScale" class="def">oScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#oScale" class="link">Source</a> <a href="#v:oScale" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:oMinSize" class="def">oMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:OriginOpts">OriginOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#oMinSize" class="link">Source</a> <a href="#v:oMinSize" class="selflink">#</a></p></div><h1 id="g:2">Showing an approximation of the envelope</h1><div class="top"><p class="src"><a id="v:showEnvelope" class="def">showEnvelope</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showEnvelope" class="link">Source</a> <a href="#v:showEnvelope" class="selflink">#</a></p><div class="doc"><p>Mark the envelope with an approximating cubic spline
using 32 points, medium line width and red line color.</p></div></div><div class="top"><p class="src"><a id="v:showEnvelope-39-" class="def">showEnvelope'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showEnvelope%27" class="link">Source</a> <a href="#v:showEnvelope-39-" class="selflink">#</a></p><div class="doc"><p>Mark the envelope with an approximating cubic spline with control
over the color, line width and number of points.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:EnvelopeOpts" class="def">EnvelopeOpts</a> n <a href="src/Diagrams-TwoD-Model.html#EnvelopeOpts" class="link">Source</a> <a href="#t:EnvelopeOpts" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:EnvelopeOpts" class="def">EnvelopeOpts</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_eColor" class="def">_eColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_eLineWidth" class="def">_eLineWidth</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_ePoints" class="def">_ePoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:EnvelopeOpts" class="caption collapser" onclick="toggleSection('i:EnvelopeOpts')">Instances</p><div id="section.i:EnvelopeOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EnvelopeOpts:Default:1" class="instance expander" onclick="toggleSection('i:id:EnvelopeOpts:Default:1')"></span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n => <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-87" class="link">Source</a> <a href="#t:EnvelopeOpts" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:EnvelopeOpts:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n <a href="#v:def" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:eColor" class="def">eColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#eColor" class="link">Source</a> <a href="#v:eColor" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:eLineWidth" class="def">eLineWidth</a> :: <span class="keyword">forall</span> n n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Model.html#eLineWidth" class="link">Source</a> <a href="#v:eLineWidth" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:ePoints" class="def">ePoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:EnvelopeOpts">EnvelopeOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Diagrams-TwoD-Model.html#ePoints" class="link">Source</a> <a href="#v:ePoints" class="selflink">#</a></p></div><h1 id="g:3">Showing an approximation of the trace</h1><div class="top"><p class="src"><a id="v:showTrace" class="def">showTrace</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showTrace" class="link">Source</a> <a href="#v:showTrace" class="selflink">#</a></p><div class="doc"><p>Mark the trace of a diagram by placing 64 red dots 1/100th its size
along the trace.</p></div></div><div class="top"><p class="src"><a id="v:showTrace-39-" class="def">showTrace'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n) b) => <a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showTrace%27" class="link">Source</a> <a href="#v:showTrace-39-" class="selflink">#</a></p><div class="doc"><p>Mark the trace of a diagram, with control over colour and scale
of marker dot and the number of points on the trace.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:TraceOpts" class="def">TraceOpts</a> n <a href="src/Diagrams-TwoD-Model.html#TraceOpts" class="link">Source</a> <a href="#t:TraceOpts" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:TraceOpts" class="def">TraceOpts</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_tColor" class="def">_tColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_tScale" class="def">_tScale</a> :: n</dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_tMinSize" class="def">_tMinSize</a> :: n</dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:_tPoints" class="def">_tPoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:TraceOpts" class="caption collapser" onclick="toggleSection('i:TraceOpts')">Instances</p><div id="section.i:TraceOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TraceOpts:Default:1" class="instance expander" onclick="toggleSection('i:id:TraceOpts:Default:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Numeric.html#t:Floating">Floating</a> n => <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-99" class="link">Source</a> <a href="#t:TraceOpts" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:TraceOpts:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n <a href="#v:def" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:tColor" class="def">tColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#tColor" class="link">Source</a> <a href="#v:tColor" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tScale" class="def">tScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#tScale" class="link">Source</a> <a href="#v:tScale" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tMinSize" class="def">tMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#tMinSize" class="link">Source</a> <a href="#v:tMinSize" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPoints" class="def">tPoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD-Model.html#t:TraceOpts">TraceOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Diagrams-TwoD-Model.html#tPoints" class="link">Source</a> <a href="#v:tPoints" class="selflink">#</a></p></div><h1 id="g:4">Showing labels of all named subdiagrams</h1><div class="top"><p class="src"><a id="v:showLabels" class="def">showLabels</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Semigroup.html#t:Semigroup">Semigroup</a> m) => <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n m -> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD-Types.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showLabels" class="link">Source</a> <a href="#v:showLabels" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|