/dports/graphics/reallyslick/rss-glx_0.9.1/src/ |
H A D | feedback.cpp | 39 unsigned int cwidth = 8, cheight = 8; variable 115 for (unsigned int dh = 0; dh < cheight; ++dh) { in hack_draw() 122 const unsigned nh = (dh + 1) & (cheight - 1); in hack_draw() 179 glVertex2f (a[0] / cwidth, a[1] / cheight); in hack_draw() 183 glVertex2f (a[0] / cwidth, a[1] / cheight); in hack_draw() 184 glVertex2f (b[0] / cwidth, b[1] / cheight); in hack_draw() 186 glVertex2f (b[0] / cwidth, b[1] / cheight); in hack_draw() 187 glVertex2f (c[0] / cwidth, c[1] / cheight); in hack_draw() 320 displacements = new rsVec[cwidth * cheight]; in hack_init() 321 velocities = new rsVec[cwidth * cheight]; in hack_init() [all …]
|
/dports/emulators/dosbox/dosbox-0.74-3/src/ints/ |
H A D | int10_char.cpp | 35 for (Bitu i=0;i<cheight/2U;i++) { in CGA2_CopyRow() 47 for (Bitu i=0;i<cheight/2U;i++) { in CGA4_CopyRow() 79 copy=cheight; in EGA16_CopyRow() 95 copy=cheight; in VGA_CopyRow() 337 last=cheight; in INT10_SetCursorShape() 339 } else if (((first | last)>=cheight) || !(last==(cheight-1)) || !(first==cheight) ) { in INT10_SetCursorShape() 343 first=(cheight+1)/2; in INT10_SetCursorShape() 344 last=cheight; in INT10_SetCursorShape() 346 last=cheight; in INT10_SetCursorShape() 350 last=cheight; in INT10_SetCursorShape() [all …]
|
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/ints/ |
H A D | int10_char.cpp | 36 for (Bitu i=0;i<cheight/2U;i++) { in CGA2_CopyRow() 78 copy=cheight; in EGA16_CopyRow() 94 copy=cheight; in VGA_CopyRow() 351 last=cheight; in INT10_SetCursorShape() 353 } else if (((first | last)>=cheight) || !(last==(cheight-1)) || !(first==cheight) ) { in INT10_SetCursorShape() 357 first=(cheight+1)/2; in INT10_SetCursorShape() 358 last=cheight; in INT10_SetCursorShape() 360 last=cheight; in INT10_SetCursorShape() 364 last=cheight; in INT10_SetCursorShape() 468 fontdata+=(cheight-h-1); in ReadCharAttr() [all …]
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/ |
H A D | ImageLayout.java | 99 int cheight = -1; in doLayout() local 130 cheight = bpd; in doLayout() 136 cheight = bpd; in doLayout() 142 cheight = bpd; in doLayout() 161 cheight = adjustedDim.height; in doLayout() 169 bpd = constrainExtent(cheight, in doLayout() 178 if (cwidth > ipd || cheight > bpd) { in doLayout() 242 final int cwidth, final int cheight, in adjustContentSize() argument 257 } else if (cheight == -1) { in adjustContentSize() 322 yoffset = bpd - cheight; in computeYOffset() [all …]
|
/dports/x11/kf5-plasma-framework/plasma-framework-5.89.0/examples/applets/testtheme/contents/ui/ |
H A D | UnitsPage.qml | 19 property int cheight: 48 58 width: cheight 59 height: cheight / 2 70 width: cheight 71 height: cheight / 2 82 width: cheight 83 height: cheight / 2 93 width: cheight 94 height: cheight / 2 106 width: cheight [all …]
|
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/ints/ |
H A D | int10_char.cpp | 35 for (Bitu i=0;i<cheight/2U;i++) { in CGA2_CopyRow() 47 for (Bitu i=0;i<cheight/2U;i++) { in CGA4_CopyRow() 77 copy=cheight; in EGA16_CopyRow() 93 copy=cheight; in VGA_CopyRow() 361 last=cheight; in INT10_SetCursorShape() 363 } else if (((first | last)>=cheight) || !(last==(cheight-1)) || !(first==cheight) ) { in INT10_SetCursorShape() 367 first=(cheight+1)/2; in INT10_SetCursorShape() 368 last=cheight; in INT10_SetCursorShape() 370 last=cheight; in INT10_SetCursorShape() 374 last=cheight; in INT10_SetCursorShape() [all …]
|
/dports/x11/kf5-plasma-framework/plasma-framework-5.89.0/examples/applets/testcomponents/contents/ui/ |
H A D | ThemePage.qml | 19 property int cheight: 48 50 width: cheight 51 height: cheight / 2 61 width: cheight 62 height: cheight / 2 72 width: cheight 73 height: cheight / 2 83 width: cheight 84 height: cheight / 2
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | map.h | 322 cy += world->cheight; in World_wrap_yclick() 323 while (cy >= world->cheight) in World_wrap_yclick() 324 cy -= world->cheight; in World_wrap_yclick() 372 ? ((dcy) < - (world->cheight >> 1) \ 373 ? (dcy) + world->cheight \ 374 : ((dcy) > (world->cheight >> 1) \ 375 ? (dcy) - world->cheight \ 385 ((y_) % world->cheight + world->cheight)) 397 (X) + world->cheight : \ 398 (((X) >= (world->cheight >> 1)) ? \ [all …]
|
/dports/net/clusterit/clusterit-2.5/rvt/ |
H A D | screen.c | 390 cheight = ch; in scr_reset() 409 sbar_show(cheight + sline_top - 1, offset, offset + cheight - 1); in scr_reset() 437 if (row1 >= cheight) 920 scroll1(cheight); 930 sbar_show(cheight + sline_top - 1, 0, cheight - 1); 1544 refresh(cheight - d,cheight - 1,0,cwidth - 1); 1549 sbar_show(cheight + sline_top - 1, offset, offset + cheight - 1); 1832 sbar_show(cheight + sline_top - 1, offset, offset + cheight - 1); 1999 sbar_show(cheight + sline_top - 1, 0, cheight - 1); in home_screen() 2138 row2 = re >= cheight ? cheight - 1 : re; [all …]
|
/dports/graphics/darktable38/darktable-3.8.0/src/dtgtk/ |
H A D | button.c | 75 int cheight = height - margin.top - margin.bottom; in _button_draw() local 81 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw() 86 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw() 88 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _button_draw() 98 cheight -= border.top + border.bottom + padding.top + padding.bottom; in _button_draw() 111 starty += round(cmargin.top * cheight / 100.0f); in _button_draw() 113 cheight = round((float)cheight * (1.0 - (cmargin.top + cmargin.bottom) / 100.0f)); in _button_draw() 116 if(cwidth > 0 && cheight > 0) in _button_draw() 117 DTGTK_BUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _button_draw()
|
H A D | togglebutton.c | 99 int cheight = height - margin.top - margin.bottom; in _togglebutton_draw() local 109 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 115 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 117 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 128 cheight -= border.top + border.bottom + padding.top + padding.bottom; in _togglebutton_draw() 141 starty += round(cmargin.top * cheight / 100.0f); in _togglebutton_draw() 143 cheight = round((float)cheight * (1.0 - (cmargin.top + cmargin.bottom) / 100.0f)); in _togglebutton_draw() 147 if(cwidth > 0 && cheight > 0) in _togglebutton_draw() 148 DTGTK_TOGGLEBUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _togglebutton_draw()
|
/dports/graphics/darktable/darktable-3.6.1/src/dtgtk/ |
H A D | button.c | 75 int cheight = height - margin.top - margin.bottom; in _button_draw() local 81 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw() 86 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw() 88 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _button_draw() 98 cheight -= border.top + border.bottom + padding.top + padding.bottom; in _button_draw() 111 starty += round(cmargin.top * cheight / 100.0f); in _button_draw() 113 cheight = round((float)cheight * (1.0 - (cmargin.top + cmargin.bottom) / 100.0f)); in _button_draw() 116 if(cwidth > 0 && cheight > 0) in _button_draw() 117 DTGTK_BUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _button_draw()
|
H A D | togglebutton.c | 99 int cheight = height - margin.top - margin.bottom; in _togglebutton_draw() local 109 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 115 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 117 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw() 128 cheight -= border.top + border.bottom + padding.top + padding.bottom; in _togglebutton_draw() 141 starty += round(cmargin.top * cheight / 100.0f); in _togglebutton_draw() 143 cheight = round((float)cheight * (1.0 - (cmargin.top + cmargin.bottom) / 100.0f)); in _togglebutton_draw() 147 if(cwidth > 0 && cheight > 0) in _togglebutton_draw() 148 DTGTK_TOGGLEBUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _togglebutton_draw()
|
/dports/graphics/p5-Layout-Manager/Layout-Manager-0.35/lib/Layout/Manager/ |
H A D | Compass.pm | 21 my $cheight = $bbox->height; 79 if(!$cheight) { 80 $self->_geassign($cheight, $edges{north}->{height} 87 $self->_geassign($cheight, $cheight + $sheight); 114 $self->_geassign($cheight, $comp->height); 122 $yaccum = $bboxoy + $cheight; 135 $self->_geassign($cheight, $comp->height); 166 $self->_geassign($cheight, $comp->height); 188 $self->_geassign($cheight, $comp->height); 223 $cheight += $coheight; [all …]
|
H A D | Grid.pm | 27 my $cheight = $bbox->height; 85 if($cheight && !scalar(@row_maxes)) { 88 my $ch = $cheight / $self->rows; 90 } elsif($cheight && ($cheight > $heightfromrowmax)) { 93 my $diff = ($cheight - $heightfromrowmax) / $self->rows; 105 $cheight = $container->outside_height + $ch; 106 $container->minimum_height($cheight);
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/pbm/ |
H A D | pktopbm.c | 270 integer cheight, cwidth ; in main() local 297 cheight = get32() ; /* bounding box height */ in main() 299 dprintf ("cheight %d\n", cheight); in main() 300 if (cwidth < 0 || cheight < 0 || in main() 301 cwidth > 65535 || cheight > 65535) { in main() 327 dprintf ("cheight %d\n", cheight); in main() 355 dprintf ("cheight %d\n", cheight); in main() 367 if (!bmy) bmy= cheight; in main() 382 for (i = 0 ; i < cheight ; i ++) { in main() 391 integer rowsleft = cheight ; in main() [all …]
|
/dports/converters/p5-LaTeXML/LaTeXML-0.8.6/lib/LaTeXML/Core/ |
H A D | Box.pm | 170 $self->computeSizeStore(%options) unless (defined $$props{height}) or (defined $$props{cheight}); 171 return $$props{height} || $$props{cheight}; } 183 unless ((defined $$props{height}) or (defined $$props{cheight})) 185 my $h = $$props{height} || $$props{cheight}; 213 && (defined $$props{cheight}) 217 . "\n calculated : " . _showsize($$props{cwidth}, $$props{cheight}, $$props{cdepth}) 219 …. "\n =>: " . _showsize($$props{width} || $$props{cwidth}, $$props{height} || $$props{cheight}, $$… 222 $$props{height} || $$props{cheight}, 225 $$props{cheight} || $$props{height}, 250 $$props{cheight} = $h unless defined $$props{cheight};
|
/dports/print/tex-dvipsk/texlive-20150521-source/texk/dvipsk/ |
H A D | download.c | 29 register halfword cheight, cwidth; in downchar() local 43 cheight = getlong(p + 4); in downchar() 49 cheight = p[2] * 256 + p[3]; in downchar() 56 cheight = *p++; in downchar() 73 i = 2 * cheight * (long)wwidth; in downchar() 98 cheight = 1; in downchar() 108 p[len + 1] = cheight; in downchar() 123 if (i * cheight > 65520) { in downchar() 126 for (j=0; j<cheight; j++) { in downchar() 142 for (j=0; j<cheight; j++) { in downchar() [all …]
|
/dports/games/armagetronad/armagetronad-0.2.8.3.5/src/render/ |
H A D | rFont.cpp | 77 offset(Offset),cwidth(CWidth),cheight(CHeight), in rFont() 85 offset(0),cwidth(1/16.0),cheight(1/8.0), in rFont() 160 REAL ttop=y*cheight+pix; in Render() 161 REAL tbot=(y+1)*cheight-pix; in Render() 214 left(Left),top(Top),cwidth(Cwidth),cheight(Cheight), in rTextField() 225 if (cheight*sr_screenHeight<sr_smallFontThresholdHeight*2) in rTextField() 264 glVertex2f(cursor_x,cursor_y-cheight); in ~rTextField() 303 REAL t=top-y*cheight; in FlushLine() 305 REAL b=t - cheight; in FlushLine() 336 REAL t=top-y*cheight; in FlushLine() [all …]
|
/dports/graphics/xpaint/xpaint-2.9.10.3/ |
H A D | Colormap.c | 35 offset(cheight), XtRImmediate, (XtPointer) 5}, 68 y = (w->color.pixel / w->color.ncwidth) * w->color.cheight; in drawSelection() 71 x - t2, y - t2, w->color.cwidth, w->color.cheight); in drawSelection() 83 if ((e->xbutton.y / w->color.cheight) > w->color.ncheight) in ColormapSelect() 87 pixel = (e->xbutton.y / w->color.cheight) * w->color.ncwidth; in ColormapSelect() 176 new->core.height = new->color.cheight * new->color.ncheight; in InitializeProc() 178 new->color.cheight = new->core.height / new->color.ncheight; in InitializeProc() 185 w->color.cheight = w->core.height / w->color.ncheight; in ResizeProc() 200 for (Y = y = 0; y < nhoriz; y++, Y += w->color.cheight) { in ExposeProc() 204 w->color.cwidth - 1 - t, w->color.cheight - 1 - t); in ExposeProc()
|
/dports/x11-toolkits/open-motif/motif-2.3.8/clients/mwm/ |
H A D | WmGraphics.c | 533 prect->height = cheight-1; in StretcherCorner() 540 prect->height = cheight-3; in StretcherCorner() 554 prect->y = y+cheight-1; in StretcherCorner() 637 prect->y = y+cheight-1; in StretcherCorner() 646 prect->height = cheight-2; in StretcherCorner() 653 prect->height = cheight-3; in StretcherCorner() 722 prect->y = y+cheight-2; in StretcherCorner() 729 prect->y = y+cheight-1; in StretcherCorner() 738 prect->height = cheight-3; in StretcherCorner() 819 prect->y = y+cheight-2; in StretcherCorner() [all …]
|
/dports/graphics/sam2p/sam2p-0.49.4/ |
H A D | sam2p_pdf_scale.pl | 69 my($cwidth, $cheight); 74 if ($aheight <= $dheight) { ($cwidth, $cheight) = ($dwidth, $aheight) } 75 else { ($cwidth, $cheight) = ($bwidth, $dheight) } 77 $yshift = ($dheight - $cheight) / 2; 79 my $cm_new = float2str($cwidth)." 0 0 ".float2str($cheight)." ".
|
/dports/graphics/p5-Imager/Imager-1.012/FT2/ |
H A D | FT2.xs | 100 i_ft2_bbox(font, cheight, cwidth, text_sv, utf8) 102 double cheight 118 rc = i_ft2_bbox(font, cheight, cwidth, text, text_len, bbox, utf8); 126 i_ft2_bbox_r(font, cheight, cwidth, text_sv, vlayout, utf8) 128 double cheight 144 if (i_ft2_bbox_r(font, cheight, cwidth, text, len, vlayout, 152 i_ft2_text(font, im, tx, ty, cl, cheight, cwidth, text_sv, align, aa, vlayout, utf8) 158 double cheight 175 RETVAL = i_ft2_text(font, im, tx, ty, cl, cheight, cwidth, text, 187 double cheight [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios/vgasrc/ |
H A D | vgafb.c | 357 op.y = dest.y * cheight; in gfx_move_chars() 358 op.ylen = movesize.y * cheight; in gfx_move_chars() 359 op.srcy = op.y + lines * cheight; in gfx_move_chars() 374 op.y = win.y * cheight; in gfx_clear_chars() 375 op.ylen = winsize.y * cheight; in gfx_clear_chars() 412 op.y = cp.y * cheight; in gfx_write_char() 422 op.y += cheight-1; in gfx_write_char() 424 op.y -= cheight-1; in gfx_write_char() 465 op.y = cp.y * cheight; in gfx_read_char() 470 op.y += cheight-1; in gfx_read_char() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/seabios/vgasrc/ |
H A D | vgafb.c | 357 op.y = dest.y * cheight; in gfx_move_chars() 358 op.ylen = movesize.y * cheight; in gfx_move_chars() 359 op.srcy = op.y + lines * cheight; in gfx_move_chars() 374 op.y = win.y * cheight; in gfx_clear_chars() 375 op.ylen = winsize.y * cheight; in gfx_clear_chars() 412 op.y = cp.y * cheight; in gfx_write_char() 422 op.y += cheight-1; in gfx_write_char() 424 op.y -= cheight-1; in gfx_write_char() 465 op.y = cp.y * cheight; in gfx_read_char() 470 op.y += cheight-1; in gfx_read_char() [all …]
|