void Graphic::parentXform (Transformer& t) { Transformer identity; Graphic* p = parent(); if (p == nil) { *(&t) = *(&identity); } else { p->eqv_transformer(t); } }
void Graphic::eqv_transformer (Transformer& total) { Graphic* p = parent(); if (p == nil) { concatXform(nil, _t, &total); } else { p->eqv_transformer(total); concatXform(_t, &total, &total); } }