Skip to content

Commit

Permalink
Merge pull request #19 from diagrams/sized
Browse files Browse the repository at this point in the history
Mention sized and friends in user manual
  • Loading branch information
fryguybob committed Oct 22, 2012
2 parents 32727f0 + c5e726d commit e261763
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manual/diagrams-manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2231,6 +2231,19 @@ Envelope-related functions
information from the envelopes of two-dimensional diagrams,
such as `width`, `height`, `extentX`, `extentY`, and `center2D`.

It also provides functions `sized` and `sizedAs`, which can be used
for changing the size of an object. For example:

.. class:: dia-lhs

::

> shapes = circle 1
> ||| square 2
> ||| circle # scaleY 0.3 # sizedAs (square 2)
>
> example = hrule 1 # sizedAs (shapes # scale 0.5) <> shapes # centerX

The ``Enveloped`` class
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit e261763

Please sign in to comment.