Commit Graph

22 Commits

Author SHA1 Message Date
Tim Edwards 2af38a4191 Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
Tim Edwards 074553a1e4 Corrected backing store put/get in the case of obscuring windows.
The OpenGL version was disabling backing store while any window
obscures the layout;  the Cairo version was not.
2017-09-15 21:12:44 -04:00
Tim Edwards f754270e0a Corrected problem with passing the MagWindow to the backing store
routine;  failure to use the passed MagWindow value caused crashes
when using more than one window in the Cairo graphics interface.
2017-09-15 20:47:44 -04:00
Tim Edwards b1770396e5 Corrected text clipping to cell bounds, and adjusted screen to
a half-pixel offset that centers coordinates on pixels, so single-
pixel objects like cell boundaries or the crosshair will be drawn
a single pixel in width.
2017-09-15 16:51:13 -04:00
Tim Edwards 35c3510ea7 Finished the implementation of Cairo 2D graphics (yay!).
Specifically, fixed the initial background, display of text,
reinstated supercolor values, and fixed the backing store
coordinates.
2017-09-14 17:03:53 -04:00
Tim Edwards 1d3bb0d698 Corrected problems having to do with color (blue and green were swapped)
and incorrect call to cairo_set_source_rgba which is in an unused
function and has no effect except with versions of Tcl less than 8.6
where "load -lazy" is not available and unknown functions cause
immediate exit.  Cleaned up remaining references to OpenGL in the
Cairo code, and updated the copyright and acknowledged Chuan Chen, who
coded the Cairo interface.  No attempt yet to deal with memory leaks
caused by calling Cairo "create" functions without the accompanying
"destroy" functions.
2017-09-12 15:42:08 -04:00
Chuan Chen 29335ca0b0 Remote changes at Mon Sep 4 23:35:07 EDT 2017 by chuan on vivaldi 2017-09-04 23:35:07 -04:00
Chuan Chen 683892981c Remote changes at Mon Sep 4 23:20:22 EDT 2017 by chuan on vivaldi 2017-09-04 23:20:22 -04:00
Tim Edwards 37e7b7ffeb Changed the offscreen-rendering handling in SetProjection to be
more like the Tk/X11 model than the OpenGL model, since Cairo
isn't picky about pixmaps.
2017-09-01 09:12:02 -04:00
Chuan Chen 2aff81a748 Remote changes at Fri Sep 1 00:39:19 EDT 2017 by chuan on vivaldi 2017-09-01 00:39:19 -04:00
Chuan Chen b397adadef Remote changes at Thu Aug 31 23:54:11 EDT 2017 by chuan on vivaldi 2017-08-31 23:54:11 -04:00
Chuan Chen bf471d26ef Remote changes at Thu Aug 31 14:11:17 EDT 2017 by chuan on vivaldi 2017-08-31 14:11:17 -04:00
Chuan Chen a40c1f21a7 Remote changes at Wed Aug 30 16:34:42 EDT 2017 by chuan on vivaldi 2017-08-30 16:34:42 -04:00
Chuan Chen 2cf9f82447 Remote changes at Tue Aug 29 12:52:57 EDT 2017 by chuan on vivaldi 2017-08-29 12:52:57 -04:00
Chuan Chen 902ae0c7d4 Remote changes at Fri Aug 18 14:15:12 EDT 2017 by chuan on vivaldi 2017-08-18 14:15:12 -04:00
Chuan Chen 17e387bfa2 Remote changes at Thu Aug 17 15:42:31 EDT 2017 by chuan on vivaldi 2017-08-17 15:42:31 -04:00
Chuan Chen cb55befc20 Remote changes at Thu Aug 17 13:47:38 EDT 2017 by chuan on vivaldi 2017-08-17 13:47:38 -04:00
Chuan Chen 1ad0d77537 Remote changes at Wed Aug 16 14:11:12 EDT 2017 by chuan on vivaldi 2017-08-16 14:11:12 -04:00
Chuan Chen cebebcccc8 Remote changes at Wed Aug 16 13:52:31 EDT 2017 by chuan on vivaldi 2017-08-16 13:52:31 -04:00
Chuan Chen 72f9a2a1ab Remote changes at Tue Aug 15 15:19:13 EDT 2017 by chuan on vivaldi 2017-08-15 15:19:13 -04:00
Chuan Chen 2fd19426d9 Remote changes at Thu Aug 10 14:28:06 EDT 2017 by chuan on vivaldi 2017-08-10 14:28:06 -04:00
Chuan Chen 0da80741da Remote changes at Thu Aug 10 14:27:50 EDT 2017 by chuan on vivaldi 2017-08-10 14:27:50 -04:00