3 This file is part of libmspgltk
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include <msp/gl/transform.h>
15 void Alignment::apply(const Geometry &geom, unsigned wd, unsigned ht) const
17 GL::translate((geom.w-wd)*(x+1)/2, (geom.h-ht)*(y+1)/2, 0);