Commit Graph

  • 18d25c3713 signal a redraw while panning Josh Holtrop 2011-04-01 23:58:57 -04:00
  • 10549ff7ae initial attempt at panning, need to redraw Josh Holtrop 2011-04-01 23:49:09 -04:00
  • e3dc55efc7 handle scroll events and motion events Josh Holtrop 2011-04-01 23:08:02 -04:00
  • 147a6bb3a5 capture mouse button presses/releases Josh Holtrop 2011-04-01 22:38:59 -04:00
  • 3a7255bbae fix projection matrix so widget resizes properly Josh Holtrop 2011-04-01 21:15:59 -04:00
  • 594a5c5359 make axis length configurable Josh Holtrop 2011-04-01 20:57:14 -04:00
  • 3d002eebf8 break out configurable sizes of things Josh Holtrop 2011-04-01 20:55:44 -04:00
  • bfe8d2a267 draw axes Josh Holtrop 2011-04-01 16:09:32 -04:00
  • edbfce91d2 increase circle resolution when zoomed in Josh Holtrop 2011-04-01 15:58:45 -04:00
  • bcb47a4825 fix Y scaling error in ptToScreenPt() Josh Holtrop 2011-04-01 15:47:51 -04:00
  • 6e2e19d1a5 initial view scaling Josh Holtrop 2011-04-01 15:45:50 -04:00
  • 5678df7dbb add accessor methods in shapes to get vars Josh Holtrop 2011-04-01 09:59:44 -04:00
  • 0ce01c7b58 add antialiasing code Josh Holtrop 2011-03-31 22:46:02 -04:00
  • 4cc7901c2d disable lighting and depth test Josh Holtrop 2011-03-31 22:39:05 -04:00
  • dd8bd07d1e optimize drawing routines slightly Josh Holtrop 2011-03-31 22:30:58 -04:00
  • 03f3245721 draw thick circle as well Josh Holtrop 2011-03-31 22:13:03 -04:00
  • 7fb5a06088 add drawFilledCircle() and cap lines Josh Holtrop 2011-03-31 22:08:25 -04:00
  • e9735e03bf SketchWidget: optimize drawFilledLine() slightly Josh Holtrop 2011-03-31 21:49:10 -04:00
  • 1203478a33 SketchWidget: add drawFilledLine() Josh Holtrop 2011-03-31 21:42:13 -04:00
  • 87348d3605 SketchWidget: break out draw{Line,Circle}() Josh Holtrop 2011-03-31 20:18:45 -04:00
  • b562718db6 fix expected equ value for [XY]Fix Josh Holtrop 2011-03-31 19:45:37 -04:00
  • 01d97b5604 update test sketch using a line midpoint Josh Holtrop 2011-03-31 19:38:19 -04:00
  • 979bf7ee47 add midpoint to Line (pt 2) Josh Holtrop 2011-03-31 19:38:06 -04:00
  • 999a4da50d use Horizontal instead of YDistance of 0 Josh Holtrop 2011-03-31 19:31:01 -04:00
  • e0a0dffd88 more complicated test sketch working! Josh Holtrop 2011-03-30 17:34:59 -04:00
  • bee46a4407 more debug info Josh Holtrop 2011-03-30 17:34:43 -04:00
  • af99d8646a detect when FuncDesigner does not return a solution Josh Holtrop 2011-03-30 17:22:15 -04:00
  • 95c11d0c23 first attempt at using FuncDesigner Josh Holtrop 2011-03-30 17:17:11 -04:00
  • 2d24e7a920 add Shape.getVar() Josh Holtrop 2011-03-30 16:46:34 -04:00
  • 2200460b56 split Fix into XFix/YFix constraints Josh Holtrop 2011-03-30 15:51:45 -04:00
  • 5dd89c2cc9 add Fix constraint to fix a coordinate to a value Josh Holtrop 2011-03-30 15:48:27 -04:00
  • 9c2bb94603 add more debug, SLE solver not working? Josh Holtrop 2011-03-29 20:42:04 -04:00
  • a36e4f6d08 more debug routines Josh Holtrop 2011-03-29 19:32:59 -04:00
  • aa19e77187 add missing horizontal and vertical constraints Josh Holtrop 2011-03-29 19:27:19 -04:00
  • 38cf7aeb8b Merge branch 'master' into square-matrix Josh Holtrop 2011-03-29 19:24:17 -04:00
  • eb65d9f653 syntax error - duh Josh Holtrop 2011-03-29 19:23:51 -04:00
  • d18b45cff7 Merge branch 'master' into square-matrix Josh Holtrop 2011-03-29 19:21:13 -04:00
  • 891b5f6dca fix scope errors Josh Holtrop 2011-03-29 19:20:51 -04:00
  • fcffa9c760 make C square Josh Holtrop 2011-03-29 19:16:24 -04:00
  • 6fae3f220d import linalg module Josh Holtrop 2011-03-29 18:07:11 -04:00
  • b8314f290c use zeros() instead of explicitly zeroing Josh Holtrop 2011-03-29 17:15:51 -04:00
  • 0e98ea5cb5 add XDistance constraint to test Sketch Josh Holtrop 2011-03-29 17:11:00 -04:00
  • c6b5d09669 Sketch.solve(): explicitly initialize vars to 0.0 Josh Holtrop 2011-03-29 17:10:12 -04:00
  • bf46f9ec4b fix a couple issues Josh Holtrop 2011-03-29 14:30:33 -04:00
  • 7ddae3ae7b finish your thought there buddy Josh Holtrop 2011-03-29 14:29:44 -04:00
  • e32f380e80 incorrect class names Josh Holtrop 2011-03-29 14:28:40 -04:00
  • a81c0d5a7d syntax errors Josh Holtrop 2011-03-29 14:28:05 -04:00
  • 4826861967 update test sketch Josh Holtrop 2011-03-29 14:21:41 -04:00
  • c12f7e8f5b only support two line points for now Josh Holtrop 2011-03-29 14:19:59 -04:00
  • ad8d1ca915 fix solve() logic error Josh Holtrop 2011-03-29 14:19:20 -04:00
  • cd2954a1b8 logic error Josh Holtrop 2011-03-29 14:16:32 -04:00
  • da9296bc76 fix a few errors Josh Holtrop 2011-03-29 14:15:57 -04:00
  • 7126cb701b syntax error Josh Holtrop 2011-03-29 14:13:51 -04:00
  • 8901c23af7 SketchWidget: render basic lines and circles Josh Holtrop 2011-03-29 14:06:18 -04:00
  • 9e3ca181c7 import parent class Josh Holtrop 2011-03-29 13:20:38 -04:00
  • fcc5a29855 import parent class Josh Holtrop 2011-03-29 13:20:20 -04:00
  • 55a96bbc3f propagate solved variables back to shapes Josh Holtrop 2011-03-28 18:59:56 -04:00
  • 094e4edd9f added Shape.setVar() Josh Holtrop 2011-03-28 18:58:16 -04:00
  • 7858a84618 add Sketch.solve(), in progress Josh Holtrop 2011-03-28 18:51:00 -04:00
  • 05eb8e0324 add XDistance and YDistance constraints Josh Holtrop 2011-03-28 18:33:27 -04:00
  • 1021ff3e59 remove Distance Josh Holtrop 2011-03-28 18:27:46 -04:00
  • a95c478085 added Connect.toEqu() Josh Holtrop 2011-03-28 18:25:55 -04:00
  • b0ae18f9d1 mv EqualConstraint to Equal Josh Holtrop 2011-03-28 18:18:01 -04:00
  • c13fc5ad93 filled out Horizontal and Vertical toEqu() methods Josh Holtrop 2011-03-28 18:10:49 -04:00
  • c8d2f9a82a update constraint types to take point indexes Josh Holtrop 2011-03-28 16:40:07 -04:00
  • cc3831e235 add vars array to Line and Circle for solver Josh Holtrop 2011-03-28 16:22:25 -04:00
  • 4932447df9 add Horizontal and Vertical constraint classes Josh Holtrop 2011-03-28 15:37:47 -04:00
  • f1282e6cb6 add Line constructor Josh Holtrop 2011-03-28 15:30:26 -04:00
  • d33d9f0f1a move GL widget code to SketchWidget Josh Holtrop 2011-03-28 15:26:14 -04:00
  • da1c47441e add classes for constraints Josh Holtrop 2011-03-25 15:42:12 -04:00
  • 36c6f092fd add Sketch, Shape, Line, Circle placeholder classes Josh Holtrop 2011-03-24 16:44:42 -04:00
  • f776ba8570 set size request on Window, not DrawingArea Josh Holtrop 2011-03-24 15:26:37 -04:00
  • 89486e1499 creating a gtkgl DrawingArea and drawing a quad Josh Holtrop 2011-03-24 15:16:56 -04:00
  • 9741db038e set window title to program name Josh Holtrop 2011-03-22 13:18:36 -04:00
  • 6c09225b44 quit GTK when window is closed Josh Holtrop 2011-03-22 13:15:31 -04:00
  • b6ae011b38 initial commit, skeleton window Josh Holtrop 2011-03-22 13:08:31 -04:00