Show
Ignore:
Timestamp:
12/21/07 03:17:06 (6 years ago)
Author:
gyuque
Message:

lang/legacy-actionscript/as2draw: implemented fixing bottom layer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/legacy-actionscript/as2draw/PixelBuffer.as

    r3363 r3382  
    3131                mStride = 1 << i; 
    3232        } 
     33         
     34        public function setOut(aMC:MovieClip):Void 
     35        { 
     36                mOut = aMC; 
     37        } 
    3338 
    3439        public function setPixel(x:Number, y:Number, k:Number) 
    3540        { 
    3641                if (x<0 || x>=mWidth || y<0) return; 
    37                 //mBuf[ (y<<mStrideShift) + x ] = k; 
     42                mBuf[ (y<<mStrideShift) + x ] = k; 
    3843        } 
    3944