/dports/games/gnustep-ladder/Ladder-1.0/ |
H A D | .#Board.m.1.17 | 79 retRect = NSInsetRect(retRect,-cellWidth/2, -cellWidth/2); 316 …ouseLocation.column * cellWidth) - cellWidth, NSMinY(boardRect) + (mouseLocation.row * cellWidth) … 321 …ouseLocation.column * cellWidth) - cellWidth, NSMinY(boardRect) + (mouseLocation.row * cellWidth) … 404 ic = NSMinX(boardRect) + cellWidth/2 + cellWidth; 405 ir = NSMinY(boardRect) + cellWidth/2 + cellWidth; 407 for (i = 2; i <= boardSize-1; i++, ir+=cellWidth, ic+= cellWidth) 431 ir = NSMinY(boardRect) + cellWidth/2 + cellWidth*3; 434 ic = NSMinX(boardRect) + cellWidth/2 + cellWidth*3; 459 for (i = 0; i < boardSize; i++, ir+=cellWidth, ic+= cellWidth) 508 DPSsetalpha(ctxt,shalpha * (cellWidth/2 - k)/(cellWidth/2)); [all …]
|
H A D | Board.m | 79 retRect = NSInsetRect(retRect,-cellWidth/2, -cellWidth/2); 316 …ouseLocation.column * cellWidth) - cellWidth, NSMinY(boardRect) + (mouseLocation.row * cellWidth) … 321 …ouseLocation.column * cellWidth) - cellWidth, NSMinY(boardRect) + (mouseLocation.row * cellWidth) … 404 ic = NSMinX(boardRect) + cellWidth/2 + cellWidth; 405 ir = NSMinY(boardRect) + cellWidth/2 + cellWidth; 407 for (i = 2; i <= boardSize-1; i++, ir+=cellWidth, ic+= cellWidth) 431 ir = NSMinY(boardRect) + cellWidth/2 + cellWidth*3; 434 ic = NSMinX(boardRect) + cellWidth/2 + cellWidth*3; 459 for (i = 0; i < boardSize; i++, ir+=cellWidth, ic+= cellWidth) 508 DPSsetalpha(ctxt,shalpha * (cellWidth/2 - k)/(cellWidth/2)); [all …]
|
/dports/audio/tiatracker/tiatracker-1.3/ |
H A D | envelopeshaper.cpp | 74 int xPos = legendCellSize + frame*cellWidth; in drawLegend() 86 painter.fillRect(valuesXPos, 0, sustainStart*cellWidth, valuesHeight, MainWindow::dark); in drawAttackDecay() 88 …painter.fillRect(valuesXPos + sustainStart*cellWidth, 0, (releaseStart - sustainStart)*cellWidth, … in drawAttackDecay() 90 …painter.fillRect(valuesXPos + releaseStart*cellWidth, 0, (envelopeLength - releaseStart)*cellWidth… in drawAttackDecay() 100 …painter.drawText(valuesXPos + iValue*cellWidth, 0, cellWidth, legendCellSize, Qt::AlignCenter, QSt… in drawWaveform() 105 int xPos = int(valuesXPos + i*cellWidth + cellWidth/2); in drawWaveform() 116 int fromX = int(valuesXPos + (i - 1)*cellWidth + cellWidth/2); in drawWaveform() 122 int toX = int(valuesXPos + i*cellWidth + cellWidth/2); in drawWaveform() 151 int iValue = int(x/cellWidth); in processMouseEvent() 195 int frame = (event->x() - legendCellSize)/cellWidth; in contextMenuEvent() [all …]
|
H A D | percussionshaper.cpp | 49 …painter.fillRect(valuesXPos, widgetHeight - legendCellSize, envelopeLength*cellWidth, legendCellSi… 74 int xPos = legendCellSize + frame*cellWidth; 75 …painter.drawText(xPos, valuesHeight, cellWidth, legendCellSize, Qt::AlignCenter, QString::number(f… 86 …painter.drawText(valuesXPos + iValue*cellWidth, 0, cellWidth, legendCellSize, Qt::AlignCenter, QSt… 91 int xPos = int(valuesXPos + i*cellWidth + cellWidth/2); 102 int fromX = int(valuesXPos + (i - 1)*cellWidth + cellWidth/2); 108 int toX = int(valuesXPos + i*cellWidth + cellWidth/2); 128 painter.fillRect(valuesXPos, 0, envelopeLength*cellWidth, valuesHeight, MainWindow::dark); 140 int iValue = int(x/cellWidth); 192 int frame = (event->x() - legendCellSize)/cellWidth; [all …]
|
H A D | waveformshaper.cpp | 84 …painter.fillRect(legendCellSize, valueAreaHeight, envelopeLength*cellWidth, legendCellSize, MainWi… in paintEvent() 86 … painter.fillRect(legendCellSize, 0, envelopeLength*cellWidth, valueAreaHeight, MainWindow::dark); in paintEvent() 91 int xPos = legendCellSize + frame*cellWidth; in paintEvent() 92 …painter.drawText(xPos, valueAreaHeight, cellWidth, legendCellSize, Qt::AlignCenter, QString::numbe… in paintEvent() 99 …painter.drawText(legendCellSize + iValue*cellWidth, valueAreaMargin, cellWidth, valueFontHeight, Q… in paintEvent() 108 waveformColumn = (event->x() - legendCellSize)/cellWidth; in contextMenuEvent() 118 int column = (event->x() - legendCellSize)/cellWidth; in mousePressEvent() 129 int column = (event->x() - legendCellSize)/cellWidth; in wheelEvent() 152 width += envelopeLength*cellWidth; in calcWidth()
|
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/graphics/barcode/ |
H A D | dmtx.py | 137 cellWidth = self._cellSize 138 if cellWidth: 139 cellWidth = cellWidth.split('x') 140 if len(cellWidth)>2: 142 elif len(cellWidth)==2: 143 cellWidth, cellHeight = cellWidth 145 cellWidth = cellHeight = cellWidth[0] 146 cellWidth = _numConv(cellWidth) 173 def cellWidth(self): member in DataMatrix 208 cellWidth = self.cellWidth [all …]
|
/dports/graphics/openvkl/openvkl-1.1.0/openvkl/devices/cpu/volume/amr/ |
H A D | AMRData.cpp | 19 this->cellWidth = info.cellWidth; in Brick() 25 box3f(vec3f(this->box.lower) * this->cellWidth, in Brick() 26 vec3f(this->box.upper + vec3i(1)) * this->cellWidth); in Brick() 27 this->gridToWorldScale = 1.f / this->cellWidth; in Brick() 46 blockInfo.cellWidth = cellWidths[refinementLevels[i]]; in AMRData()
|
H A D | DualCell.ih | 34 const float halfCellWidth = 0.5f*cellWidth; 35 const float rcpCellWidth = rcp(cellWidth); 39 // D.cellID.width = cellWidth; 47 const float cellWidth = level.cellWidth; 48 const float halfCellWidth = 0.5f*cellWidth; 49 const float rcpCellWidth = rcp(cellWidth); 52 D.cellID.pos = f_idx * cellWidth + halfCellWidth; 53 D.cellID.width = cellWidth; 59 const float halfCellWidth = cellWidth * 0.5f; 60 const float rcpCellWidth = rcp(cellWidth); [all …]
|
H A D | AMRVolume.cpp | 24 float cellWidth; member 33 const float cellWidth, in AMRLeafNode() 41 nominalLength.x = -cellWidth * gridSpacing.x; in AMRLeafNode() 42 nominalLength.y = cellWidth * gridSpacing.y; in AMRLeafNode() 43 nominalLength.z = cellWidth * gridSpacing.z; in AMRLeafNode() 55 auto cellWidth = ((AMRLeafNodeUserData *)userPtr)[id].cellWidth; in create() local 60 id, *(const box3fa *)prims, range, cellWidth, gridSpacing); in create() 269 userData[taskIndex].cellWidth = leaf.brickList[0]->cellWidth; in buildBvh()
|
/dports/devel/plasma5-plasma-sdk/plasma-sdk-5.23.5/cuttlefish/package/contents/ui/ |
H A D | Comparison.qml | 54 cellWidth: Kirigami.Units.iconSizes.enormous 55 cellHeight: cellWidth + 2 * Kirigami.Units.gridUnit + Kirigami.Units.largeSpacing 58 …idth < comparisonGrid.count * cellWidth ? availableWidth - availableWidth % cellWidth : comparis… 63 width: comparisonGrid.cellWidth 68 Layout.preferredWidth: comparisonGrid.cellWidth 69 Layout.preferredHeight: comparisonGrid.cellWidth
|
/dports/games/palapeli/palapeli-21.12.3/slicers/goldberg/ |
H A D | grid-rotrex.cpp | 88 (x - x1) * cellWidth, in generateGrid() 90 (x + x1) * cellWidth, in generateGrid() 93 (x + (odd_cell ? x1 : x4)) * cellWidth, in generateGrid() 95 (x + (odd_cell ? x1 : x4)) * cellWidth, in generateGrid() 98 (x + (odd_cell ? x3 : x2)) * cellWidth, in generateGrid() 100 (x + x1) * cellWidth, in generateGrid() 105 (x + x4) * cellWidth, in generateGrid() 108 (x + x1) * cellWidth, in generateGrid() 113 (x + x4) * cellWidth, in generateGrid() 128 x * cellWidth, in generateGrid() [all …]
|
H A D | grid-cairo.cpp | 45 const qreal cellWidth = 1.0 * width / xCount, cellHeight = 1.0 * height / yCount; in generateGrid() local 48 e->m_length_base = sqrt(cellWidth * cellHeight * 0.5) * e->m_plug_size; in generateGrid() 85 …cells[x][y].corner.unit_x = QLineF((x-0.25) * cellWidth, y * cellHeight, (x+0.25) * cellWidth, y *… in generateGrid() 89 …cells[x][y].corner.unit_x = QLineF(x * cellWidth, (y-0.25) * cellHeight, x * cellWidth, (y + 0.25)… in generateGrid() 92 cells[x][y].tl.unit_x = QLineF((x + (odd_cell?0.25:0.0 )) * cellWidth, in generateGrid() 94 cells[x][y].tr.unit_x = QLineF((x + (odd_cell?1.0 :0.75)) * cellWidth, in generateGrid() 96 cells[x][y].bl.unit_x = QLineF((x + (odd_cell?0.0 :0.25)) * cellWidth, in generateGrid() 107 …cells[x][y].corner.unit_x = QLineF(x * cellWidth, y * cellHeight, x * cellWidth, (y+ 0.25) * cellH… in generateGrid() 115 …cells[x][y].corner.unit_x = QLineF(x * cellWidth, y * cellHeight, (x+0.25) * cellWidth, y * cellHe… in generateGrid() 124 …cells[x][y].corner.unit_x = QLineF(x * cellWidth, (y-0.25) * cellHeight, x * cellWidth, y * cellHe… in generateGrid() [all …]
|
/dports/java/jflex/jflex-1.8.1/src/main/java/jflex/gui/ |
H A D | GridPanel.java | 62 float cellWidth = size.width / cols; in doLayout() local 68 float x = cellWidth * c.x + insets.left + hgap / 2; in doLayout() 74 width = (cellWidth - hgap) * c.width; in doLayout() 84 x += (cellWidth + width) / 2; in doLayout() 87 x += cellWidth - width; in doLayout() 93 x += (cellWidth + width) / 2; in doLayout() 98 x += cellWidth - width; in doLayout() 104 x += (cellWidth + width) / 2; in doLayout() 109 x += cellWidth - width; in doLayout()
|
/dports/biology/ugene/ugene-40.1/src/corelibs/U2View/src/ov_assembly/ |
H A D | AssemblyReadsArea.h | 221 : cellWidth(0) {}; in ReadsMover() 223 : lastPos(initPos), cellWidth(cellWidth_ ? cellWidth_ : 1) { in ReadsMover() 226 assert(cellWidth); in handleEvent() 232 assert(cellWidth); in getXunits() 233 int result = diff.x() / cellWidth; in getXunits() 234 diff.setX(diff.x() % cellWidth); in getXunits() 238 assert(cellWidth); in getYunits() 239 int result = diff.y() / cellWidth; in getYunits() 240 diff.setY(diff.y() % cellWidth); in getYunits() 247 int cellWidth; variable
|
/dports/games/hyperrogue/hyperrogue-12.0f/hyperroid/app/src/main/java/com/android/texample/ |
H A D | GLText.java | 81 int cellWidth, cellHeight; // Character Cell Width/Height field in GLText 115 cellWidth = 0; in GLText() 179 cellWidth = (int)charWidthMax + ( 2 * fontPadX ); // Set Cell Width in load() 181 … int maxSize = cellWidth > cellHeight ? cellWidth : cellHeight; // Save Max Size (Width/Height) in load() 204 colCnt = textureSize / cellWidth; // Calculate Number of Columns in load() 213 x += cellWidth; // Move to Next Character in load() 214 if ( ( x + cellWidth - fontPadX ) > textureSize ) { // IF End of Line Reached in load() 245 …charRgn[c] = new TextureRegion( textureSize, textureSize, x, y, cellWidth-1, cellHeight-1 ); // C… in load() 246 x += cellWidth; // Move to Next Char (Cell) in load() 247 if ( x + cellWidth > textureSize ) { in load() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/ |
H A D | ppmtoascii.c | 93 unsigned int cellWidth; member 127 cmdlineP->cellWidth = 2; in parseCommandLine() 131 cmdlineP->cellWidth = 1; in parseCommandLine() 158 unsigned int const cellWidth = cmdline.cellWidth; in ppmtoascii() local 167 for (col = 0; col < cols; col += cellWidth) { in ppmtoascii() 168 unsigned int const sumthresh = cellWidth * cellHeight * 1.0 / 2; in ppmtoascii() 181 for (subcol = 0; subcol < cellWidth; ++subcol) { in ppmtoascii()
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/pbm/ |
H A D | pbmtoascii.c | 90 unsigned int const cellWidth, in makeRowOfSignatures() argument 124 for (subcol = 0; subcol < cellWidth; ++subcol) { in makeRowOfSignatures() 128 col += cellWidth, ++ccol) { in makeRowOfSignatures() 182 unsigned int const cellWidth, in pbmtoascii() argument 200 assert(cellWidth * cellHeight <= sizeof(signatureRow[0])*8); in pbmtoascii() 204 ccols = (cols + cellWidth - 1) / cellWidth; in pbmtoascii() 217 makeRowOfSignatures(ifP, cols, rows, format, cellWidth, cellHeight, in pbmtoascii()
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ |
H A D | RtfTableCell.java | 59 private int cellWidth; field in RtfTableCell 76 RtfTableCell(RtfTableRow parent, Writer w, int cellWidth, int idNum) throws IOException { in RtfTableCell() argument 80 this.cellWidth = cellWidth; in RtfTableCell() 87 RtfTableCell(RtfTableRow parent, Writer w, int cellWidth, RtfAttributes attrs, in RtfTableCell() argument 92 this.cellWidth = cellWidth; in RtfTableCell() 229 int iCurrentWidth = this.cellWidth; in writeCellDef() 436 return this.cellWidth; in getCellWidth()
|
/dports/net-im/cutegram/Cutegram-2.7.1-stable/Cutegram/qml/Cutegram/ |
H A D | DialogFileViewer.qml | 14 property real cellWidth: 100*Devices.density 26 cellWidth: width/Math.floor(width/df_viewer.cellWidth) 27 cellHeight: cellWidth 30 width: grid.cellWidth
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/ |
H A D | CellData.java | 315 public Point computeSize(SizeCache toCompute, int cellWidth, int cellHeight) { in computeSize() argument 323 if (cellWidth != SWT.DEFAULT) { in computeSize() 324 cellWidth -= absHorizontalIndent; in computeSize() 331 int controlWidth = horizontalAlignment == SWT.FILL ? cellWidth : SWT.DEFAULT; in computeSize() 341 if (cellWidth != SWT.DEFAULT && controlSize.x > cellWidth) { in computeSize() 342 controlSize = computeControlSize(toCompute, cellWidth, controlHeight); in computeSize() 348 if (cellWidth != SWT.DEFAULT && controlSize.x > cellWidth) { in computeSize() 349 controlSize.x = cellWidth; in computeSize()
|
/dports/graphics/netpbm/netpbm-10.91.01/lib/ |
H A D | libpbmfont1.c | 214 unsigned int cellWidth, cellHeight; in pbm_dissectfont() local 229 &cellWidth, &cellHeight, &charWidth, &charHeight); in pbm_dissectfont() 247 col = cellWidth * 2; in pbm_dissectfont() 264 glyph->xadd = cellWidth; in pbm_dissectfont() 273 col += cellWidth; in pbm_dissectfont() 274 if ( col >= cellWidth * 14 ) { in pbm_dissectfont() 275 col = cellWidth * 2; in pbm_dissectfont()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/demo/ |
H A D | ColourDB.py | 44 self.cellWidth = w 51 self.cellWidth, self.lineHeight, numCells, len(self.clrList) + 2 123 dc.DrawText(clr, self.cellWidth, y) 127 dc.DrawRectangle(10 * self.cellWidth, y, 128 6 * self.cellWidth, self.textHeight) 131 18 * self.cellWidth, y) 134 dc.DrawText(hexstr, 25 * self.cellWidth, y)
|
/dports/devel/doxygen/doxygen-1.9.3/src/ |
H A D | diagram.cpp | 114 uint cellWidth,uint cellHeight, 120 uint cellWidth,uint cellheight); 571 uint cellWidth,uint cellHeight, in drawBoxes() argument 724 x = di->xPos()*(cellWidth+labelHorSpacing)/gridWidth + cellWidth/2; in drawConnectors() 765 (cellWidth+labelHorSpacing)/gridWidth+cellWidth/2; in drawConnectors() 889 x = di->xPos()*(cellWidth+labelHorSpacing)/gridWidth + cellWidth/2; in drawConnectors() 934 x = di->xPos()*(cellWidth+labelHorSpacing)/gridWidth + cellWidth/2; in drawConnectors() 974 + cellWidth/2; in drawConnectors() 976 + cellWidth/2; in drawConnectors() 1354 uint cellWidth = std::max(lb,ls)+labelHorMargin*2; in writeImage() local [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/widgets/ |
H A D | moonphasecalendarwidget.cpp | 68 cellWidth = width() / (double)numDayColumns; in computeMoonImageSize() 70 qDebug() << cellWidth << cellHeight; in computeMoonImageSize() 72 …((cellWidth > cellHeight - 12) ? cellHeight - 12 : cellWidth) - 2; // FIXME: Using hard-coded font… in computeMoonImageSize() 92 int leftCol = (int)std::floor(rectToUpdate.left() / cellWidth); in paintEvent() 94 int rightCol = (int)std::ceil(rectToUpdate.right() / cellWidth); in paintEvent() 98 p.translate(leftCol * cellWidth, topRow * cellHeight); in paintEvent() 106 p.translate(cellWidth, 0); in paintEvent() 114 double w = cellWidth - 1; in paintCell()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/examples/designer/taskmenuextension/ |
H A D | tictactoe.cpp | 116 painter.drawLine(cellWidth(), 0, cellWidth(), height()); in paintEvent() 117 painter.drawLine(2 * cellWidth(), 0, 2 * cellWidth(), height()); in paintEvent() 171 return QRect(column * cellWidth() + HMargin, in cellRect() 173 cellWidth() - 2 * HMargin, in cellRect()
|