diff options
author | culler <culler> | 2020-06-01 21:34:36 (GMT) |
---|---|---|
committer | culler <culler> | 2020-06-01 21:34:36 (GMT) |
commit | aeb89ef62c14b00be0853a7539e807bb3937a6f8 (patch) | |
tree | 22be887c989589854a6d45dc311e73c4a395ebd0 /tests/canvImg.test | |
parent | 11b02278eef59eb2b8412727e92256477ea6188b (diff) | |
download | tk-aeb89ef62c14b00be0853a7539e807bb3937a6f8.zip tk-aeb89ef62c14b00be0853a7539e807bb3937a6f8.tar.gz tk-aeb89ef62c14b00be0853a7539e807bb3937a6f8.tar.bz2 |
Better control over when drawRect runs. Add check for drawing outside of the drawRect clipping rectangle.
Diffstat (limited to 'tests/canvImg.test')
-rw-r--r-- | tests/canvImg.test | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test index b60e384..1abea78 100644 --- a/tests/canvImg.test +++ b/tests/canvImg.test @@ -727,12 +727,6 @@ test canvImg-9.1 {DisplayImage procedure} -constraints testImageType -setup { image delete foo } -result {75 150 105 165} -if {[tk windowingsystem] == "aqua" && $tcl_platform(osVersion) > 18} { - # Aqua >= 10.14 will redraw the entire image. - set result_10_1 {{foo display 0 0 30 15}} -} else { - set result_10_1 {{foo display 2 4 6 8}} -} test canvImg-10.1 {TranslateImage procedure} -constraints testImageType -setup { .c delete all update @@ -750,7 +744,7 @@ test canvImg-10.1 {TranslateImage procedure} -constraints testImageType -setup { } -cleanup { .c delete all image delete foo -} -result $result_10_1 +} -result {{foo display 2 4 6 8}} test canvImg-11.1 {TranslateImage procedure} -constraints testImageType -setup { .c delete all |