Home
last modified time | relevance | path

Searched refs:theight (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/dports/x11-wm/jewel/jewel-0.12.41/
H A Dclient.cc413 width - theight()+ BW/2, theight()); in redraw()
535 x, y - theight(), width, height + theight()); in resize()
713 y = (y<theight()) ? theight() : y; in init_position()
791 else if(ny == theight()) ny = theight() - 1; in drag()
800 else if( (ny - theight() <= SNAP) && (ny - theight() >= 0)) ny = theight(); in drag()
805 else if( (ny - theight() <= SNAP) && (ny - theight() >= 0)) ny = theight(); in drag()
993 x, old_y - theight(), width, old_height + theight()); in maximize_vertical()
1099 else if(ny == theight()) ny = theight() - 1; in handle_motion_notify_event()
1108 else if( (ny - theight() <= SNAP) && (ny - theight() >= 0)) ny = theight(); in handle_motion_notify_event()
1113 else if( (ny - theight() <= SNAP) && (ny - theight() >= 0)) ny = theight(); in handle_motion_notify_event()
[all …]
/dports/x11-wm/skippy-xd/skippy-xd-397216c/src/
H A Dimg.c6 int twidth, int theight, enum align alg, enum align valg, in simg_load() argument
45 if (twidth && theight) { in simg_postprocess()
50 twidth, theight); in simg_postprocess()
55 if (!(twidth || theight) in simg_postprocess()
56 || (twidth == src->width && theight == src->height)) in simg_postprocess()
60 else if (!theight) theight = (double) twidth / src->width * src->height; in simg_postprocess()
94 if (theight) ratio_y = (double) theight / height; in simg_get_composite_params()
114 num_y = theight / height; in simg_get_composite_params()
155 y2 = MIN(y + height * num_y, theight); in simg_composite()
159 twidth, theight, pbound); in simg_composite()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/
H A Dtilemap_generic.cpp13 UINT32 theight; member
76 cur_map->theight = tile_height; in GenericTilemapInit()
768 INT32 row = sy / cur_map->theight; in GenericTilemapDraw()
828 …if (flipy) { goffs += (cur_map->theight - 1) - (sy % cur_map->theight); } else { goffs += (sy % cu… in GenericTilemapDraw()
861 INT32 row = scrolly / cur_map->theight; in GenericTilemapDraw()
929 scy = (cur_map->theight - 1) - scry; in GenericTilemapDraw()
979 INT32 scrolly = ((cur_map->scrolly - cur_map->yoffset) / cur_map->theight) * cur_map->theight; in GenericTilemapDraw()
988 for (INT32 y = starty; y < (INT32)(maxy + cur_map->theight); y += cur_map->theight) in GenericTilemapDraw()
1215 INT32 sy = row * cur_map->theight; in GenericTilemapDraw()
1232 if (sy < (INT32)(1-cur_map->theight)) sy += cur_map->theight * cur_map->mheight; in GenericTilemapDraw()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/
H A Dtilemap_generic.cpp15 UINT32 theight; member
79 cur_map->theight = tile_height; in GenericTilemapInit()
937 INT32 row = sy / cur_map->theight; in GenericTilemapDraw()
1013 …if (flipy) { goffs += (cur_map->theight - 1) - (sy % cur_map->theight); } else { goffs += (sy % cu… in GenericTilemapDraw()
1179 INT32 scrolly = ((cur_map->scrolly - y_offset) / cur_map->theight) * cur_map->theight; in GenericTilemapDraw()
1188 INT32 endy = maxy + cur_map->theight; in GenericTilemapDraw()
1201 INT32 tmp = ((cur_map->mheight - 1) * cur_map->theight) - (endy - cur_map->theight); in GenericTilemapDraw()
1202 endy = (((cur_map->mheight - 1) * cur_map->theight) - starty) + cur_map->theight; in GenericTilemapDraw()
1470 INT32 sy = row * cur_map->theight; in GenericTilemapDraw()
1487 if (sy < (INT32)(1-cur_map->theight)) sy += cur_map->theight * cur_map->mheight; in GenericTilemapDraw()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/
H A DSection.java346 int theight = 0; in onPaint() local
358 theight += Math.max(theight, tsize.y); in onPaint()
359 gradientheight = theight; in onPaint()
361 theight = Math.max(theight, tcsize.y); in onPaint()
363 theight = Math.max(theight, size.y); in onPaint()
365 theight += tvmargin + tvmargin; in onPaint()
368 theight = 5; in onPaint()
379 gc.fillRectangle(0, 0, marginWidth, theight); in onPaint()
381 marginWidth, theight); in onPaint()
387 - marginWidth - marginWidth, theight, true); in onPaint()
[all …]
/dports/graphics/wdune/wdune-1.926/src/swt/generic/
H A Dgroupbox.c51 int theight = swGetFontAscent(font); in expose() local
60 swDrawRect(dc, twidth/2+1, theight/2+1, w - twidth, h - theight); in expose()
62 swDrawRect(dc, twidth/2, theight/2, w - twidth, h - theight); in expose()
65 swGetStringWidth(font, title) + twidth/2+1, theight); in expose()
67 swDrawText(dc, twidth * 3 / 2, theight, title); in expose()
/dports/graphics/wdune/wdune-1.926/src/swt/motif/
H A Dgroupbox.c51 int theight = swGetFontAscent(font); in expose() local
60 swDrawRect(dc, twidth/2+1, theight/2+1, w - twidth, h - theight); in expose()
62 swDrawRect(dc, twidth/2, theight/2, w - twidth, h - theight); in expose()
65 theight); in expose()
67 swDrawText(dc, twidth * 3 / 2, theight, title); in expose()
/dports/graphics/p5-Image-Size/Image-Size-3.300/ex/
H A Dmake_gallery.pl63 my ($theight, $twidth);
66 $theight = $height;
69 $theight = 200;
74 $theight = $height;
78 $theight = $height * (200 / $width);
83 qq(width="$twidth" height="$theight" alt="$image" /></a></td>\n);
/dports/games/zdoom/zdoom-2.8.1/src/posix/sdl/
H A Dhardware.cpp144 int twidth, theight; in I_CheckResolution() local
147 while (Video->NextMode (&twidth, &theight, NULL)) in I_CheckResolution()
149 if (width == twidth && height == theight) in I_CheckResolution()
157 int twidth, theight; in I_ClosestResolution() local
165 while (Video->NextMode (&twidth, &theight, NULL)) in I_ClosestResolution()
167 if (twidth == *width && theight == *height) in I_ClosestResolution()
170 if (iteration == 0 && (twidth < *width || theight < *height)) in I_ClosestResolution()
174 + (theight - *height) * (theight - *height); in I_ClosestResolution()
180 cheight = theight; in I_ClosestResolution()
/dports/games/flightgear/flightgear-2020.3.11/utils/fgpanel/
H A DFGPNGTextureLoader.cxx106 png_uint_32 twidth, theight; in loadTexture() local
109 png_get_IHDR (png_ptr, info_ptr, &twidth, &theight, &bit_depth, &color_type, NULL, NULL, NULL); in loadTexture()
118 png_byte *image_data (new png_byte[rowbytes * theight]); in loadTexture()
127 png_bytep *row_pointers (new png_bytep[theight]); in loadTexture()
136 for (png_uint_32 i = 0; i < theight; ++i) { in loadTexture()
137 row_pointers[theight - 1 - i] = image_data + i * rowbytes; in loadTexture()
146 …glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, twidth, theight, 0, GL_RGBA, GL_UNSIGNED_BYTE, (GLvoid*) … in loadTexture()
/dports/www/mediawiki135/mediawiki-1.35.5/vendor/wikimedia/parsoid/tests/ParserTests/
H A DMockApiHelper.php504 string $filename, ?int $twidth, ?int $theight argument
538 if ( $mediatype === 'VIDEO' && !$twidth && !$theight ) {
540 $theight = $height;
543 if ( $theight || $twidth ) {
544 if ( $theight === null ) {
546 $theight = round( $height * $twidth / $width );
550 $idealWidth = $width * $theight / $height;
558 if ( round( $height * $twidth / $width ) > $theight ) {
559 $twidth = ceil( $width * $theight / $height );
561 $theight = round( $height * $twidth / $width );
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/win32/
H A Dhardware.cpp162 int twidth, theight; in I_CheckResolution() local
165 while (Video->NextMode (&twidth, &theight, NULL)) in I_CheckResolution()
167 if (width == twidth && height == theight) in I_CheckResolution()
175 int twidth, theight; in I_ClosestResolution() local
183 while (Video->NextMode (&twidth, &theight, NULL)) in I_ClosestResolution()
185 if (twidth == *width && theight == *height) in I_ClosestResolution()
188 if (iteration == 0 && (twidth < *width || theight < *height)) in I_ClosestResolution()
192 + (theight - *height) * (theight - *height); in I_ClosestResolution()
198 cheight = theight; in I_ClosestResolution()
/dports/graphics/vips/vips-8.12.0/libvips/conversion/
H A Dgrid.c76 int theight = grid->tile_height; in vips_grid_gen() local
84 int ys = (r->top / theight) * theight; in vips_grid_gen()
91 tile.height = theight; in vips_grid_gen()
103 irect.top += grid->across * ys + theight * (xs / twidth); in vips_grid_gen()
112 for( y = ys; y < VIPS_RECT_BOTTOM( r ); y += theight ) in vips_grid_gen()
122 tile.height = theight; in vips_grid_gen()
136 input.top += grid->across * y + theight * (x / twidth); in vips_grid_gen()
H A Dreplicate.c83 int theight = in->Ysize; in vips_replicate_gen() local
91 int ys = (r->top / theight) * theight; in vips_replicate_gen()
98 tile.height = theight; in vips_replicate_gen()
119 for( y = ys; y < VIPS_RECT_BOTTOM( r ); y += theight ) in vips_replicate_gen()
128 tile.height = theight; in vips_replicate_gen()
/dports/sysutils/webmin/webmin-1.981/proc/
H A DCbButton.java15 int iwidth, iheight, pwidth, pheight, twidth, theight; field in CbButton
46 theight = Util.fnm.getHeight(); in CbButton()
53 pheight = Math.max(iheight , theight) + 4; in CbButton()
58 pheight = iheight + theight + 6; in CbButton()
68 pheight = theight + 8; in CbButton()
96 theight = Util.fnm.getHeight(); in setText()
119 theight = Util.fnm.getHeight(); in setImageText()
159 (h + theight - Util.fnm.getDescent())/2); in paint()
166 (h - iheight - theight - 2)/2, in paint()
180 (h+theight-Util.fnm.getDescent())/2); in paint()
/dports/sysutils/webmin/webmin-1.981/bacula-backup/
H A DCbButton.java15 int iwidth, iheight, pwidth, pheight, twidth, theight; field in CbButton
46 theight = Util.fnm.getHeight(); in CbButton()
53 pheight = Math.max(iheight , theight) + 4; in CbButton()
58 pheight = iheight + theight + 6; in CbButton()
68 pheight = theight + 8; in CbButton()
96 theight = Util.fnm.getHeight(); in setText()
119 theight = Util.fnm.getHeight(); in setImageText()
159 (h + theight - Util.fnm.getDescent())/2); in paint()
166 (h - iheight - theight - 2)/2, in paint()
180 (h+theight-Util.fnm.getDescent())/2); in paint()
/dports/www/mediawiki136/mediawiki-1.36.3/vendor/wikimedia/parsoid/src/ParserTests/
H A DMockApiHelper.php572 if ( $mediatype === 'VIDEO' && !$twidth && !$theight ) {
574 $theight = $height;
577 if ( $theight || $twidth ) {
578 if ( $theight === null ) {
580 $theight = round( $height * $twidth / $width );
584 $idealWidth = $width * $theight / $height;
586 if ( round( $roundedUp * $height / $width ) > $theight ) {
592 if ( round( $height * $twidth / $width ) > $theight ) {
593 $twidth = ceil( $width * $theight / $height );
595 $theight = round( $height * $twidth / $width );
[all …]
/dports/www/mediawiki137/mediawiki-1.37.1/vendor/wikimedia/parsoid/src/ParserTests/
H A DMockApiHelper.php572 if ( $mediatype === 'VIDEO' && !$twidth && !$theight ) {
574 $theight = $height;
577 if ( $theight || $twidth ) {
578 if ( $theight === null ) {
580 $theight = round( $height * $twidth / $width );
584 $idealWidth = $width * $theight / $height;
586 if ( round( $roundedUp * $height / $width ) > $theight ) {
592 if ( round( $height * $twidth / $width ) > $theight ) {
593 $twidth = ceil( $width * $theight / $height );
595 $theight = round( $height * $twidth / $width );
[all …]
/dports/games/aisleriot/aisleriot-3.22.19/src/lib/
H A Dar-card-theme-preimage.c152 double aspect_ratio, twidth, theight; in ar_card_theme_preimage_set_card_size() local
167 theight = proportion * height; in ar_card_theme_preimage_set_card_size()
168 if (twidth / theight < aspect_ratio) { in ar_card_theme_preimage_set_card_size()
169 theight = twidth / aspect_ratio; in ar_card_theme_preimage_set_card_size()
171 twidth = theight * aspect_ratio; in ar_card_theme_preimage_set_card_size()
175 theme->card_size.height == (int) theight) in ar_card_theme_preimage_set_card_size()
179 theme->card_size.height = theight; in ar_card_theme_preimage_set_card_size()
/dports/x11/libwacom/libwacom-1.5/tools/
H A Dshow-svg-image.c91 double twidth, theight; in get_sub_location() local
99 theight = (double) dimensions.height; in get_sub_location()
100 cairo_user_to_device_distance (cairo_context, &twidth, &theight); in get_sub_location()
105 *height = theight; in get_sub_location()
290 double twidth, theight; in on_expose_cb() local
309 theight = (double) tablet->area.height; in on_expose_cb()
310 cairo_user_to_device_distance (cairo_context, &twidth, &theight); in on_expose_cb()
312 theight = ((double) allocation.height - theight) / 2.0; in on_expose_cb()
313 cairo_device_to_user_distance (cairo_context, &twidth, &theight); in on_expose_cb()
314 cairo_translate (cairo_context, twidth, theight); in on_expose_cb()
/dports/cad/basicdsp/basicdsp-1.01/
H A Dvu_meter.cpp68 wxCoord twidth, theight; in OnSize() local
75 GetTextExtent(stringbuf, &twidth, &theight, &tdescent, &tLeading, wxSMALL_FONT); in OnSize()
80 GetTextExtent(GetLabel(), &twidth, &theight, &tdescent, &tLeading, wxSMALL_FONT); in OnSize()
82 dc_background.DrawText(GetLabel(), 10, mysize.GetHeight()/2 + (-theight + tdescent) /2); in OnSize()
201 wxCoord twidth, theight; in DoGetBestSize() local
204 …GetTextExtent(_T("1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"), &twidth, &theight, &tdescent, &tLeading,… in DoGetBestSize()
205 return wxSize(GetRect().GetWidth(), theight + 9); in DoGetBestSize()
/dports/sysutils/xvidcap/xvidcap-1.1.7/src/
H A Dgnome_frame.c611 if ((theight % 2) > 0) { in on_gtk_frame_motion_notify_event()
612 theight--; in on_gtk_frame_motion_notify_event()
632 if ((theight % 2) > 0) { in on_gtk_frame_motion_notify_event()
633 theight--; in on_gtk_frame_motion_notify_event()
658 if ((theight % 2) > 0) { in on_gtk_frame_motion_notify_event()
659 theight--; in on_gtk_frame_motion_notify_event()
679 if ((theight % 2) > 0) { in on_gtk_frame_motion_notify_event()
680 theight--; in on_gtk_frame_motion_notify_event()
711 if ((theight % 2) > 0) { in on_gtk_frame_motion_notify_event()
712 theight--; in on_gtk_frame_motion_notify_event()
[all …]
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/src/utils/
H A Dthumb_utils.cpp21 T.theight * T.twidth / 3; // is 0.3 bytes per pixel good estimate? in kodak_thumb_loader()
28 if(INT64(T.theight) * INT64(T.twidth) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) in kodak_thumb_loader()
31 if (INT64(T.theight) * INT64(T.twidth) < 64ULL) in kodak_thumb_loader()
43 S.height = T.theight; in kodak_thumb_loader()
74 T.theight = 0; in kodak_thumb_loader()
220 T.theight = S.height; in kodak_thumb_loader()
253 tsize = tcol * T.twidth * T.theight; in thumbOK()
255 tsize = tcol * T.twidth * T.theight * in thumbOK()
298 fprintf(tfp, "P6\n%d %d\n255\n", T.twidth, T.theight); in dcraw_thumb_writer()
/dports/graphics/libraw/LibRaw-0.20.2/src/utils/
H A Dthumb_utils.cpp21 T.theight * T.twidth / 3; // is 0.3 bytes per pixel good estimate? in kodak_thumb_loader()
28 if(INT64(T.theight) * INT64(T.twidth) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) in kodak_thumb_loader()
31 if (INT64(T.theight) * INT64(T.twidth) < 64ULL) in kodak_thumb_loader()
43 S.height = T.theight; in kodak_thumb_loader()
74 T.theight = 0; in kodak_thumb_loader()
222 T.theight = S.height; in kodak_thumb_loader()
250 tsize = tcol * T.twidth * T.theight; in thumbOK()
252 tsize = tcol * T.twidth * T.theight * in thumbOK()
298 fprintf(tfp, "P6\n%d %d\n255\n", T.twidth, T.theight); in dcraw_thumb_writer()
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/src/utils/
H A Dthumb_utils.cpp21 T.theight * T.twidth / 3; // is 0.3 bytes per pixel good estimate? in kodak_thumb_loader()
28 if(INT64(T.theight) * INT64(T.twidth) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) in kodak_thumb_loader()
31 if (INT64(T.theight) * INT64(T.twidth) < 64ULL) in kodak_thumb_loader()
43 S.height = T.theight; in kodak_thumb_loader()
74 T.theight = 0; in kodak_thumb_loader()
220 T.theight = S.height; in kodak_thumb_loader()
253 tsize = tcol * T.twidth * T.theight; in thumbOK()
255 tsize = tcol * T.twidth * T.theight * in thumbOK()
298 fprintf(tfp, "P6\n%d %d\n255\n", T.twidth, T.theight); in dcraw_thumb_writer()

12345678910>>...19