[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent ly:stencil-rotate to modify dimensions

From: Torsten Hämmerle
Subject: Re: How to prevent ly:stencil-rotate to modify dimensions
Date: Sun, 11 Mar 2018 08:43:39 -0700 (MST)

Hi Andrew,

The bounding box of a circle actually is a square.
But, after rotation, the resulting markup/stencil will have a new bounding
box (with vertical height and horizontal width) large enough to contain the
original bounding box (all objects are considered as boxes, no matter what
their actual shape may be).

I've attached an image that demonstrates the growth of boxes: a circle with
square bounding box being rotated by 30 degrees and back, showing all the
bounding boxes involved (in colour).

Without outline/skyline analysis of the actual shape, LilyPond just sees
everything as boxes, exactly the way TeX does it and how it was done in hot
metal typesetting.


All the best,

Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]