lilypond-user
[Top][All Lists]
Advanced

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

Re: Bounding box for rotated markup


From: Thomas Morley
Subject: Re: Bounding box for rotated markup
Date: Mon, 10 Apr 2023 15:10:04 +0200

Am So., 9. Apr. 2023 um 12:16 Uhr schrieb Jean Abou Samra <jean@abou-samra.fr>:
>
>
>
> > Le 9 avr. 2023 à 10:50, Thomas Morley <thomasmorley65@gmail.com> a écrit :
> >
> > Hi,
> >
> > please consider following code:
> >
> > pol = \markup \polygon #'((0 . 2) (10 . 0) (10 . 20) (0 . 22))
> > \markup \override #'(box-padding . 0) \box { \pol \rotate #45 \pol }
> >
> > See attached image.
> > How to get \box tight to the rotated polygon?
>
>
> (Untested) Try \with-true-dimensions.
>
>

Hi Jean,

thanks for the hint, works now.
Especially the there used `stencil-true-extent' is great.

Best,
  Harm



reply via email to

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