/dports/biology/jalview/jalview/test/jalview/viewmodel/ |
H A D | OverviewDimensionsHideHiddenTest.java | 53 int boxHeight; field in OverviewDimensionsHideHiddenTest 214 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 329 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsAtStart() 371 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 380 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 390 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 402 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 413 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 462 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsAtEnd() 791 mouseClick(od, 0, 151 + boxHeight / 2); in testFromMouseWithHiddenRowsAtStart() [all …]
|
H A D | OverviewDimensionsShowHiddenTest.java | 52 int boxHeight; field in OverviewDimensionsShowHiddenTest 213 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 222 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 231 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 244 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 260 assertEquals(od.getBoxHeight(), boxHeight); in testSetBoxFromMouseClick() local 397 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 429 mouseClick(od, xpos, boxHeight / 2); in testFromMouseWithHiddenColsInMiddle() 825 mouseClick(od, 0, 150 + boxHeight/2); in testFromMouseWithHiddenRowsAtStart() 874 boxHeight in testFromMouseWithHiddenRowsInMiddle() [all …]
|
/dports/editors/textadept/cdk-5.0-20200923/ |
H A D | graph.c | 30 int boxHeight; in newCDKGraph() local 43 boxHeight += TitleLinesOf (widget); in newCDKGraph() 45 boxHeight = MINIMUM (boxHeight, parentHeight); in newCDKGraph() 54 widget->boxHeight = boxHeight; in newCDKGraph() 410 widget->boxHeight - 3, in _drawCDKGraph() 416 widget->boxHeight - 3, in _drawCDKGraph() 418 widget->boxHeight - 3, in _drawCDKGraph() 465 widget->boxHeight - 1, in _drawCDKGraph() 478 widget->boxHeight - 2, in _drawCDKGraph() 489 widget->boxHeight - 2, in _drawCDKGraph() [all …]
|
H A D | label.c | 27 int boxHeight; in newCDKLabel() local 43 boxHeight = rows + 2 * BorderOf (label); in newCDKLabel() 68 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKLabel() 71 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKLabel() 76 label->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKLabel() 82 label->boxHeight = boxHeight; in newCDKLabel() 98 label->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKLabel() 143 limit = label->boxHeight - (2 * BorderOf (label)); in setCDKLabelMessage() 274 alignxy (WindowOf (label), &xpos, &ypos, label->boxWidth, label->boxHeight); in _moveCDKLabel()
|
H A D | histogram.c | 29 int boxHeight; in newCDKHistogram() local 40 boxHeight = setWidgetDimension (parentHeight, height, 2); in newCDKHistogram() 41 oldHeight = boxHeight; in newCDKHistogram() 49 boxHeight += TitleLinesOf (widget); in newCDKHistogram() 55 boxHeight = (boxHeight > parentHeight ? oldHeight : boxHeight); in newCDKHistogram() 66 widget->boxHeight = boxHeight; in newCDKHistogram() 187 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 226 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 267 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 636 histX = widget->boxHeight - widget->barSize - 1; in _drawCDKHistogram() [all …]
|
H A D | dialog.c | 28 int boxHeight; in newCDKDialog() local 53 boxHeight = rows + 2 * BorderOf (dialog) + separator + 1; in newCDKDialog() 81 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKDialog() 86 dialog->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKDialog() 91 dialog->boxHeight = boxHeight; in newCDKDialog() 152 dialog->boxHeight - 1 - BorderOf (dialog), in activateCDKDialog() 510 dialog->boxHeight - 1 - BorderOf (dialog), in drawCDKDialogButtons() 524 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 529 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 533 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() [all …]
|
H A D | buttonbox.c | 33 int boxHeight = 0; in newCDKButtonbox() local 63 boxHeight = setWidgetDimension (parentHeight, height, rows + 1); in newCDKButtonbox() 107 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKButtonbox() 110 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKButtonbox() 115 buttonbox->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKButtonbox() 121 buttonbox->boxHeight = boxHeight; in newCDKButtonbox() 131 if (boxHeight - rows - TitleLinesOf (buttonbox) > 0) in newCDKButtonbox() 133 buttonbox->rowAdjust = (int)((boxHeight in newCDKButtonbox() 156 buttonbox->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKButtonbox() 508 alignxy (WindowOf (buttonbox), &xpos, &ypos, buttonbox->boxWidth, buttonbox->boxHeight); in _moveCDKButtonbox()
|
H A D | marquee.c | 31 int boxHeight; in layoutWidget() local 38 boxHeight = (BorderOf (widget) * 2) + 1; in layoutWidget() 41 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in layoutWidget() 42 window = newwin (boxHeight, boxWidth, ypos, xpos); in layoutWidget() 48 widget->boxHeight = boxHeight; in layoutWidget() 57 boxHeight, boxWidth, in layoutWidget() 275 alignxy (WindowOf (widget), &xpos, &ypos, widget->boxWidth, widget->boxHeight); in _moveCDKMarquee()
|
/dports/editors/textadept/textadept-textadept_11.1/src/cdk/ |
H A D | graph.c | 30 int boxHeight; in newCDKGraph() local 43 boxHeight += TitleLinesOf (widget); in newCDKGraph() 45 boxHeight = MINIMUM (boxHeight, parentHeight); in newCDKGraph() 54 widget->boxHeight = boxHeight; in newCDKGraph() 410 widget->boxHeight - 3, in _drawCDKGraph() 416 widget->boxHeight - 3, in _drawCDKGraph() 418 widget->boxHeight - 3, in _drawCDKGraph() 465 widget->boxHeight - 1, in _drawCDKGraph() 478 widget->boxHeight - 2, in _drawCDKGraph() 489 widget->boxHeight - 2, in _drawCDKGraph() [all …]
|
H A D | label.c | 27 int boxHeight; in newCDKLabel() local 43 boxHeight = rows + 2 * BorderOf (label); in newCDKLabel() 68 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKLabel() 71 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKLabel() 76 label->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKLabel() 82 label->boxHeight = boxHeight; in newCDKLabel() 98 label->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKLabel() 143 limit = label->boxHeight - (2 * BorderOf (label)); in setCDKLabelMessage() 274 alignxy (WindowOf (label), &xpos, &ypos, label->boxWidth, label->boxHeight); in _moveCDKLabel()
|
H A D | histogram.c | 29 int boxHeight; in newCDKHistogram() local 40 boxHeight = setWidgetDimension (parentHeight, height, 2); in newCDKHistogram() 41 oldHeight = boxHeight; in newCDKHistogram() 49 boxHeight += TitleLinesOf (widget); in newCDKHistogram() 55 boxHeight = (boxHeight > parentHeight ? oldHeight : boxHeight); in newCDKHistogram() 66 widget->boxHeight = boxHeight; in newCDKHistogram() 187 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 226 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 267 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 636 histX = widget->boxHeight - widget->barSize - 1; in _drawCDKHistogram() [all …]
|
H A D | dialog.c | 28 int boxHeight; in newCDKDialog() local 53 boxHeight = rows + 2 * BorderOf (dialog) + separator + 1; in newCDKDialog() 81 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKDialog() 86 dialog->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKDialog() 91 dialog->boxHeight = boxHeight; in newCDKDialog() 152 dialog->boxHeight - 1 - BorderOf (dialog), in activateCDKDialog() 510 dialog->boxHeight - 1 - BorderOf (dialog), in drawCDKDialogButtons() 524 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 529 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 533 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() [all …]
|
H A D | buttonbox.c | 33 int boxHeight = 0; in newCDKButtonbox() local 63 boxHeight = setWidgetDimension (parentHeight, height, rows + 1); in newCDKButtonbox() 107 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKButtonbox() 110 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKButtonbox() 115 buttonbox->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKButtonbox() 121 buttonbox->boxHeight = boxHeight; in newCDKButtonbox() 131 if (boxHeight - rows - TitleLinesOf (buttonbox) > 0) in newCDKButtonbox() 133 buttonbox->rowAdjust = (int)((boxHeight in newCDKButtonbox() 156 buttonbox->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKButtonbox() 508 alignxy (WindowOf (buttonbox), &xpos, &ypos, buttonbox->boxWidth, buttonbox->boxHeight); in _moveCDKButtonbox()
|
/dports/devel/cdk/cdk-5.0-20161210/ |
H A D | graph.c | 30 int boxHeight; in newCDKGraph() local 43 boxHeight += TitleLinesOf (widget); in newCDKGraph() 45 boxHeight = MINIMUM (boxHeight, parentHeight); in newCDKGraph() 54 widget->boxHeight = boxHeight; in newCDKGraph() 410 widget->boxHeight - 3, in _drawCDKGraph() 416 widget->boxHeight - 3, in _drawCDKGraph() 418 widget->boxHeight - 3, in _drawCDKGraph() 465 widget->boxHeight - 1, in _drawCDKGraph() 478 widget->boxHeight - 2, in _drawCDKGraph() 489 widget->boxHeight - 2, in _drawCDKGraph() [all …]
|
H A D | label.c | 27 int boxHeight; in newCDKLabel() local 43 boxHeight = rows + 2 * BorderOf (label); in newCDKLabel() 68 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKLabel() 71 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKLabel() 76 label->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKLabel() 82 label->boxHeight = boxHeight; in newCDKLabel() 98 label->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKLabel() 143 limit = label->boxHeight - (2 * BorderOf (label)); in setCDKLabelMessage() 274 alignxy (WindowOf (label), &xpos, &ypos, label->boxWidth, label->boxHeight); in _moveCDKLabel()
|
H A D | histogram.c | 29 int boxHeight; in newCDKHistogram() local 40 boxHeight = setWidgetDimension (parentHeight, height, 2); in newCDKHistogram() 41 oldHeight = boxHeight; in newCDKHistogram() 49 boxHeight += TitleLinesOf (widget); in newCDKHistogram() 55 boxHeight = (boxHeight > parentHeight ? oldHeight : boxHeight); in newCDKHistogram() 66 widget->boxHeight = boxHeight; in newCDKHistogram() 187 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 226 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 267 widget->lowy = widget->boxHeight - len - 1; in setCDKHistogramValue() 636 histX = widget->boxHeight - widget->barSize - 1; in _drawCDKHistogram() [all …]
|
H A D | dialog.c | 28 int boxHeight; in newCDKDialog() local 53 boxHeight = rows + 2 * BorderOf (dialog) + separator + 1; in newCDKDialog() 81 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKDialog() 86 dialog->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKDialog() 91 dialog->boxHeight = boxHeight; in newCDKDialog() 152 dialog->boxHeight - 1 - BorderOf (dialog), in activateCDKDialog() 510 dialog->boxHeight - 1 - BorderOf (dialog), in drawCDKDialogButtons() 524 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 529 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() 533 dialog->boxHeight - 2 - BorderOf (dialog), in drawCDKDialogButtons() [all …]
|
H A D | buttonbox.c | 33 int boxHeight = 0; in newCDKButtonbox() local 63 boxHeight = setWidgetDimension (parentHeight, height, rows + 1); in newCDKButtonbox() 107 boxHeight = (boxHeight > parentHeight ? parentHeight : boxHeight); in newCDKButtonbox() 110 alignxy (cdkscreen->window, &xpos, &ypos, boxWidth, boxHeight); in newCDKButtonbox() 115 buttonbox->win = newwin (boxHeight, boxWidth, ypos, xpos); in newCDKButtonbox() 121 buttonbox->boxHeight = boxHeight; in newCDKButtonbox() 131 if (boxHeight - rows - TitleLinesOf (buttonbox) > 0) in newCDKButtonbox() 133 buttonbox->rowAdjust = (int)((boxHeight in newCDKButtonbox() 156 buttonbox->shadowWin = newwin (boxHeight, boxWidth, ypos + 1, xpos + 1); in newCDKButtonbox() 508 alignxy (WindowOf (buttonbox), &xpos, &ypos, buttonbox->boxWidth, buttonbox->boxHeight); in _moveCDKButtonbox()
|
/dports/science/scidavis/scidavis-2.4.0/libscidavis/src/ |
H A D | ImageDialog.cpp | 60 boxHeight = new QSpinBox(); in ImageDialog() 61 boxHeight->setRange(0, 2000); in ImageDialog() 62 boxHeight->setSuffix(tr(" pixels")); in ImageDialog() 69 gl2->addWidget(boxHeight, 2, 1); in ImageDialog() 109 boxHeight->setValue(size.height()); in setSize() 113 connect(boxHeight, SIGNAL(valueChanged(int)), this, SLOT(adjustWidth(int))); in setSize() 119 disconnect(boxHeight, SIGNAL(valueChanged(int)), this, SLOT(adjustWidth(int))); in adjustHeight() 120 boxHeight->setValue(int(width / aspect_ratio)); in adjustHeight() 121 connect(boxHeight, SIGNAL(valueChanged(int)), this, SLOT(adjustWidth(int))); in adjustHeight() 123 aspect_ratio = (double)width / double(boxHeight->value()); in adjustHeight() [all …]
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/render/ |
H A D | TextRenderer.java | 51 (int) text.boxHeight, text.fontScale, !text.isEcho); in render() 75 float h = text.boxHeight; in render() 101 float boxHeight = ascent + descent + 8; in renderSimpleLabel() local 106 Text.setBoxXY(boxWidth, boxHeight, xOffset, yOffset, boxXY, isAbsolute); in renderSimpleLabel() 112 (int) boxHeight, 1, true); in renderSimpleLabel() 121 g3d.drawLineXYZ(x0, y0, zSlab, (int) x, (int) (y + boxHeight / 2), in renderSimpleLabel() 125 (int) (y + boxHeight / 2), zSlab); in renderSimpleLabel() 131 int boxWidth, int boxHeight, in showBox() argument 133 g3d.fillTextRect(x, y, z, zSlab, boxWidth, boxHeight); in showBox() 138 g3d.drawRect(x + 3, y + 3, z - 1, zSlab, boxWidth - 6, boxHeight - 6); in showBox() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/cuda/ |
H A D | prior_box.cu | 29 …View<float> boxWidth, View<float> boxHeight, View<float> offsetX, View<float> offsetY, float stepX… in prior_box() argument 57 vec.data[1] = (center_y - boxHeight[i] * 0.5f) / imageHeight; in prior_box() 59 vec.data[3] = (center_y + boxHeight[i] * 0.5f) / imageHeight; in prior_box() 62 vec.data[1] = center_y - boxHeight[i] * 0.5f; in prior_box() 64 vec.data[3] = center_y + boxHeight[i] * 0.5f - 1.0f; in prior_box() 110 …Span<T> output, View<float> boxWidth, View<float> boxHeight, View<float> offsetX, View<float> offs… in launch_prior_box_kernel() argument 117 output, boxWidth, boxHeight, offsetX, offsetY, stepX, stepY, in launch_prior_box_kernel() 125 …View<float> boxWidth, View<float> boxHeight, View<float> offsetX, View<float> offsetY, float stepX… in generate_prior_boxes() argument 134 stream, output, boxWidth, boxHeight, offsetX, offsetY, stepX, stepY, in generate_prior_boxes() 139 stream, output, boxWidth, boxHeight, offsetX, offsetY, stepX, stepY, in generate_prior_boxes()
|
/dports/x11-fonts/cantarell-fonts/cantarell-fonts-0.301/proofs/ |
H A D | spacing.py | 84 boxHeight = pageHeight - border * 2 variable 90 textBox(basic_test, (border, border, boxWidth, boxHeight)) 96 textBox(lc_text + "\n\n" + uc_text, (border, border, boxWidth, boxHeight)) 102 textBox(ul_text+ "\n\n" + misc_text, (border, border, boxWidth, boxHeight))
|
/dports/biology/jalview/jalview/src/jalview/viewmodel/ |
H A D | OverviewDimensions.java | 55 protected int boxHeight = -1; field in OverviewDimensions 117 g.drawRect(boxX, boxY, boxWidth, boxHeight); in drawBox() 118 g.drawRect(boxX + 1, boxY + 1, boxWidth - 2, boxHeight - 2); in drawBox() 138 return boxHeight; in getBoxHeight() 289 boxHeight = Math.round(vpheight / heightRatio); in setBoxPosition() 304 && y < boxY + boxHeight); in isPositionInBox()
|
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/graphics/charts/ |
H A D | slidebox.py | 27 boxHeight = AttrMapValue(isNumber, desc="Height of the boxes"), 58 self.boxHeight = 0.55*cm 78 ty=self.boxHeight+self.triangleHeight 124 sr.height=self.boxHeight 134 g.add(Rect(x,0,self.boxWidth,self.boxHeight, 139 g.add(String(x+self.boxWidth/2.,(self.boxHeight-ascent)/2., 157 points=[xt,self.boxHeight-(self.triangleHeight/2), 158 xt-(self.triangleWidth/2),self.boxHeight+(self.triangleHeight/2), 159 xt+(self.triangleWidth/2),self.boxHeight+(self.triangleHeight/2), 160 xt,self.boxHeight-(self.triangleHeight/2)]))
|
/dports/graphics/nplot/nplot-9a92e78/src/ |
H A D | LegendBase.cs | 285 int boxHeight = (int) ((float) heightInItemCount*(maxHt + vSpacing) + vSpacing); in Draw() 288 int totalHeight = boxHeight; in Draw() 294 … g.FillRectangle(new SolidBrush(bgColor_), position.X, position.Y, boxWidth, boxHeight); in Draw() 295 g.DrawRectangle(new Pen(borderColor_), position.X, position.Y, boxWidth, boxHeight); in Draw() 300 …h(Color.FromArgb(128, Color.Gray)), position.X + offset, position.Y + offset, boxWidth, boxHeight); in Draw() 301 … g.FillRectangle(new SolidBrush(bgColor_), position.X, position.Y, boxWidth, boxHeight); in Draw() 302 g.DrawRectangle(new Pen(borderColor_), position.X, position.Y, boxWidth, boxHeight); in Draw()
|