Changeset 170


Ignore:
Timestamp:
2007/02/06 09:53:44 (17 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/total/class/SC_GraphBase.php

    r169 r170  
    7575    function resampled() { 
    7676        $tmp_image = imagecreatetruecolor($this->bgw/2, $this->bgh/2); 
    77         if(imagecopyresampled($tmp_image, $this->image, 0, 0, 0, 0, $this->bgw, $this->bgh, $this->bgw/2, $this->bgh/2)) { 
     77        if(imagecopyresampled($tmp_image, $this->image, 0, 0, 0, 0, $this->bgw, $this->bgh, ($this->bgw/2), ($this->bgh/2))) { 
    7878            $this->image = $tmp_image; 
    7979        } 
Note: See TracChangeset for help on using the changeset viewer.