A new fix for the fix has been commited in the trunk. The 'patch' for the MacOS/Tcl903 bug is still valid, but the extra optimizations (trying to update just the changed region instead of the full image) were reverted. I need to investigate why Tk is calling my ImgSurfaceDisplay() passing drawableX=30 , drawableY=30, instead of 0,0 !
Hi Robert, I completely agree; the adaptation for macOS was disastrous! I don't have that much experience with Tk/X11, but I can try to explain the issue with tclBlend2d. Bad news! Unfortunately, I have to warn you that I introduced an error into my recent 'solution' for the Tk9.0.3 problem while attempting an optimization; basically, images are being drawn with a (30, 30) pixel offset! I am going to revert that optimization now (while keeping the 'patch' for Tk9.0.3 intact). Il giorno lun 14 set...
BUG-FIX_FIX !
BUGFIX:
A fix for MacOS with Tcl >= 9.0.1 has been commited in the trunk. It will be part of the next Blend2d release (1.9) planned for the end of September. Let me say that this core-change for MacOS in XCopyArea broke the X11 compatibility that used to be the base for the platform-independent porting of Tk extension. In my opinion this change for the emulation of X11 on MacOS is like a regression bug
Fixed some annoying compiler warnings on MacOS
BUG-FIX:
code cleaning