Home
last modified time | relevance | path

Searched refs:new_height (Results 1 – 25 of 1610) sorted by relevance

12345678910>>...65

/dports/graphics/aaphoto/aaphoto-0.43.1/
H A Daaresize.c24 unsigned long new_height, in RESIZE() argument
46 for (j=0; j<new_height; j++){ in RESIZE()
98 *image_height = new_height; in RESIZE()
117 new_height = *image_height; in ROTATE90()
146 addr = ((new_height - 1 - y) + x * new_height); in ROTATE90()
157 *image_width = new_height; in ROTATE90()
174 unsigned long new_height; in ROTATE180() local
176 new_height = *image_height; in ROTATE180()
181 y_odd = new_height & 1; in ROTATE180()
247 new_height = *image_height; in ROTATE270()
[all …]
/dports/german/BBBike/BBBike-3.18/lib/Tk/
H A DSmoothShow.pm41 my $new_height = int($speed * $delta);
42 $new_height = $f->reqheight if $new_height > $f->reqheight;
43 $f->place(-height => $new_height);
44 if ($new_height < $f->reqheight) {
72 my $new_height = $start_height - int($speed * $delta);
73 $new_height = 0 if $new_height < 0;
74 $f->place(-height => $new_height);
75 if ($new_height > 0) {
/dports/graphics/pho/pho/
H A Dpho.c319 int new_height; in ScaleAndRotate() local
362 new_height = true_height; in ScaleAndRotate()
395 new_height *= gScaleRatio; in ScaleAndRotate()
405 new_height = img->curHeight; in ScaleAndRotate()
417 new_height = img->curHeight; in ScaleAndRotate()
446 new_height = img->curHeight; in ScaleAndRotate()
462 new_height = img->curHeight; in ScaleAndRotate()
487 SWAP(new_width, new_height); in ScaleAndRotate()
504 SWAP(new_width, new_height); in ScaleAndRotate()
506 new_width, new_height); in ScaleAndRotate()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/tui/
H A Dtui-win.c659 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
697 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
713 if (new_height % 2) in tui_resize_all()
714 new_height = (new_height / 2) + 1; in tui_resize_all()
716 new_height /= 2; in tui_resize_all()
719 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
946 int new_height, i; in tui_set_win_height() local
990 new_height = input_no; in tui_set_win_height()
998 new_height) == TUI_FAILURE) in tui_set_win_height()
1369 ok = ((new_height + in new_height_ok()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/tui/
H A Dtui-win.c659 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
697 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
713 if (new_height % 2) in tui_resize_all()
714 new_height = (new_height / 2) + 1; in tui_resize_all()
716 new_height /= 2; in tui_resize_all()
719 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
946 int new_height, i; in tui_set_win_height() local
990 new_height = input_no; in tui_set_win_height()
998 new_height) == TUI_FAILURE) in tui_set_win_height()
1369 ok = ((new_height + in new_height_ok()
[all …]
/dports/devel/avr-gdb/gdb-7.3.1/gdb/tui/
H A Dtui-win.c713 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
753 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
769 if (new_height % 2) in tui_resize_all()
770 new_height = (new_height / 2) + 1; in tui_resize_all()
772 new_height /= 2; in tui_resize_all()
1020 int new_height, i; in tui_set_win_height() local
1063 new_height = input_no; in tui_set_win_height()
1143 int new_height) in tui_adjust_win_heights() argument
1434 int new_height) in new_height_ok() argument
1460 ok = ((new_height + in new_height_ok()
[all …]
/dports/devel/gdb761/gdb-7.6.1/gdb/tui/
H A Dtui-win.c715 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
755 new_height = MIN_WIN_HEIGHT; in tui_resize_all()
771 if (new_height % 2) in tui_resize_all()
772 new_height = (new_height / 2) + 1; in tui_resize_all()
774 new_height /= 2; in tui_resize_all()
1022 int new_height, i; in tui_set_win_height() local
1065 new_height = input_no; in tui_set_win_height()
1145 int new_height) in tui_adjust_win_heights() argument
1436 int new_height) in new_height_ok() argument
1462 ok = ((new_height + in new_height_ok()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/openMVG/image/
H A Dimage_resampling.hpp30 const int new_height = src.Height() / 2; in ImageHalfSample() local
32 out.resize( new_width , new_height ); in ImageHalfSample()
36 for (int i = 0; i < new_height; ++i ) in ImageHalfSample()
53 const int new_height = src.Height() / 2; in ImageDecimate() local
55 out.resize( new_width , new_height ); in ImageDecimate()
57 for ( int i = 0; i < new_height; ++i ) in ImageDecimate()
73 const int new_height = src.Height() * 2; in ImageUpsample() local
75 out.resize( new_width , new_height ); in ImageUpsample()
79 for (int i = 0; i < new_height; ++i ) in ImageUpsample()
/dports/x11/mlterm/mlterm-3.9.1/common/
H A Dc_sixel.c154 if (new_height > cur_height) { in realloc_pixels_intern()
530 u_int new_height; in load_sixel_from_data() local
539 new_height = height; in load_sixel_from_data()
554 new_height = h; in load_sixel_from_data()
565 height = new_height; in load_sixel_from_data()
812 u_int new_height = 0; in load_sixel_from_data() local
850 if (new_height > 0) { in load_sixel_from_data()
852 if (height > new_height) { in load_sixel_from_data()
853 new_height = height; in load_sixel_from_data()
858 if (height < new_height) { in load_sixel_from_data()
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/app/core/
H A Dgimpimage-scale.c48 gint new_height, in gimp_image_scale() argument
63 g_return_if_fail (new_width > 0 && new_height > 0); in gimp_image_scale()
84 img_scale_h = (gdouble) new_height / (gdouble) old_height; in gimp_image_scale()
87 offset_y = (old_height - new_height) / 2; in gimp_image_scale()
95 new_height); in gimp_image_scale()
103 "height", new_height, in gimp_image_scale()
135 (position * new_height) / old_height, in gimp_image_scale()
163 y * new_height / old_height, in gimp_image_scale()
204 gint new_height, in gimp_image_scale_check() argument
222 new_width, new_height); in gimp_image_scale_check()
[all …]
H A Dgimpimage-resize.c52 gint new_height, in gimp_image_resize() argument
68 gint new_height, in gimp_image_resize_with_layers() argument
83 g_return_if_fail (new_width > 0 && new_height > 0); in gimp_image_resize_with_layers()
103 new_width, new_height); in gimp_image_resize_with_layers()
108 "height", new_height, in gimp_image_resize_with_layers()
163 new_width, new_height, in gimp_image_resize_with_layers()
190 if (new_position < 0 || new_position > new_height) in gimp_image_resize_with_layers()
227 if ((new_y < 0) || (new_y >= new_height)) in gimp_image_resize_with_layers()
260 gint *new_height, in gimp_image_resize_to_layers() argument
309 if (new_height) in gimp_image_resize_to_layers()
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dtabs.c35 int new_height = 0; in do_scale_stats_handler() local
46 new_height = max2i(new_height, win->min_len_y); in do_scale_stats_handler()
53 widget_resize(win->window_id, tab_stats_collection_id, new_width, new_height + tab_tag_height); in do_scale_stats_handler()
55 tab_collection_resize(w, new_width, new_height); in do_scale_stats_handler()
126 int new_height = 0; in do_scale_help_handler() local
137 new_height = max2i(new_height, win->min_len_y); in do_scale_help_handler()
144 widget_resize(win->window_id, tab_help_collection_id, new_width, new_height + tab_tag_height); in do_scale_help_handler()
146 tab_collection_resize(w, new_width, new_height); in do_scale_help_handler()
217 int new_height = (int)(0.5 + win->current_scale * 350); in do_scale_info_handler() local
228 new_height = max2i(new_height, win->min_len_y); in do_scale_info_handler()
[all …]
/dports/games/openttd/openttd-12.1/src/core/
H A Dsmallmatrix_type.hpp214 inline void Resize(uint new_width, uint new_height) in Resize() argument
216 uint new_capacity = new_width * new_height; in Resize()
228 if (this->height != new_height || new_data != this->data) { in Resize()
230 if (new_height > this->height) { in Resize()
234 if (x * new_height > new_capacity) continue; in Resize()
235 (*copy)(new_data + (x - 1) * new_height, in Resize()
237 std::min(this->height, new_height)); in Resize()
242 if ((x + 1) * new_height > new_capacity) break; in Resize()
243 (*copy)(new_data + x * new_height, in Resize()
245 std::min(this->height, new_height)); in Resize()
[all …]
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterStep/
H A Dshape.c55 if (new_width == 0 || new_height == 0) in assimilate_rectangle()
73 shape_rects[i].height = new_height; in assimilate_rectangle()
95 int h1 = new_y + new_height; in assimilate_rectangle()
141 int bottom = (new_y + new_height > y2) ? new_y + new_height - y2 : 0; in assimilate_rectangle()
195 new_rect.height = new_height; in assimilate_rectangle()
197 new_height, new_x, new_y); in assimilate_rectangle()
216 if (new_width == 0 || new_height == 0) in subtract_rectangle()
245 int s_bottom = new_y + new_height; in subtract_rectangle()
303 int new_x, new_y, new_width, new_height; in add_shape_rectangles() local
325 new_height = in add_shape_rectangles()
[all …]
/dports/x11-toolkits/p5-Gtk2-Ex-FormFactory/Gtk2-Ex-FormFactory-0.67/lib/Gtk2/Ex/FormFactory/
H A DImage.pm84 my $new_height = int($image_height * $scale);
85 return if $new_width <= 0 or $new_height <= 0;
88 $new_width, $new_height, "GDK_INTERP_BILINEAR"
101 my $new_height = int($image_height * $scale);
102 return if $new_width <= 0 or $new_height <= 0;
105 $new_width, $new_height, "GDK_INTERP_BILINEAR"
129 my $new_height = int($image_height * $scale);
130 return if $new_width <= 0 or $new_height <= 0;
133 $new_width, $new_height, "GDK_INTERP_BILINEAR"
/dports/security/libfprint/libfprint-0.7.0/libfprint/
H A Dpixman.c29 int new_height = img->height * h_factor; in fpi_im_resize() local
35 resized = pixman_image_create_bits(PIXMAN_a8, new_width, new_height, NULL, new_width); in fpi_im_resize()
48 new_width, new_height /* width height */ in fpi_im_resize()
51 newimg = fpi_img_new(new_width * new_height); in fpi_im_resize()
53 newimg->height = new_height; in fpi_im_resize()
56 memcpy(newimg->data, pixman_image_get_data(resized), new_width * new_height); in fpi_im_resize()
/dports/multimedia/termplay/termplay-2.0.6/src/
H A Dresizer.rs5 pub fn keep_aspect_ratio(old_width: u32, old_height: u32, mut new_width: u32, mut new_height: u32) … in keep_aspect_ratio()
7 let new_ratio = new_width as f64 / new_height as f64; in keep_aspect_ratio()
11 new_width = (old_width as f64 * (new_height as f64 / old_height as f64)) as u32; in keep_aspect_ratio()
14 new_height = (old_height as f64 * (new_width as f64 / old_width as f64)) as u32; in keep_aspect_ratio()
16 (new_width, new_height) in keep_aspect_ratio()
45 pub new_height: u32, field
50 …mut width, mut height) = keep_aspect_ratio(old_width, old_height, self.new_width, self.new_height); in get_size()
/dports/graphics/swftools/swftools-0.9.2/lib/filters/
H A Drescale_images.c64 int new_height = (int)ceil(target_height*i->config_subpixels); in rescale_images_fillbitmap() local
68 if(new_height<=0) in rescale_images_fillbitmap()
69 new_height = 1; in rescale_images_fillbitmap()
71 if(new_width < img->width || new_height < img->height) { in rescale_images_fillbitmap()
72 msg("<verbose> Scaling %dx%d image to %dx%d", img->width, img->height, new_width, new_height); in rescale_images_fillbitmap()
73 gfximage_t*new_image = gfximage_rescale(img, new_width, new_height); in rescale_images_fillbitmap()
77 m.m10 = (m.m10 * img->height) / new_height; in rescale_images_fillbitmap()
78 m.m11 = (m.m11 * img->height) / new_height; in rescale_images_fillbitmap()
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/scriptplugin_py2x/scripts/
H A DInfoBox.py120 new_height = 0
121 while (new_height <= 0):
122 new_height = scribus.valueDialog('Height','Your frame height is '+ str(o_height) +
125 if (not new_height) :
127 new_height = float(new_height)
146 … new_textbox = scribus.createText(new_left, float(new_top), new_width, float(new_height),framename)
153 … new_image = scribus.createImage(new_left, float(new_top), new_width, float(new_height),framename)
163 … new_image = scribus.createImage(new_left, float(new_top), new_width, float(new_height),framename)
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/scriptplugin/scripts/
H A DInfoBox.py120 new_height = 0
121 while (new_height <= 0):
122 new_height = scribus.valueDialog('Height','Your frame height is '+ str(o_height) +
125 if (not new_height) :
127 new_height = float(new_height)
146 … new_textbox = scribus.createText(new_left, float(new_top), new_width, float(new_height),framename)
153 … new_image = scribus.createImage(new_left, float(new_top), new_width, float(new_height),framename)
163 … new_image = scribus.createImage(new_left, float(new_top), new_width, float(new_height),framename)
/dports/www/flat-frog/flat-frog-2.2.13/src/plugins/
H A Dfunction.html_image.php122 $new_height = $fin1_height;
125 $new_height = $fin2_height;
131 $new_height = $fin1_height;
134 $new_height = $fin2_height;
143 $new_height = $height;
148 $new_height = round($size[1]*($width/$size[0]));
153 $height = $new_height;
/dports/www/templatelite/template_lite/src/plugins/
H A Dfunction.html_image.php149 $new_height = $fin1_height;
154 $new_height = $fin2_height;
163 $new_height = $fin1_height;
168 $new_height = $fin2_height;
180 $new_height = $height;
186 $new_height = round($size[1]*($width/$size[0]));
191 $height = $new_height;
/dports/misc/vxl/vxl-3.3.2/core/vil1/
H A Dvil1_resample_image_impl.cxx21 , new_height(nh) in vil1_resample_image_impl()
25 assert(new_height > 0); in vil1_resample_image_impl()
33 vil1_image_impl * i = new vil1_resample_image_impl(base.get_plane(p), new_width, new_height); in get_plane()
66 if (x0 < 0 || y0 < 0 || x0 + w > (int)new_width || y0 + h > (int)new_height) in get_section()
76 …return vil1_resample_image(base, new_width, new_height, (vxl_byte *)buf, (unsigned *)nullptr, x0, … in get_section()
79 … base, new_width, new_height, (vil1_rgb<vxl_byte> *)buf, (vil1_rgb<int> *)nullptr, x0, y0, w, h); in get_section()
/dports/graphics/gimp-app/gimp-2.10.30/libgimp/
H A Dgimpimagetransform_pdb.c60 gint new_height, in gimp_image_resize() argument
72 GIMP_PDB_INT32, new_height, in gimp_image_resize()
137 gint new_height) in gimp_image_scale() argument
147 GIMP_PDB_INT32, new_height, in gimp_image_scale()
173 gint new_height, in gimp_image_scale_full() argument
184 GIMP_PDB_INT32, new_height, in gimp_image_scale_full()
217 gint new_height, in gimp_image_crop() argument
229 GIMP_PDB_INT32, new_height, in gimp_image_crop()
/dports/graphics/gimp-app/gimp-2.10.30/app/pdb/
H A Dimage-transform-cmds.c58 gint32 new_height; in image_resize_invoker() local
64 new_height = g_value_get_int (gimp_value_array_index (args, 2)); in image_resize_invoker()
71 new_width, new_height, offx, offy, NULL); in image_resize_invoker()
111 gint32 new_height; in image_scale_invoker() local
115 new_height = g_value_get_int (gimp_value_array_index (args, 2)); in image_scale_invoker()
124 gimp_image_scale (image, new_width, new_height, in image_scale_invoker()
147 gint32 new_height; in image_scale_full_invoker() local
152 new_height = g_value_get_int (gimp_value_array_index (args, 2)); in image_scale_full_invoker()
181 gint32 new_height; in image_crop_invoker() local
187 new_height = g_value_get_int (gimp_value_array_index (args, 2)); in image_crop_invoker()
[all …]

12345678910>>...65