WMII Reforge  Artifact [695b14e994]

Artifact 695b14e99440956411446292968b3844e62582f7ee9fdd4dfab858ff8125ae0d:

  • File lib/libstuff/x11/geometry/subpt.c — part of check-in [15eae1e8e6] at 2019-06-20 16:42:23 on branch trunk — Import sources to have something to work with (user: KhazAkar size: 198)

/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
 * See LICENSE file for license details.
 */
#include "../x11.h"

Point
subpt(Point p, Point q) {
	p.x -= q.x;
	p.y -= q.y;
	return p;
}