wmii/lib/libstuff/x11/geometry/mulpt.c

12 lines
198 B
C
Raw Normal View History

2010-05-22 06:52:47 +04:00
/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
* See LICENSE file for license details.
*/
#include "../x11.h"
Point
mulpt(Point p, Point q) {
p.x *= q.x;
p.y *= q.y;
return p;
}