Changeset 13038 for trunk/include/derivative_params.inc.php
- Timestamp:
- Feb 6, 2012, 9:59:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_params.inc.php
r13035 r13038 46 46 function fraction_to_char($f) 47 47 { 48 return ord('a') + round($f*25);48 return chr(ord('a') + round($f*25)); 49 49 } 50 50 … … 258 258 } 259 259 260 function compute_final_size($in_size , $coi)261 { 262 $this->sizing->compute( $in_size, $coi, $crop_rect, $scale_size );260 function compute_final_size($in_size) 261 { 262 $this->sizing->compute( $in_size, null, $crop_rect, $scale_size ); 263 263 return $scale_size != null ? $scale_size : $in_size; 264 264 }
Note: See TracChangeset
for help on using the changeset viewer.