/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/image-0.23.14/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/ |
H A D | dynimage.rs | 759 resize_dimensions(self.width(), self.height(), nwidth, nheight, false); in resize() 770 nheight: u32, in resize_exact() 773 dynamic_map!(*self, ref p => imageops::resize(p, nwidth, nheight, filter)) in resize_exact() 784 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 796 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 797 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 809 nheight: u32, in resize_to_fill() 813 resize_dimensions(self.width(), self.height(), nwidth, nheight, true); in resize_to_fill() 817 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 821 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/qadevOOo/runner/util/ |
H A D | ShapeDsc.java | 39 public ShapeDsc(int nheight, int nwidth, int nx, int ny, String kind) { in ShapeDsc() argument 42 height = nheight; in ShapeDsc()
|
/dports/games/xsc/xsc-1.6/ |
H A D | laser.C | 49 Laser::resize(const int nwidth, const int nheight) in resize() argument 64 Thing::resize(nwidth, nheight); in resize()
|
H A D | thing.C | 120 Thing::resize(const int nwidth, const int nheight) in resize() argument 123 y *= (float)nheight / gwheight; in resize()
|
H A D | starfield.C | 118 Starfield::resize(const int nwidth, const int nheight) in resize() argument 122 Xything::resize(nwidth, nheight); in resize()
|
H A D | ship.C | 395 Ship::resize(const int nwidth, const int nheight) in resize() argument 399 Xything::resize(nwidth, nheight); in resize() 401 lasers[i].resize(nwidth, nheight); in resize() 404 segments[i].resize(nwidth, nheight); in resize()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/qadevOOo/runner/util/ |
H A D | ShapeDsc.java | 39 public ShapeDsc(int nheight, int nwidth, int nx, int ny, String kind) { in ShapeDsc() argument 42 height = nheight; in ShapeDsc()
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/glshim/src/gl/ |
H A D | texture.h | 27 GLsizei nwidth, GLsizei nheight); 36 GLsizei nheight; member
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/ |
H A D | img.py | 262 nwidth, nheight = tweaks['maximum_cover_size'] if minify_to is None else minify_to 264 img = blend_on_canvas(img, nwidth, nheight, bgcolor=letterbox_color) 266 if oheight != nheight or owidth != nwidth: 269 scaled, nwidth, nheight = fit_image(owidth, oheight, nwidth, nheight) 272 …img = img.scaled(nwidth, nheight, Qt.AspectRatioMode.IgnoreAspectRatio, Qt.TransformationMode.Smoo… 412 scaled, nwidth, nheight = fit_image(img.width(), img.height(), width, height) 414 …img = img.scaled(nwidth, nheight, Qt.AspectRatioMode.KeepAspectRatio, Qt.TransformationMode.Smooth…
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.10/ |
H A D | Image.def | 21 nheight = Expression "Image height (pixels)" 64; 928 yposv = [0, to_real nheight / 2 - height / 2, 929 to_real nheight - height]; 937 background = image_new nwidth nheight 994 nheight = Expression "Image height (pixels)" 64; 1021 nheight = Expression "Image height (pixels)" 64; 1023 _result = Image (make_xy nwidth nheight); 1034 nheight = Expression "Image height (pixels)" 64; 1063 nheight = Expression "Image height (pixels)" 64; 1072 pixels = make_xy nwidth nheight; [all …]
|
/dports/x11-fm/filerunner/filerunner/bitmaps/ |
H A D | bitmapeditor | 548 foreach {nName nwidth nheight} $n break 551 HeightenBMP $nheight 576 proc HeightenBMP {nheight} { 578 if {$BM(height) == $nheight} return 579 if {$nheight > $BM(height)} { 580 foreach {low high delete} [list $BM(height) $nheight 0] break 582 foreach {low high delete} [list $nheight $BM(height) 1] break 592 set BM(height) $nheight
|
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/ |
H A D | client.c | 150 int nx, ny, nwidth, nheight; in wClientConfigure() local 234 nheight = xcre->height; in wClientConfigure() 236 nheight = wwin->frame->core->height - wwin->frame->top_width - wwin->frame->bottom_width; in wClientConfigure() 244 if (nheight != wwin->old_geometry.height) in wClientConfigure() 247 wWindowConfigure(wwin, nx, ny, nwidth, nheight); in wClientConfigure() 251 wwin->old_geometry.height = nheight; in wClientConfigure()
|
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/ |
H A D | client.c | 150 int nx, ny, nwidth, nheight; in wClientConfigure() local 234 nheight = xcre->height; in wClientConfigure() 236 nheight = wwin->frame->core->height - wwin->frame->top_width - wwin->frame->bottom_width; in wClientConfigure() 244 if (nheight != wwin->old_geometry.height) in wClientConfigure() 247 wWindowConfigure(wwin, nx, ny, nwidth, nheight); in wClientConfigure() 251 wwin->old_geometry.height = nheight; in wClientConfigure()
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.12/ |
H A D | Image.def | 23 nheight = Expression "Image height (pixels)" 64; 647 yposv = [0, to_real nheight / 2 - height / 2, 648 to_real nheight - height]; 656 background = image_new nwidth nheight 1223 nheight = Expression "Image height (pixels)" 64; 1237 h = to_real nheight; 1253 nheight = Expression "Image height (pixels)" 64; 1255 _result = Image (make_xy nwidth nheight); 1266 nheight = Expression "Image height (pixels)" 64; 1304 pixels = make_xy nwidth nheight; [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.14/ |
H A D | Image.def | 23 nheight = Expression "Image height (pixels)" 64; 645 yposv = [0, to_real nheight / 2 - height / 2, 646 to_real nheight - height]; 654 background = image_new nwidth nheight 1218 nheight = Expression "Image height (pixels)" 64; 1232 h = to_real nheight; 1248 nheight = Expression "Image height (pixels)" 64; 1250 _result = Image (make_xy nwidth nheight); 1261 nheight = Expression "Image height (pixels)" 64; 1299 pixels = make_xy nwidth nheight; [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/8.5/ |
H A D | Image.def | 21 nheight = Expression "Image height (pixels)" 64; 785 yposv = [0, to_real nheight / 2 - height / 2, 786 to_real nheight - height]; 794 background = image_new nwidth nheight 1693 h = to_real nheight; 1711 _result = Image (make_xy nwidth nheight); 1728 _result = Image (gaussnoise nwidth nheight 1761 im = perlin cell_size nwidth nheight; 1777 = worley cell_size nwidth nheight; 1799 pixels = make_xy nwidth nheight; [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/8.4/ |
H A D | Image.def | 21 nheight = Expression "Image height (pixels)" 64; 785 yposv = [0, to_real nheight / 2 - height / 2, 786 to_real nheight - height]; 794 background = image_new nwidth nheight 1625 h = to_real nheight; 1643 _result = Image (make_xy nwidth nheight); 1661 (to_real nwidth) (to_real nheight) 1694 im = perlin cell_size nwidth nheight; 1710 = worley cell_size nwidth nheight; 1732 pixels = make_xy nwidth nheight; [all …]
|