src/PelDataWindow.php
public function setWindowStart($start)
    {
        if ($start < 0 || $start > $this->size) {
            throw new PelDataWindowWindowException(
                'Window [%d, %d] does ' . 'not fit in window [0, %d]',
                $start,
                $this->size,
                $this->size
            );
        }
        $this->start += $start;
        $this->size -= $start;
    }
public function setWindowStart($start)
    {
        if ($start < 0 || $start > $this->size) {
            throw new PelDataWindowWindowException(
                'Window [%d, %d] does ' . 'not fit in window [0, %d]',
                $start,
                $this->size,
                $this->size
            );
        }
        $this->start += $start;
        $this->size -= $start;
    }
public function setWindowStart ( $ start ) { if ( $ start < 0 || $ start > $ this -> size ) { throw new PelDataWindowWindowException ( 'Window [%d, %d] does ' . 'not fit in window [0, %d]' , $ start , $ this -> size , $ this -> size ) ; } $ this -> start += $ start ; $ this -> size -= $ start ; }
Move the start of the window forward.

@param integer $start
the new start of the window. All new offsets will be
calculated from this new start offset, and the size of the window
will shrink to keep the end of the window in place.
Move the start of the window forward .