void EditWindow::paintEvent(QPaintEvent * /*event*/)
{
QPainter p(this);
-//hm, causes lockup
-// p.setRenderHint(QPainter::Antialiasing);
+//hm, causes lockup (or does it???)
+ p.setRenderHint(QPainter::Antialiasing);
//Doesn't do crap!
//dc.SetBackground(*wxWHITE_BRUSH);
//ex ey 1
//px py 1
//
-//(???) By translating the start point to the origin, this can be rewritten as:
+//By translating the start point to the origin, this can be rewritten as:
//By subtracting row 1 from all rows, you get the following:
+//[because sx = sy = 0. you could leave out the -sx/y terms below. because we subtracted
+// row 1 from all rows (including row 1) row 1 turns out to be zero. duh!]
//
//0 0 0
//(ex - sx) (ey - sy) 0