Commit Graph

29 Commits

Author SHA1 Message Date
Pietro Gagliardi 46e3fee40d Added a center point to scaling transforms. Fixed rotations on GTK+. 2015-10-12 01:43:12 -04:00
Pietro Gagliardi 5792ac76fc Work on more tests. Scaling will need a center point for this test to work correctly... 2015-10-12 01:18:08 -04:00
Pietro Gagliardi 41a33a1aa1 Fixed the failing test. 2015-10-12 00:27:34 -04:00
Pietro Gagliardi f4b0e7e35e Added negative arcs to the OS X backend. Now we have a crash in one of the tests; still debugging. 2015-10-11 23:48:40 -04:00
Pietro Gagliardi 0989454106 Implemented negative arcs on Windows. 2015-10-11 22:14:27 -04:00
Pietro Gagliardi d789d37ef6 Fixed up the examples. 2015-10-11 21:31:23 -04:00
Pietro Gagliardi 15c00330d6 Added a parameter for negative arcs. 2015-10-11 21:15:08 -04:00
Pietro Gagliardi 9cb2c922b8 More samples. The fill style sample is showing the limitations of what I've done so far, and solving that problem is proving to be a nightmare. 2015-10-11 15:47:30 -04:00
Pietro Gagliardi 3d8f8f0756 Implemented a basic translation. 2015-10-11 11:42:07 -04:00
Pietro Gagliardi 9e8c522010 More drawing tests. Maybe I should do transforms now... 2015-10-10 20:48:26 -04:00
Pietro Gagliardi 46149edccf More draw tests. 2015-10-10 18:53:07 -04:00
Pietro Gagliardi 87e51487f6 More drawing tests. 2015-10-10 13:01:48 -04:00
Pietro Gagliardi 0a59910d91 Removed some stale TODOs. 2015-10-10 11:07:37 -04:00
Pietro Gagliardi 0566c3fa7a Fixed up the radial gradient test to be a full circle now that it finally works. 2015-10-10 10:49:42 -04:00
Pietro Gagliardi 3fad1a16d7 Even more TODOs. 2015-10-10 08:50:47 -04:00
Pietro Gagliardi 4b81b421e8 Expanded the arcs test a bit more. 2015-10-10 08:50:16 -04:00
Pietro Gagliardi 7a4d4b7eba More arc tests. This time, it tests if the starting line segment is in the right place. 2015-10-10 08:41:42 -04:00
Pietro Gagliardi 3cbc3f3c67 Made arc angles counterclockwise on the GTK+ backend and fixed the sun in the Direct2D geometries howto. 2015-10-09 23:13:15 -04:00
Pietro Gagliardi 50f03eca14 More arc testing. 2015-10-09 22:28:10 -04:00
Pietro Gagliardi 2c7ed07747 Changed the arc functions to take a start angle and a sweep amount instead of a start angle and an end angle. This makes it easier to reason about sweeps > 2π radians. 2015-10-09 21:51:43 -04:00
Pietro Gagliardi 9adf4cef86 Added an arc test. 2015-10-09 19:18:16 -04:00
Pietro Gagliardi 844015f71a Fixed typos in the test program that in turn fixed the gradients; also fixed a few Objective-C-isms in the OS X backend. 2015-10-09 18:49:41 -04:00
Pietro Gagliardi f558319f18 More TODOs. 2015-10-09 18:02:28 -04:00
Pietro Gagliardi 6dfbd71c52 More drawtests.c stuff. I need to resolve this arc stuff once and for all and write AddEllipse before I can continue. 2015-10-09 17:49:43 -04:00
Pietro Gagliardi fc502b178b More drawing tests. There is defintely something wrong with arcs. 2015-10-09 17:32:26 -04:00
Pietro Gagliardi db1026f003 Added a second test to the uiArea draw test suite. Now to add a uiAreaQueueRedrawAll() function. 2015-10-09 15:09:08 -04:00
Pietro Gagliardi 843ea0d46c Implemented uiComboboxSetSelected() on GTK+. 2015-10-09 13:54:34 -04:00
Pietro Gagliardi 581cbaecc9 Added uiComboboxSetSelected(), which we need for the uiArea drawing tests. Will implement next. 2015-10-09 13:47:02 -04:00
Pietro Gagliardi 6424ea00ab Created a new framework for consolidating all drawing tests. 2015-10-09 13:38:41 -04:00