transforms.cpp revision e88f1eca443c9f97550088469932d9cea9ac0475
#include "transforms.h"
namespace Geom {
ret[4] = t[X] * s[X];
ret[5] = t[Y] * s[Y];
return ret;
}
return ret;
}
return Matrix(s[0], 0,
0 , s[1],
t[0], t[1]);
}
ret[0] *= s[X];
ret[1] *= s[X];
ret[2] *= s[Y];
ret[3] *= s[Y];
return ret;
}
ret[4] += t[X];
ret[5] += t[Y];
return ret;
}
return ret;
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :