[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cap in path routine
From: |
Patrick McCarty |
Subject: |
Re: cap in path routine |
Date: |
Sun, 6 Jun 2010 15:59:53 -0700 |
2010/6/6 josé henrique padovani <address@hidden>:
> Em 06/06/10 15:33, Patrick McCarty escreveu:
>> Looking into this more, I see two issues:
>>
>> 1) What names should we use for the different linecap options?
>> 2) Where should these values be specified?
>>
>> Any thoughts (about syntax, or otherwise)?
>
> well.. I think that would be good to preserve the ps-like words (simply to
> avoid confusion between svg and
> ps syntaxes)
>
> It would be nice to add both "setlinecap" and "setlinejoin" to the 'path
> defs...
> They could be added as optional arguments (not sure about the guile syntax
> as I am more
>
> (use-modules (ice-9 optargs)) ;; is this module already loaded by LilyPond?
> (define* (path thickness exps #:optional cap join )
>
> ...)
>
> or, using keywords (more elegant?)... and then if linecap or linejoin are
> not supplied
> by the user they can have their actual default values... (maybe path could
> be extendend in this way?)
>
> (use-modules (ice-9 optargs)) ;; is this module already loaded by LilyPond?
> (define my-proc (lambda* (thickness exps #&key linecap linejoin)
>
> ....
> What do you think?
This looks like an easy way of implementing these extra configurable options.
I've already started fiddling with the 'path routines, and I'll let
you know when I have worked everything out.
Thanks,
Patrick
- -dbackend=svg ... warning: missing stencil expression `embedded-ps', josé henrique padovani, 2010/06/04
- Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps', Patrick McCarty, 2010/06/04
- Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps', josé henrique padovani, 2010/06/05
- Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps', Neil Puttock, 2010/06/06
- Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'), Carl Sorensen, 2010/06/06
- cap in path routine (was: Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps')), josé henrique padovani, 2010/06/06
- Re: cap in path routine (was: Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps')), Patrick McCarty, 2010/06/06
- Re: cap in path routine (was: Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps')), Patrick McCarty, 2010/06/06
- Re: cap in path routine, josé henrique padovani, 2010/06/06
- Re: cap in path routine, josé henrique padovani, 2010/06/06
- Re: cap in path routine,
Patrick McCarty <=
- Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'), Patrick McCarty, 2010/06/06
- Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'), Patrick McCarty, 2010/06/06
- Re: Eyeglasses (was Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'), Patrick McCarty, 2010/06/18
- Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps', Patrick McCarty, 2010/06/06