From: Ian Jackson Date: Sun, 23 May 2021 00:40:49 +0000 (+0100) Subject: docs: wip document shapelibs X-Git-Tag: otter-0.6.0~37 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=86959d0b0b077b20a2a29bb116f5ad6ddb8176e3;p=otter.git docs: wip document shapelibs Signed-off-by: Ian Jackson --- diff --git a/docs/shapelibs.rst b/docs/shapelibs.rst index 4d5ef75f..8b0bb031 100644 --- a/docs/shapelibs.rst +++ b/docs/shapelibs.rst @@ -179,7 +179,8 @@ Parameters ``_s`` is replaced by the sort extra field from the ``files`` list ``_c`` is replaced by the colour, if applicable. - * ``orig_size`` [1- or 2-element array]: If specified, the supplied - image is first scaled from ``orig_size`` to ``size``. If both - ``size`` and ```orig_size`` are 2 elements, this can scale by - different amounts in x and y, distorting the image. + * ``orig_size`` [1- or 2-element array, or (default) empty array]: If + non-empty, the supplied image is first scaled from ``orig_size`` + to ``size``. If both ``size`` and ```orig_size`` are 2 elements, + this can scale by different amounts in x and y, distorting the + image.