X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstencil-scheme.cc;h=125b142d26fc46805b1734906989f999ff012c6e;hb=e93ef6da649651c20932fa4acbe807e8cb37e0ac;hp=36f1406b66809d441076f79a0b8624c2e3ec2b5d;hpb=cbb205d40a19c0d2d9801031a63607e108a18038;p=lilypond.git diff --git a/lily/stencil-scheme.cc b/lily/stencil-scheme.cc index 36f1406b66..125b142d26 100644 --- a/lily/stencil-scheme.cc +++ b/lily/stencil-scheme.cc @@ -156,15 +156,23 @@ LY_DEFINE (ly_stencil_add, "ly:stencil-add", LY_DEFINE (ly_make_stencil, "ly:make-stencil", 1, 2, 0, (SCM expr, SCM xext, SCM yext), - " \n" - "Stencils are a device independent output expressions." - "They carry two pieces of information: \n\n" - "1: a specification of how to print this object. " + "Stencils are device independent output expressions. " + "They carry two pieces of information:\n" + + "@enumerate\n" + + "@item\n" + "A specification of how to print this object. " "This specification is processed by the output backends, " - " for example @file{scm/output-ps.scm}.\n\n" - "2: the vertical and horizontal extents of the object.\n\n" - "If the extents are unspecified, they are taken to be empty." - ) + "for example @file{scm/output-ps.scm}.\n" + + "@item\n" + "The vertical and horizontal extents of the object, " + "given as pairs. " + "If an extent is unspecified (or if you use " + "@code{(1000 . -1000)} as its value), it is taken to be empty.\n" + + "@end enumerate\n") { SCM_ASSERT_TYPE (!scm_is_pair (expr) || is_stencil_head (scm_car (expr)), @@ -289,7 +297,7 @@ LY_DEFINE (ly_stencil_rotate, "ly:stencil-rotate", SCM new_s = s->smobbed_copy (); Stencil *q = unsmob_stencil (new_s); - q->rotate (a, Offset (x_off, y_off)); + q->rotate_degrees (a, Offset (x_off, y_off)); return new_s; }