Ignore:
Timestamp:
2007/02/14 12:50:06 (19 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

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

    r15 r248  
    7272    } 
    7373     
     74    // ¥ê¥µ¥ó¥×¥ë(²èÁü¤ò³ê¤é¤«¤Ë½Ì¾®¤¹¤ë) 
     75    function resampled() { 
     76        $new_width = $this->bgw * 0.8; 
     77        $new_height = $this->bgh * 0.8;      
     78        $tmp_image = imagecreatetruecolor($new_width, $new_height); 
     79        if(imagecopyresampled($tmp_image, $this->image, 0, 0, 0, 0, $new_width, $new_height, $this->bgw, $this->bgh)) { 
     80            $this->image = $tmp_image; 
     81        } 
     82    } 
     83     
     84     
    7485    // ¥ª¥Ö¥¸¥§¥¯¥È¥«¥é¡¼¤ÎÀßÄê 
    7586    function setColorList($arrRGB) { 
Note: See TracChangeset for help on using the changeset viewer.