[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHES] Re: Harp Pedals?
From: |
Reinhold Kainhofer |
Subject: |
Re: [PATCHES] Re: Harp Pedals? |
Date: |
Thu, 28 Aug 2008 23:42:30 +0200 |
User-agent: |
KMail/1.9.9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 28. August 2008 schrieb Valentin Villenave:
> 2008/8/19 Carl D. Sorensen <address@hidden>:
> > I've been looking at ellipse code. Once I can get rhythms.itely off my
> > plate (which is waiting on the beatGrouping patch, one way or the other)
> > I'll add an ellipse in place of the circle.
>
> I've been looking at a way to draw ellipses, but I've just seen you
> have pushed a much better-looking implementation than mine; I hope the
> docs will be recompiled soon so we can appreciate your nice ellipse in
> the documentation!
Yes, I saw that, too. I even generalized it to allow different paddings in X-
and Y-direction. However, what I don't understand about the ellipse code in
ellipse-stencil is the factor 0.707 (supposedly from sqrt(2)/2) for x-radius
and y-radius. If that factor comes from scaling the ellipse so that it
surrounds the stencil, then it only works for square stencils, for all other
stencils it will be too large. As an extreme case consider a line stencil
("box" from (0 . -1) to (0 . 1) ). The ellipse will have half-axes of length
1.414 and 0 (without padding), so in X-direction it will overshoot by far.
For a square, of course, the ellipse will degenerate to a circle, touching all
corners, but for stencils with other rectangular extents, the ellipse will
not touch the corners of the bounding box any more.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFItxvJTqjEwhXvPN0RAp3YAKDPLWkKDtIwL9kXJ2ewllV145hAiQCfcgtJ
9HT0TA/6i916CtT0vlnWZUk=
=UbNn
-----END PGP SIGNATURE-----
- Re: [PATCHES] Re: Harp Pedals?, (continued)
- Re: [PATCHES] Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/18
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/18
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/18
- Re: [PATCHES] Re: Harp Pedals?, Han-Wen Nienhuys, 2008/08/18
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/19
- Re: [PATCHES] Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/19
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/19
- Re: [PATCHES] Re: Harp Pedals?, Valentin Villenave, 2008/08/19
- Re: [PATCHES] Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/19
- Re: [PATCHES] Re: Harp Pedals?, Valentin Villenave, 2008/08/28
- Re: [PATCHES] Re: Harp Pedals?,
Reinhold Kainhofer <=
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/28
- Re: [PATCHES] Re: Harp Pedals?, Trevor Daniels, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Francisco Vila, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Francisco Vila, 2008/08/29
- Re: [PATCHES] Re: Harp Pedals?, Carl D. Sorensen, 2008/08/31
- Re: [PATCHES] Re: Harp Pedals?, Francisco Vila, 2008/08/31
- Re: [PATCHES] Re: Harp Pedals?, Trevor Daniels, 2008/08/29