Home
last modified time | relevance | path

Searched refs:yCount (Results 1 – 25 of 86) sorted by relevance

1234

/dports/games/palapeli/palapeli-21.12.3/slicers/goldberg/
H A Dgrid-rect.cpp25 int yCount; in generateGrid() local
26 getBestFit(xCount, yCount, 1.0 * width / height, piece_count); in generateGrid()
28 const int pieceWidth = width / xCount, pieceHeight = height / yCount; in generateGrid()
35 horizontalPlugParams[x] = new GBClassicPlugParams[yCount+1]; in generateGrid()
36 verticalPlugParams[x] = new GBClassicPlugParams[yCount+1]; in generateGrid()
37 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
40 if (y==0 || y==yCount) { in generateGrid()
59 … if (y>0 && y < yCount) e->smooth_join(verticalPlugParams[x][y], verticalPlugParams[x][y-1]); in generateGrid()
80 if (y>0 && y < yCount) { in generateGrid()
103 for (int y = 0; y < yCount; ++y) { in generateGrid()
[all …]
H A Dgrid-hex.cpp39 int yCount; in generateGrid() local
43 qDebug() << "cell count y = " << yCount; in generateGrid()
46 const qreal cellWidth = 1.0 * width / xCount, cellHeight = 1.0 * height / yCount; in generateGrid()
58 cells[x] = new HexCell[yCount+1]; in generateGrid()
60 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
100 if ((y==0 || y == yCount) && !odd_column) { in generateGrid()
106 if (x < xCount && y < yCount) { in generateGrid()
183 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
187 if (y==yCount && !odd_column) continue; in generateGrid()
208 if (y==yCount) { in generateGrid()
[all …]
H A Dgrid-rotrex.cpp50 int yCount; in generateGrid() local
67 for (int y=0; y<yCount+1; y++) { in generateGrid()
139 if (y == yCount) { in generateGrid()
150 intersects = (y < yCount); in generateGrid()
208 if (x<xCount && y<yCount) { in generateGrid()
326 if (y==yCount) { in generateGrid()
360 if (y==yCount) { in generateGrid()
390 if (y==yCount) { in generateGrid()
411 if (y==yCount) { in generateGrid()
431 if (x<xCount && y<yCount) { in generateGrid()
[all …]
H A Dgrid-cairo.cpp38 int yCount; in generateGrid() local
42 qDebug() << "cell count y = " << yCount; in generateGrid()
56 cells[x] = new CairoCell[yCount + 1]; in generateGrid()
58 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
122 if (y==yCount) { in generateGrid()
167 intersects = (x<xCount && y < yCount); in generateGrid()
261 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
283 if (y==yCount) { in generateGrid()
297 if (y < yCount) { in generateGrid()
331 for (int y = 0; y < yCount+1; ++y) { in generateGrid()
[all …]
H A Dutilities.cpp12 void getBestFit(int &xCount, int &yCount, qreal target_aspect, int approx_count) { in getBestFit() argument
30 yCount = (int)(floor(ny_exact) + 0.1); in getBestFit()
33 void getBestFitExtended(int &xCount, int &yCount, qreal target_aspect, int approx_count, in getBestFitExtended() argument
46 yCount = 1; in getBestFitExtended()
78 yCount = (int)(floor(ny_exact) + 0.1); in getBestFitExtended()
H A Dutilities.h23 void getBestFit(int &xCount, int &yCount, qreal target_aspect, int approx_count);
24 void getBestFitExtended(int &xCount, int &yCount, qreal target_aspect, int approx_count,
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/utils/
H A Dsquares.ts20 let yCount = Math.ceil(numberOfChildren / xCount);
23 xCount = Math.ceil(numberOfChildren / yCount);
25 const itemsOnLastRow = xCount - (xCount * yCount - numberOfChildren);
30 height: parentHeight / yCount - itemSpacing + itemSpacing / yCount,
33 yCount,
/dports/games/dunelegacy/dunelegacy-0.96.4/src/
H A DGameInterface.cpp100 int xCount = 0, yCount = 0; in draw() local
119 for (yCount = 0; yCount < yCount2; yCount++) { in draw()
121 if(((yCount/2) % 3) != 0) { in draw()
122 …wPoint(renderer, xCount + powerIndicatorPos.x, powerIndicatorPos.y + powerIndicatorPos.h - yCount); in draw()
139 for (yCount = 0; yCount < yCount2; yCount++) { in draw()
141 if(((yCount/2) % 3) != 0) { in draw()
142 …wPoint(renderer, xCount + spiceIndicatorPos.x, spiceIndicatorPos.y + spiceIndicatorPos.h - yCount); in draw()
/dports/games/palapeli/palapeli-21.12.3/slicers/
H A Dslicer-rect.cpp24 const int yCount = pieceCount.height(); in run() local
28 const int pieceHeight = image.height() / yCount; in run()
30 const int roundingErrorY = image.height() - pieceHeight * yCount; in run()
34 for (int y = 0; y < yCount; ++y) in run()
39 const int thisPieceHeight = (y == yCount) ? pieceHeight + roundingErrorY : pieceHeight; in run()
50 for (int y = 0; y < yCount; ++y) in run()
H A Dslicer-jigsaw.cpp87 const int yCount = pieceCount.height(); in run() local
91 const int pieceWidth = width / xCount, pieceHeight = height / yCount; in run()
101 horizontalPlugParams[x] = new JigsawPlugParams[yCount]; in run()
102 verticalPlugParams[x] = new JigsawPlugParams[yCount]; in run()
103 horizontalPlugDirections[x] = new int[yCount]; in run()
104 verticalPlugDirections[x] = new int[yCount]; in run()
105 for (int y = 0; y < yCount; ++y) in run()
118 for (int y = 0; y < yCount; ++y) in run()
159 if (y == yCount - 1) in run()
193 for (int y = 0; y < yCount; ++y) in run()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
173 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
181 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/core/
H A DSkLatticeIter.cpp133 int yCount = origYCount; in SkLatticeIter() local
141 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
146 yCount--; in SkLatticeIter()
152 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
160 fSrcY.reset(yCount + 2); in SkLatticeIter()
161 fDstY.reset(yCount + 2); in SkLatticeIter()
162 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
166 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
176 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
185 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/core/
H A DSkLatticeIter.cpp132 int yCount = origYCount; in SkLatticeIter() local
140 bool yIsScalable = (yCount > 0 && src.fTop == yDivs[0]); in SkLatticeIter()
145 yCount--; in SkLatticeIter()
151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
161 set_points(fDstY.begin(), fSrcY.begin(), yDivs, yCount, yCountFixed, yCountScalable, in SkLatticeIter()
165 fNumRectsInLattice = (xCount + 1) * (yCount + 1); in SkLatticeIter()
175 bool hasPadRow = (yCount != origYCount); in SkLatticeIter()
184 for (int y = 0; y < yCount + 1; y++) { in SkLatticeIter()
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/data/general/
H A DHeatMapUtilities.java117 int yCount = dataset.getYSampleCount(); in createHeatMapImage() local
118 BufferedImage image = new BufferedImage(xCount, yCount, in createHeatMapImage()
122 for (int yIndex = 0; yIndex < yCount; yIndex++) { in createHeatMapImage()
126 g2.fillRect(xIndex, yCount - yIndex - 1, 1, 1); in createHeatMapImage()
/dports/editors/calligra/calligra-3.2.1/stage/part/
H A DKPrSlidesManagerView.cpp263 int yCount = itemCount / xCount; in createDragPixmap() local
265 ++yCount; in createDragPixmap()
268 if (yCount > xCount) { in createDragPixmap()
269 yCount = xCount; in createDragPixmap()
273 QPixmap dragPixmap(xCount * size + xCount - 1, yCount * size + yCount - 1); in createDragPixmap()
/dports/x11-fm/dolphin/dolphin-21.12.3/src/kitemviews/
H A Dkfileitemlistview.cpp165 int yCount = itemCount / xCount; in createDragPixmap() local
167 ++yCount; in createDragPixmap()
169 if (yCount > xCount) { in createDragPixmap()
170 yCount = xCount; in createDragPixmap()
175 QPixmap dragPixmap(QSize(xCount * size + xCount, yCount * size + yCount) * dpr); in createDragPixmap()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Support/
H A DEquatableList.cs99 …int? yCount = yOfTCollection != null ? yOfTCollection.Count : yCollection != null ? yCollection.Co… in EnumerableCountsEqual()
102 if (xCount == null || yCount == null) in EnumerableCountsEqual()
109 return xCount == yCount; in EnumerableCountsEqual()
/dports/editors/calligra/calligra-3.2.1/libs/main/
H A DKoDocumentSectionView.cpp304 int yCount = itemCount / xCount; in createDragPixmap() local
306 ++yCount; in createDragPixmap()
309 if (yCount > xCount) { in createDragPixmap()
310 yCount = xCount; in createDragPixmap()
314 QPixmap dragPixmap(xCount * size + xCount - 1, yCount * size + yCount - 1); in createDragPixmap()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/mdoc/Mono.Documentation/
H A Decmadoc.cs299 int xCount, yCount; in SortTypes()
302 GetTypeSortName (y, out yName, out yCount); in SortTypes()
307 if (xCount < yCount) in SortTypes()
309 if (yCount < xCount) in SortTypes()
/dports/graphics/krita/krita-4.4.8/plugins/dockers/layerdocker/
H A DNodeView.cpp473 int yCount = itemCount / xCount; in createDragPixmap() local
475 ++yCount; in createDragPixmap()
478 if (yCount > xCount) { in createDragPixmap()
479 yCount = xCount; in createDragPixmap()
483 QPixmap dragPixmap(xCount * size + xCount - 1, yCount * size + yCount - 1); in createDragPixmap()

1234