Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(794)

Issue 1730044: Add \path markup command, and use it for \eyeglasses. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Patrick McCarty
Modified:
13 years, 8 months ago
Reviewers:
janneke, MikeSol, carl.d.sorensen, hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Add \path markup command, and use it for \eyeglasses. * Modified 'path routines to accept optional arguments that allow for customizing line-cap styles, line-join styles, and whether the path should be filled or not. * Add \path markup command that takes two arguments: thickness and a list of sublists containing the drawing commands and their associated arguments. Line-cap styles, line-join styles, and the fill flag are overrideable as properties. * Redo the implementation of \eyeglasses using this new \path command. This allows for using \eyeglasses in the SVG output. * Automatically calculate extents of the entire path (including Bézier curves) by refactoring and using Mike Solomon's work. * Integrate the functionality of the 'connected-shape stencil with the 'path stencil. The demands of 'connected-shape were mostly a subset of those provided by 'path, so remove 'connected-shape too.

Patch Set 1 #

Total comments: 8

Patch Set 2 : Respond to feedback. #

Patch Set 3 : Fix indentation. #

Patch Set 4 : Input method -> Scheme lists; approximate path extents. #

Total comments: 5

Patch Set 5 : Fix indentation issue. #

Patch Set 6 : Fix stencil extents by integrating Mike's work #

Patch Set 7 : Whitespace fixes #

Total comments: 6

Patch Set 8 : Don't export `path-min-max', and add docstring for `make-connected-path-stencil' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -217 lines) Patch
ps/music-drawing-routines.ps View 1 chunk +0 lines, -18 lines 0 comments Download
M scm/define-markup-commands.scm View 1 2 3 4 5 6 7 3 chunks +155 lines, -21 lines 0 comments Download
M scm/define-stencil-commands.scm View 1 chunk +0 lines, -1 line 0 comments Download
M scm/define-woodwind-diagrams.scm View 34 chunks +43 lines, -43 lines 0 comments Download
M scm/output-ps.scm View 1 2 3 4 5 4 chunks +21 lines, -30 lines 0 comments Download
M scm/output-svg.scm View 1 2 3 4 5 4 chunks +23 lines, -40 lines 0 comments Download
M scm/stencil.scm View 6 7 2 chunks +90 lines, -64 lines 0 comments Download

Messages

Total messages: 19
Carl
Thanks for doing this. I think this looks quite good. As I mention below, I ...
13 years, 10 months ago (2010-06-20 11:07:37 UTC) #1
Patrick McCarty
Thanks Carl. I'll be uploading a new patch shortly. -Patrick http://codereview.appspot.com/1730044/diff/1/2 File scm/define-markup-commands.scm (right): http://codereview.appspot.com/1730044/diff/1/2#newcode622 ...
13 years, 10 months ago (2010-06-21 22:39:53 UTC) #2
Carl
I've added my draft of an algorithm to estimate the extents. Thanks, Carl http://codereview.appspot.com/1730044/diff/1/2 File ...
13 years, 10 months ago (2010-06-22 03:50:24 UTC) #3
hanwenn
cool idea for a patch http://codereview.appspot.com/1730044/diff/1/2 File scm/define-markup-commands.scm (right): http://codereview.appspot.com/1730044/diff/1/2#newcode667 scm/define-markup-commands.scm:667: closepath just a random ...
13 years, 10 months ago (2010-06-22 04:27:22 UTC) #4
janneke
On 2010/06/22 04:27:22, hanwenn wrote: > cool idea for a patch Interesting -- why is ...
13 years, 10 months ago (2010-06-22 13:59:41 UTC) #5
Patrick McCarty
On 2010/06/22 03:50:24, Carl wrote: > On 2010/06/21 22:39:53, Patrick McCarty wrote: > > On ...
13 years, 10 months ago (2010-06-26 00:06:54 UTC) #6
mikesol_ufl.edu
Sorry - I should have replied to this earlier, but I was away from my ...
13 years, 10 months ago (2010-06-26 09:21:59 UTC) #7
Carl
LGTM, with a couple of minor spacing issues. Carl http://codereview.appspot.com/1730044/diff/17001/12002 File scm/define-markup-commands.scm (right): http://codereview.appspot.com/1730044/diff/17001/12002#newcode2782 scm/define-markup-commands.scm:2782: ...
13 years, 10 months ago (2010-06-26 13:35:59 UTC) #8
c_sorensen
On 6/26/10 3:27 AM, "Mike Solomon" <mikesol@ufl.edu> wrote: > Sorry - I should have replied ...
13 years, 10 months ago (2010-06-26 13:58:15 UTC) #9
janneke-list_xs4all.nl
Op zaterdag 26-06-2010 om 00:06 uur [tijdzone +0000], schreef pnorcks@gmail.com: > Let me know what ...
13 years, 10 months ago (2010-06-26 14:47:14 UTC) #10
hanwenn
On Sat, Jun 26, 2010 at 11:47 AM, Jan Nieuwenhuizen <janneke-list@xs4all.nl> wrote: > Op zaterdag ...
13 years, 10 months ago (2010-06-26 15:10:41 UTC) #11
MikeSol
Great work! http://codereview.appspot.com/1730044/diff/17001/12002 File scm/define-markup-commands.scm (right): http://codereview.appspot.com/1730044/diff/17001/12002#newcode743 scm/define-markup-commands.scm:743: I think this is EXCELLENT work and ...
13 years, 9 months ago (2010-07-05 05:48:16 UTC) #12
Patrick McCarty
I am currently working on integrating my work with Mike's new stencil routines, so I'll ...
13 years, 9 months ago (2010-07-13 21:49:56 UTC) #13
janneke-list_xs4all.nl
Op dinsdag 13-07-2010 om 21:49 uur [tijdzone +0000], schreef pnorcks@gmail.com: > Jan: I like your ...
13 years, 9 months ago (2010-07-14 07:02:59 UTC) #14
Patrick McCarty
Hi all, This patchset integrates some of Mike's work in order to fix the stencil ...
13 years, 9 months ago (2010-07-28 18:51:57 UTC) #15
Carl
Looks very nice! Just a few comments. Thanks, Carl http://codereview.appspot.com/1730044/diff/35001/36003 File scm/define-stencil-commands.scm (left): http://codereview.appspot.com/1730044/diff/35001/36003#oldcode30 scm/define-stencil-commands.scm:30: ...
13 years, 9 months ago (2010-07-28 19:08:16 UTC) #16
Patrick McCarty
Thanks Carl. I'll upload my changes shortly. -Patrick http://codereview.appspot.com/1730044/diff/35001/36003 File scm/define-stencil-commands.scm (left): http://codereview.appspot.com/1730044/diff/35001/36003#oldcode30 scm/define-stencil-commands.scm:30: connected-shape ...
13 years, 9 months ago (2010-07-28 20:29:10 UTC) #17
Carl
LGTM. Carl
13 years, 8 months ago (2010-08-13 11:04:00 UTC) #18
Patrick McCarty
13 years, 8 months ago (2010-08-13 22:11:13 UTC) #19
On 2010/08/13 11:04:00, Carl wrote:
> LGTM. 
> 
> Carl

Thanks Carl.

I'll push this patchset shortly (with regression tests).

-Patrick
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b