void Graphic::parentXform (Transformer& t) { Graphic* parent = Parent(); if (parent == nil) { t = *_identity; } else { parent->TotalTransformation(t); } }
void Graphic::TotalTransformation (Transformer& total) { Graphic* parent = Parent(); if (parent == nil) { concatTransformer(nil, _t, &total); } else { parent->TotalTransformation(total); concatTransformer(_t, &total, &total); } }