class Score_element : private Directed_graph_node, public virtual Graphical_element

Both Spanner and Item are Score_element's

Inheritance:


Public Fields

int status_i_
Administration: Where are we?
bool transparent_b_
do not print anything black

Public Methods

void add_dependency(Score_element*)
add a dependency
void unlink()
Remove all links (dependencies, dependents, Axis_group_elements

Protected Methods

virtual Molecule* brew_molecule_p()
generate the molecule
virtual void do_add_processing()
executed directly after the item is added to the Paper_score
virtual void do_post_processing()
do calculations after determining horizontal spacing
virtual void do_pre_processing()
do calculations before determining horizontal spacing
virtual void do_print()
do printing of derived info.
virtual void do_space_processing()
generate rods & springs

Inherited from Graphical_element:

Public Methods

Graphical_axis_group* common_group(Graphical_element const* s, Axis a)
void translate(Offset)
void translate_axis(Real, Axis)

Private Fields

bool empty_b_

Documentation

Both Spanner and Item are Score_element's. Most Score_element's depend on other Score_element's, eg, Beam needs to know and set direction of Stem. So the Beam has to be calculated *before* Stem. This is accomplished with the dependencies fields of struct Score_element, which are implemented in the Directed_graph_node class: all elements form an acyclic graph.

(elem)

void unlink()
Remove all links (dependencies, dependents, Axis_group_elements

void add_dependency(Score_element*)
add a dependency. It may be the 0 pointer, in which case, it is ignored.

bool transparent_b_
do not print anything black

int status_i_
Administration: Where are we?. This is mainly used by Super_elem and Score_element::calcalute_dependencies ()

0 means ORPHAN, -1 means deleted

virtual void do_print()
do printing of derived info.

virtual Molecule* brew_molecule_p()
generate the molecule

virtual void do_add_processing()
executed directly after the item is added to the Paper_score

virtual void do_pre_processing()
do calculations before determining horizontal spacing

virtual void do_space_processing()
generate rods & springs

virtual void do_post_processing()
do calculations after determining horizontal spacing


Direct child classes:
Super_elem
Staff_side
Spanner
Item
Axis_group_element
Align_element

alphabetic index hierarchy of classes


This program documentation comes from lilypond-1.0.0.tar.gz. It was generated by <janneke@gnu.org> on Fri Jul 31 15:42:17 CEST 1998