Home
last modified time | relevance | path

Searched refs:nheight (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/dports/x11-wm/windowmaker/WindowMaker-0.95.9/wrlib/
H A Drotate.c81 int nwidth, nheight; in rotate_image_90() local
85 nheight = source->width; in rotate_image_90()
97 for (y = nheight; y; y--) { in rotate_image_90()
112 for (y = nheight; y; y--) { in rotate_image_90()
129 int nwidth, nheight; in wraster_rotate_image_180() local
133 nheight = source->height; in wraster_rotate_image_180()
179 int nwidth, nheight; in rotate_image_270() local
183 nheight = source->width; in rotate_image_270()
195 for (y = nheight; y; y--) { in rotate_image_270()
334 int nwidth, nheight; in rotate_image_any()
[all …]
H A Dflip.c63 int nwidth, nheight; in r_flip_vertically() local
67 nheight = source->height; in r_flip_vertically()
69 target = RCreateImage(nwidth, nheight, (source->format != RRGBFormat)); in r_flip_vertically()
77 nptr = target->data + 3 * (nwidth * nheight - nwidth); in r_flip_vertically()
79 for (y = 0; y < nheight; y++) { in r_flip_vertically()
94 nptr = target->data + 4 * (nwidth * nheight - nwidth); in r_flip_vertically()
96 for (y = 0; y < nheight; y++) { in r_flip_vertically()
115 int nwidth, nheight; in r_flip_horizontally() local
119 nheight = source->height; in r_flip_horizontally()
131 for (y = nheight; y; y--) { in r_flip_horizontally()
[all …]
/dports/x11-wm/libwraster/WindowMaker-0.95.9/wrlib/
H A Drotate.c81 int nwidth, nheight; in rotate_image_90() local
85 nheight = source->width; in rotate_image_90()
97 for (y = nheight; y; y--) { in rotate_image_90()
112 for (y = nheight; y; y--) { in rotate_image_90()
129 int nwidth, nheight; in wraster_rotate_image_180() local
133 nheight = source->height; in wraster_rotate_image_180()
179 int nwidth, nheight; in rotate_image_270() local
183 nheight = source->width; in rotate_image_270()
195 for (y = nheight; y; y--) { in rotate_image_270()
334 int nwidth, nheight; in rotate_image_any()
[all …]
H A Dflip.c63 int nwidth, nheight; in r_flip_vertically() local
67 nheight = source->height; in r_flip_vertically()
69 target = RCreateImage(nwidth, nheight, (source->format != RRGBFormat)); in r_flip_vertically()
77 nptr = target->data + 3 * (nwidth * nheight - nwidth); in r_flip_vertically()
79 for (y = 0; y < nheight; y++) { in r_flip_vertically()
94 nptr = target->data + 4 * (nwidth * nheight - nwidth); in r_flip_vertically()
96 for (y = 0; y < nheight; y++) { in r_flip_vertically()
115 int nwidth, nheight; in r_flip_horizontally() local
119 nheight = source->height; in r_flip_horizontally()
131 for (y = nheight; y; y--) { in r_flip_horizontally()
[all …]
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/magick/
H A Ddraw.py38 nwidth, nheight = minify_to
39 if owidth <= nwidth and oheight <= nheight:
42 scaled, nwidth, nheight = fit_image(owidth, oheight, nwidth, nheight)
43 img.size = (nwidth, nheight)
89 nheight = height
91 scaled, nwidth, nheight = fit_image(owidth, oheight, width, height)
93 img.size = (nwidth, nheight)
/dports/games/cake/cake_src/cake/
H A Dcamera.cpp110 float nheight = viewport_height*(viewsize/100); in UpdateViewport() local
112 float ntop = gRender->GetHeight()-viewport_top-viewport_height+(viewport_height-nheight)/2; in UpdateViewport()
118 …float nnheight = nheight + waterheightdeform*(FastCos(waterdeformtimefactor*(float)Timer::fTime)+1… in UpdateViewport()
120 float nntop = ntop - (nnheight - nheight)/2.f; in UpdateViewport()
122 glScissor((GLint) nleft, (GLint) ntop, (GLsizei) nwidth, (GLsizei) nheight); in UpdateViewport()
126 glViewport((GLint) nleft, (GLint) ntop, (GLsizei) nwidth, (GLsizei) nheight); in UpdateViewport()
127 glScissor((GLint) nleft, (GLint) ntop, (GLsizei) nwidth, (GLsizei) nheight); in UpdateViewport()
/dports/multimedia/lives/lives-3.2.0/lives-plugins/plugins/effects/RFXscripts/
H A Drotate.script53 # 0x0002 == may resize all to $nwidth x $nheight
68 $nheight = $height;
72 $nheight = $width;
77 $nheight = $width;
85 $nwidth = $nheight = 0;
88 $height = $nheight;
/dports/graphics/grx/grx249/src/image/
H A Dialloc.c36 GrImage *_GrImageAllocate(GrContext *ctx, int nwidth,int nheight) in _GrImageAllocate() argument
42 if ( _GrImageTestSize(nwidth, nheight) <= 0 ) goto done; in _GrImageAllocate()
43 if (!GrCreateContext(nwidth, nheight, NULL, ctx)) goto done; in _GrImageAllocate()
51 img->pxp_height = nheight; in _GrImageAllocate()
H A Distretch.c23 GrImage *GrImageStretch(GrImage *p,int nwidth,int nheight) in GrImageStretch() argument
29 img = _GrImageAllocate(&ctx,nwidth,nheight); in GrImageStretch()
31 _GrFrDrvGenericStretchBlt(&ctx.gc_frame,0,0,nwidth,nheight, in GrImageStretch()
/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dgsmapper.cpp209 s16 nheight = floor(d_height / d_scale); in drawMap() local
219 (position.Z + d_border) > (d_origin.Z + nheight) ) d_valid = false; in drawMap()
227 d_origin.Z = floor(position.Z - (nheight / 2)); in drawMap()
239 while (z < (nheight / 8) && (z + d_scanZ) < nheight) in drawMap()
329 d_scanZ += (nheight / 8); in drawMap()
330 if (d_scanZ >= nheight) d_scanZ = 0; in drawMap()
338 core::dimension2d<u32> dim(nwidth, nheight); in drawMap()
343 for (z = 0; z < nheight; z++) in drawMap()
363 image->setPixel(x, nheight - z - 1, c); in drawMap()
393 core::rect<s32>(0, 0, nwidth, nheight), in drawMap()
[all …]
/dports/x11-wm/jwm/jwm-2.3.7/src/
H A Drender.c37 int nwidth, nheight; in PutScaledRenderIcon() local
51 nheight = Min(height, (nwidth << 16) / ratio); in PutScaledRenderIcon()
52 nwidth = (nheight * ratio) >> 16; in PutScaledRenderIcon()
54 nheight = Max(1, nheight); in PutScaledRenderIcon()
56 y += (height - nheight) / 2; in PutScaledRenderIcon()
59 nheight = height; in PutScaledRenderIcon()
62 yscale = (node->height << 16) / nheight; in PutScaledRenderIcon()
H A Dicon.c584 int nwidth, nheight; in GetScaledIcon() local
598 nheight = Min(rheight, (nwidth << 16) / ratio); in GetScaledIcon()
599 nwidth = (nheight * ratio) >> 16; in GetScaledIcon()
601 nheight = rheight; in GetScaledIcon()
605 nheight = Max(1, nheight); in GetScaledIcon()
619 if(np->width == nwidth && np->height == nheight) { in GetScaledIcon()
626 imageNode = GetBestImage(icon, nwidth, nheight); in GetScaledIcon()
651 np->height = nheight; in GetScaledIcon()
664 ZPixmap, 0, NULL, nwidth, nheight, 8, 0); in GetScaledIcon()
669 scaley = (imageNode->height << 16) / nheight; in GetScaledIcon()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/misc/broot/broot-1.7.0/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/www/zola/zola-0.15.2/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/image-0.23.14/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
59 (intermediate as u32, nheight) in resize_dimensions()
63 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/math/
H A Dutils.rs34 pub(crate) fn resize_dimensions(width: u32, height: u32, nwidth: u32, nheight: u32, fill: bool) -> … in resize_dimensions()
35 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
46 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
58 (intermediate as u32, nheight) in resize_dimensions()
62 (u64::from(nheight) * u64::from(::std::u32::MAX) / intermediate) as u32, in resize_dimensions()
/dports/games/critterding/critterding-beta12/src/scenes/entities/
H A Dcamera.cpp27 float nheight = 0.05f * ((float)(*settings->winHeight) / *settings->winWidth); in place() local
28 glFrustum(-0.05f,0.05f,-nheight,nheight,0.1f,10000.0f); in place()
54 float nheight = 0.05f * ((float)(*settings->winHeight) / *settings->winWidth); in follow() local
55 glFrustum( -0.05f, 0.05f,-nheight,nheight, 0.1f, 10000.0f); in follow()
/dports/games/xsc/xsc-1.6/
H A Dstats.C150 Stats::resize(const int nwidth, const int nheight) in resize() argument
152 Thing::resize(nwidth, nheight); in resize()
153 text_score.resize(nwidth, nheight); in resize()
154 text_state.resize(nwidth, nheight); in resize()
H A Dxything.C64 Xything::resize(const int nwidth, const int nheight) in resize() argument
67 dy *= (float)nheight / gwheight; in resize()
68 Thing::resize(nwidth, nheight); in resize()
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/image-0.22.3/src/
H A Ddynimage.rs340 nheight: u32, in resize_exact()
354 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail()
366 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact()
367 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact()
379 nheight: u32, in resize_to_fill()
387 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill()
391 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill()
393 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill()
833 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions()
844 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions()
[all …]

12345678910>>...12