On Mon, 18 Apr 2005 14:40:25 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Op ma, 18-04-2005 te 14:23 -0300, schreef Jonatan Liljedahl:
> > They don't get arrows unless you set the arrow property on them.
> >
> > If you do
> >
> >\override TextSpanner #'arrow = #'(#f . #t)
> >
> > the
On Mon, 18 Apr 2005 13:26:31 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> > > like I said earlier, I'd prefer the property to be boolean and be
> > > read by Text_spanner code. The arrow routines are called from
> > > C++ only.
> >
> > I made it a boolean pair. Your preference wou
On Mon, 18 Apr 2005 01:50:56 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> > > >+ (arrow ,integer? "Add an arrow to the line at 1: end, 2:
> > > >start,
> > > 3: both.")
> > >
> > > This is not done. We do not have magical number constants in
> > > lilypond.
> >
> > I see. What
On Mon, 18 Apr 2005 01:46:37 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Op ma, 18-04-2005 te 00:49 -0300, schreef Jonatan Liljedahl:
> > On Sun, 17 Apr 2005 23:22:38 +0200
> > Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> >
> > > >+ static Stencil make_arrow (Offset &from, Offset &to, i
On Sun, 17 Apr 2005 23:22:38 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> >+ static Stencil make_arrow (Offset &from, Offset &to, int dir, Real
> length, Real width);
>
> don't use & . If you want to modify, use * . Use const& for big
> structures. In this case, just copy the arguments
On Sun, 17 Apr 2005 23:22:38 +0200
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Op zo, 17-04-2005 te 18:26 -0300, schreef Jonatan Liljedahl:
> > Here's the new version of my arrowline patch.
> >
> > It lets you put arrows at the head or tail of a line.
> > The arrow is rotated correctly if the l
Op ma, 18-04-2005 te 14:23 -0300, schreef Jonatan Liljedahl:
> They don't get arrows unless you set the arrow property on them.
>
> If you do
>
>\override TextSpanner #'arrow = #'(#f . #t)
>
> then only textspanners will have arrows, not brackets or other shapes!
I have added your patch in
Op ma, 18-04-2005 te 13:13 -0300, schreef Jonatan Liljedahl:
> On Mon, 18 Apr 2005 01:50:56 +0200
> Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
>
> > > > >+ (arrow ,integer? "Add an arrow to the line at 1: end, 2:
> > > > >start,
> > > > 3: both.")
> > > >
> > > > This is not done. We do
Op ma, 18-04-2005 te 00:49 -0300, schreef Jonatan Liljedahl:
> On Sun, 17 Apr 2005 23:22:38 +0200
> Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
>
> > >+ static Stencil make_arrow (Offset &from, Offset &to, int dir, Real
> > length, Real width);
> >
> > don't use & . If you want to modify, use
Op ma, 18-04-2005 te 00:45 -0300, schreef Jonatan Liljedahl:
> I tried that first (since I'm used to C where there isn't any
> &arg declarations),
> but it bailed out with "no operator* for Offset".
>
sorry. You're right. Try
rotated = complex_multiply (orig, complex_exp (0, angle))
> > >+
Op zo, 17-04-2005 te 18:26 -0300, schreef Jonatan Liljedahl:
> Here's the new version of my arrowline patch.
>
> It lets you put arrows at the head or tail of a line.
> The arrow is rotated correctly if the line isn't straight.
> Arrow width and length is tunable.
>
> Patch attached,
comments fo
Here's the new version of my arrowline patch.
It lets you put arrows at the head or tail of a line.
The arrow is rotated correctly if the line isn't straight.
Arrow width and length is tunable.
Patch attached, and here's a demonstration:
\version
12 matches
Mail list logo