3

I'd like to be able to draw a bunch of shapes in Diagrams and crop the picture to a fixed size, leaving parts of the shapes in view (i.e. not completely occluding the shape)

I can't seem to find a way to do this. I found bounding boxes, but it seems they only do intersection/containment checks.

Thanks!

duplode
  • 33,731
  • 7
  • 79
  • 150
Charles Durham
  • 1,707
  • 11
  • 17
  • 2
    You are probably looking for `rectEnvelope`. Cf. the [section of the manual about clipping](http://projects.haskell.org/diagrams/doc/manual.html#clipping). – duplode Mar 24 '17 at 22:13

0 Answers0