void
Clef_item::do_pre_processing()
{
- dim_cache_[Y_AXIS].translate (y_position_i_ * staff_line_leading_f () / 2.0);
+ dim_cache_[Y_AXIS]->translate (y_position_i_ * staff_line_leading_f () / 2.0);
SCM style_sym =get_elt_property (style_scm_sym);
String style;
if (style_sym != SCM_BOOL_F)
if (style == "transparent")
{
set_elt_property (transparent_scm_sym, SCM_BOOL_T);
- dim_cache_[X_AXIS].set_empty (true);
+ dim_cache_[X_AXIS]->set_empty (true);
}
}
g->text_str_ = "8";
g->style_str_ = "italic";
- g->dim_cache_[Y_AXIS].parent_l_ = &dim_cache_[Y_AXIS];
- g->dim_cache_[X_AXIS].parent_l_ = &dim_cache_[X_AXIS];
+ g->dim_cache_[Y_AXIS]->parent_l_ = dim_cache_[Y_AXIS];
+ g->dim_cache_[X_AXIS]->parent_l_ = dim_cache_[X_AXIS];
add_dependency (g); // just to be sure.
Real r = do_height ()[d] - g->extent (Y_AXIS)[-d];
- g->dim_cache_[Y_AXIS].set_offset (r);
+ g->dim_cache_[Y_AXIS]->set_offset (r);
SCM my_vis = get_elt_property (visibility_lambda_scm_sym);
if (my_vis != SCM_BOOL_F)