--- a/Depth1Image.st Thu Feb 05 12:54:05 1998 +0100
+++ b/Depth1Image.st Thu Feb 05 15:20:43 1998 +0100
@@ -173,7 +173,7 @@
_idx = ((_w + 7) >> 3) * _y + (_x >> 3);
if ((unsigned)_idx < __byteArraySize(b)) {
- _byte = _ByteArrayInstPtr(b)->ba_element[_idx];
+ _byte = __ByteArrayInstPtr(b)->ba_element[_idx];
RETURN( (_byte & (0x80 >> (_x & 7))) ? __MKSMALLINT(1) : __MKSMALLINT(0) );
}
}
@@ -224,9 +224,9 @@
_idx = ((_w + 7) >> 3) * _y + (_x >> 3);
if ((unsigned)_idx < __byteArraySize(b)) {
if (aPixelValue == __MKSMALLINT(0)) {
- _ByteArrayInstPtr(b)->ba_element[_idx] &= ~(0x80 >> (_x & 7));
+ __ByteArrayInstPtr(b)->ba_element[_idx] &= ~(0x80 >> (_x & 7));
} else {
- _ByteArrayInstPtr(b)->ba_element[_idx] |= (0x80 >> (_x & 7));
+ __ByteArrayInstPtr(b)->ba_element[_idx] |= (0x80 >> (_x & 7));
}
RETURN( self );
}
@@ -546,11 +546,11 @@
for (_x2 = 0; _x2 < _w2; _x2++) {
_x1 = (int)( (double)_x2 / _mX);
- _byte = _ByteArrayInstPtr(b1)->ba_element[(_w1 + 7) / 8 * _y1 + (_x1 / 8)];
+ _byte = __ByteArrayInstPtr(b1)->ba_element[(_w1 + 7) / 8 * _y1 + (_x1 / 8)];
if ((_byte & (0x80 >> (_x1 % 8)))) {
_idx2 = (_w2 + 7) / 8 * _y2 + (_x2 / 8);
- _ByteArrayInstPtr(b2)->ba_element[_idx2] |= (0x80 >> (_x2 % 8));
+ __ByteArrayInstPtr(b2)->ba_element[_idx2] |= (0x80 >> (_x2 % 8));
}
}
}
@@ -604,8 +604,8 @@
&& __bothSmallInteger(w, mX)
&& __isByteArray(srcBytes) && __isByteArray(dstBytes)) {
_mag = _intVal(mX);
- srcP = _ByteArrayInstPtr(srcBytes)->ba_element - 1 + _intVal(srcStart);
- dstP = _ByteArrayInstPtr(dstBytes)->ba_element - 1 + _intVal(dstStart);
+ srcP = __ByteArrayInstPtr(srcBytes)->ba_element - 1 + _intVal(srcStart);
+ dstP = __ByteArrayInstPtr(dstBytes)->ba_element - 1 + _intVal(dstStart);
_pixels = _intVal(w);
switch (_mag) {
@@ -736,5 +736,5 @@
!Depth1Image class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Depth1Image.st,v 1.31 1997-04-24 15:53:42 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Depth1Image.st,v 1.32 1998-02-05 14:19:50 cg Exp $'
! !