- GL::push_matrix();
- GL::translate(rgeom.x, rgeom.y, 0);
- GL::scale_uniform(font_size);
- font->draw_string(text);
- GL::pop_matrix();
+ GL::MatrixStack::Push _push(bld.matrix());
+ bld.matrix() *= GL::Matrix::translation(rgeom.x, rgeom.y, 0);
+ bld.matrix() *= GL::Matrix::scaling(font_size);
+ font.draw_string(text);