*/
enum Grob_status {
ORPHAN=0, // not yet added to Paper_score
- VIRGIN,
PRECALCING,
PRECALCED, // calcs before spacing done
POSTCALCING, // busy calculating. This is used to trap cyclic deps.
0 means ORPHAN,
*/
char status_;
-
-
- /*
- IDEA: make this a global variable. This is the same for all
- elements, I think it is safe to assume that we will not have
- scores being formatted multithreadedly.
- */
Paper_score *pscore_;
Dimension_cache dim_cache_[NO_AXES];
void warning (String)const;
void programming_error (String)const;
- void set_elt_pointer (const char*, SCM val);
- friend class Property_engraver; // UGHUGHUGH.
/*
related classes.
*/
SCM get_property_alist_chain (SCM) const;
void suicide ();
- bool live () const;
+ bool is_live () const;
DECLARE_SCHEME_CALLBACK (stencil_extent, (SCM smob, SCM axis));
Real relative_coordinate (Grob const* refp, Axis) const;
Grob*common_refpoint (Grob const* s, Axis a) const;
-
// duh. slim down interface here. (todo)
bool has_offset_callback (SCM callback, Axis)const;
void add_offset_callback (SCM callback, Axis);
Real get_offset (Axis a) const;
void set_parent (Grob* e, Axis);
-
Grob *get_parent (Axis a) const { return dim_cache_[a].parent_; }
+
DECLARE_SCHEME_CALLBACK (fixup_refpoint, (SCM));
};