with-dimensions markup command.
2006-01-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/define-markup-commands.scm (with-dimensions):
+ with-dimensions markup command.
+
* input/test/font-table.ly: use it.
* lily/open-type-font.cc (glyph_list): new function.
(ly:stencil-aligned-to m X dir)))
+
+(def-markup-command (with-dimensions layout props x y arg) (number-pair? number-pair? markup?)
+ "Set the dimensions of @var{arg} to @var{x} and @var{y}."
+
+ (let* ((m (interpret-markup layout props arg)))
+ (ly:make-stencil (ly:stencil-expr m) x y)))
+
+
(def-markup-command (pad-around layout props amount arg) (number? markup?)
"Add padding @var{amount} all around @var{arg}. "