#DOCUMENTATION by cg
class: ImageEditView
comment/format in: #makeSubImageX:y:width:height:
--- a/ImageEditView.st Wed Nov 16 23:15:25 2016 +0100
+++ b/ImageEditView.st Wed Nov 16 23:15:54 2016 +0100
@@ -1283,8 +1283,8 @@
needRedraw := true.
(oldX == 0 and:[oldY == 0]) ifTrue:[
needRedraw := false.
- redrawRect1 := ((newWidth@0) * magnification) corner:((oldWidth@oldHeight)+1 * magnification).
- redrawRect2 := ((0@newHeight) * magnification) corner:((oldWidth@oldHeight)+1 * magnification).
+ redrawRect1 := ((newWidth@0) * magnification) corner:(((oldWidth@oldHeight)+1) * magnification).
+ redrawRect2 := ((0@newHeight) * magnification) corner:(((oldWidth@oldHeight)+1) * magnification).
].
self image:newImage scroll:false invalidate:needRedraw.
redrawRect1 notNil ifTrue:[
@@ -1295,8 +1295,9 @@
].
self setModified.
- "Created: / 7.9.1998 / 13:00:16 / cg"
- "Modified: / 7.9.1998 / 14:15:32 / cg"
+ "Created: / 07-09-1998 / 13:00:16 / cg"
+ "Modified: / 07-09-1998 / 14:15:32 / cg"
+ "Modified (format): / 16-11-2016 / 23:07:50 / cg"
!
makeUndo