2 text-def.hh -- part of GNU LilyPond
4 (c) 1996--1998 Han-Wen Nienhuys
10 #include "general-script-def.hh"
12 #include "lily-proto.hh"
15 class Text_def : public General_script_def
18 DECLARE_MY_RUNTIME_TYPEINFO;
19 VIRTUAL_COPY_CONS(Text_def,General_script_def);
22 Alignment of typeset text wrt center.
24 LEFT = raggedright, CENTER = centered, RIGHT = raggedleft
31 virtual void do_print() const;
32 virtual Direction staff_dir() const;
33 virtual Atom get_atom (Paper_def* p, Direction dir_) const;
34 virtual ~Text_def() {};
35 virtual bool do_equal_b (const General_script_def*) const;
37 virtual void print() const;
38 virtual Interval width (Paper_def*) const;
40 Real guess_width_f(Atom&) const;