|
From: | lilypond |
Subject: | Re: [Lilypond-auto] Issue 3907 in lilypond: Patch: Moves the Box class to flower/ in a new class called FlowerBox. Wraps FlowerBox as Box smob in lily/ |
Date: | Mon, 28 Apr 2014 08:04:46 +0000 |
Comment #3 on issue 3907 by address@hidden: Patch: Moves the Box class to flower/ in a new class called FlowerBox. Wraps FlowerBox as Box smob in lily/
http://code.google.com/p/lilypond/issues/detail?id=3907The idea is not to recreate a cgal but rather to abstract out the tools that LilyPond uses for spacing so that other people wishing to implement horizontal spacing algorithms can do so.
I have no clue how the innards of Scheme work, so if it is a bad idea to create a wrapper around an internal class then I'll drop this external library idea. I'd be interested, though, to see if this causes a significant slow down. My tests on this patch didn't show any slow down. In general, why is it a bad idea to create a class Foo and then create a class SchemeFoo that derives from Foo and that is declared as a smob?
--You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at: https://code.google.com/hosting/settings
[Prev in Thread] | Current Thread | [Next in Thread] |