Home
last modified time | relevance | path

Searched refs:new_width (Results 1 – 6 of 6) sorted by relevance

/plugin/galleryv1.5/inc/
H A Dimage.php52 $new_width = floor(str_replace('h','',$size) * $ratio); variable
55 $new_width = str_replace('w','',$size); variable
60 $new_image = imagecreatetruecolor($new_width, $new_height);
62 imagecopyresampled($new_image, $old_image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
H A Dmagazinelayout.class.php322 $new_width = floor(str_replace('h','',$size) * $ratio);
325 $new_width = str_replace('w','',$size);
329 $dim = array('w'=>$new_width,'h'=>$new_height);
333 $i['width'] = $new_width;
/plugin/photogallery/phpThumb/
H A Dphpthumb.functions.php407 static function ProportionalResize($old_width, $old_height, $new_width=false, $new_height=false) { argument
409 if (($new_width === false) && ($new_height === false)) {
411 } elseif ($new_width === false) {
412 $new_width = $new_height * $old_aspect_ratio;
414 $new_height = $new_width / $old_aspect_ratio;
416 $new_aspect_ratio = $new_width / $new_height;
421 $new_height = $new_width / $old_aspect_ratio;
424 $new_width = $new_height * $old_aspect_ratio;
426 return array(intval(round($new_width)), intval(round($new_height)));
H A Dphpthumb.filters.php691 …list($new_width, $new_height) = phpthumb_functions::ProportionalResize($output_width, $output_heig…
692 $offset_x = ($radius_x ? $output_width - $new_width - $radius_x : 0);
734 …nvas, $gdimg, floor(($output_width - $new_width) / 2), round(($output_height - $new_height) / 2), …
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/
H A Ddhtmlxgantt.js19106 new_width = Math.min(new_width, column.max_width);
19107 return new_width;
19181 if (new_width == this._getColumnWidth(columns[i], config, new_width)) {
19183 columns[i].width = new_width;
19198 if (new_width == this._getColumnWidth(columns[start_index], config, new_width))
19248 if (new_width != width[i]) {
19249 delta = new_width - width[i];
19250 width[i] = new_width;
19261 if (new_width != width[index]) {
19262 delta = new_width - width[index];
[all …]
/plugin/yuriigantt/3rd/dhtmlxgantt/
H A Ddhtmlxgantt.js.map1new_width","max_width","_getGridWidthLimits","min_limit","max_limit","newWidth","start_index","col…