#DOCUMENTATION by cg
class: Image class
comment/format in:
#fromView:
#fromView:grab:
#fromView:grab:withDecoration:
--- a/Image.st Thu Aug 31 20:19:14 2017 +0200
+++ b/Image.st Thu Aug 31 21:38:51 2017 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1991 by Claus Gittinger
All Rights Reserved
@@ -2554,7 +2552,7 @@
!
fromView:aView
- "return an image taken from a views contents as currently
+ "return an image taken from a view's contents as currently
on the screen. The returned image has the same depth and photometric
as the Display.
Notice that for invisible or partial covered views,
@@ -2564,9 +2562,7 @@
it may not work from within a buttonMotion
(use #fromView:grab: with a false grabArg then)."
- ^ self
- fromView:aView
- grab:true
+ ^ self fromView:aView grab:true
"
Image fromView:(Launcher allInstances first window topView)
@@ -2581,12 +2577,13 @@
(Image fromView:active) inspect
"
- "Modified: 9.9.1996 / 22:41:01 / stefan"
- "Modified: 26.3.1997 / 10:45:40 / cg"
+ "Modified: / 09-09-1996 / 22:41:01 / stefan"
+ "Modified: / 26-03-1997 / 10:45:40 / cg"
+ "Modified (comment): / 31-08-2017 / 20:15:21 / cg"
!
fromView:aView grab:doGrab
- "return an image taken from a views contents as currently
+ "return an image taken from a view's contents as currently
on the screen. If the doGrab argument is true, the display
is grabbed (i.e. blocked for others) and a camera cursor is
shown while the readout is done.
@@ -2601,12 +2598,13 @@
^ self fromView:aView grab:doGrab withDecoration:false
- "Created: / 26.3.1997 / 10:34:20 / cg"
- "Modified: / 10.10.2001 / 14:13:29 / cg"
+ "Created: / 26-03-1997 / 10:34:20 / cg"
+ "Modified: / 10-10-2001 / 14:13:29 / cg"
+ "Modified (comment): / 31-08-2017 / 20:14:58 / cg"
!
fromView:aView grab:doGrab withDecoration:withDecoration
- "return an image taken from a views contents as currently
+ "return an image taken from a view's contents as currently
on the screen, optionally with decoration included.
If the doGrab argument is true, the display
is grabbed (i.e. blocked for others) and a camera cursor is
@@ -2645,6 +2643,7 @@
"Created: / 26-03-1997 / 10:34:20 / cg"
"Modified: / 08-09-2006 / 15:41:41 / cg"
+ "Modified (comment): / 31-08-2017 / 20:14:53 / cg"
! !
!Image methodsFor:'Compatibility-Squeak'!