** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.cpp,v 1.7 2000/07/29 19:50:08 kevin Exp $
+** $Id: sgp.cpp,v 1.8 2000/07/31 14:48:35 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
double x2 = x;
double y2 = y;
- mc_to_ndc.transformPoint (&x1, &y2);
+ mc_to_ndc.transformPoint (&x2, &y2);
if (clip_rect (x1, y1, x2, y2, viewNDC) == true) { // clip to viewport
stylusNDC (x1, y1, 0); // move to first point