--- a/Depth4Image.st Tue Apr 29 23:27:04 2003 +0200
+++ b/Depth4Image.st Fri May 02 19:50:55 2003 +0200
@@ -108,9 +108,9 @@
"Created: 24.4.1997 / 17:06:39 / cg"
!
-rowAt:rowIndex into:aPixelBuffer
+rowAt:y into:aPixelBuffer
"fill aBuffer with pixel values retrieved from a single row.
- Notice: rowIndex is 0-based."
+ Notice: row coordinate starts with 0."
|lineIndex "{ Class: SmallInteger }"
byte "{ Class: SmallInteger }"
@@ -120,7 +120,7 @@
bytes := self bits.
dstIdx := 1.
w := width - 1.
- lineIndex := (self bytesPerRow * rowIndex).
+ lineIndex := (self bytesPerRow * y).
0 to:w do:[:x |
x even ifTrue:[
lineIndex := lineIndex + 1.
@@ -1029,5 +1029,5 @@
!Depth4Image class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Depth4Image.st,v 1.45 2003-04-29 19:42:31 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Depth4Image.st,v 1.46 2003-05-02 17:50:18 cg Exp $'
! !