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
f12d98c2c7
Applied an upside-down scale transformation to the pattern matrix,
...
otherwise patterns end up upside-down relative to other graphics
interfaces.
2017-09-15 14:55:41 -04:00
Tim Edwards
536e198ee8
Corrected typo in call to cairo_surface_destroy, incorrectly
...
written cairo_destroy_surface (fails to run with Tcl <= 8.5,
runs with Tcl 8.6 and "load -lazy" but then creates a
potential crash condition).
2017-09-15 11:22:52 -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
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
77da51d416
Remote changes at Thu Aug 24 17:24:48 EDT 2017 by chuan on vivaldi
2017-08-24 17:24:48 -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
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
ad6cbe2e2f
Remote changes at Fri Aug 11 15:42:32 EDT 2017 by chuan on vivaldi
2017-08-11 15:42:32 -04:00
Chuan Chen
9e183c63f4
Remote changes at Fri Aug 11 15:18:32 EDT 2017 by chuan on vivaldi
2017-08-11 15:18:32 -04:00
Chuan Chen
6e8274ab5c
Remote changes at Wed Aug 9 14:55:30 EDT 2017 by chuan on vivaldi
2017-08-09 14:55:30 -04:00
Chuan Chen
a90545be3f
Remote changes at Mon Aug 7 15:37:14 EDT 2017 by chuan on vivaldi
2017-08-07 15:37:14 -04:00
Chuan Chen
31ac164be4
Remote changes at Mon Aug 7 14:38:50 EDT 2017 by chuan on vivaldi
2017-08-07 14:38:50 -04:00
Chuan Chen
9bd159f1c8
Remote changes at Mon Aug 7 14:17:12 EDT 2017 by chuan on vivaldi
2017-08-07 14:17:12 -04:00
Chuan Chen
d92f400a8b
Remote changes at Fri Aug 4 16:43:56 EDT 2017 by chuan on vivaldi
2017-08-04 16:43:56 -04:00
Chuan Chen
75f69c8b3e
Update at Fri Aug 4 14:25:41 EDT 2017 by chuan
2017-08-04 14:25:41 -04:00