Changeset 171 for branches/dev/html/admin
- Timestamp:
- 2007/02/06 09:55:06 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/total/class/SC_GraphBase.php
r170 r171 74 74 // ¥ê¥µ¥ó¥×¥ë 75 75 function resampled() { 76 $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))) { 76 $new_width = $this->bgw / 2; 77 $new_height = $this->bgh / 2; 78 $tmp_image = imagecreatetruecolor($new_width, $new_height); 79 if(imagecopyresampled($tmp_image, $this->image, 0, 0, 0, 0, $this->bgw, $this->bgh, $new_width, $new_height)) { 78 80 $this->image = $tmp_image; 79 81 }
Note: See TracChangeset
for help on using the changeset viewer.
