/dports/graphics/opencv/opencv-4.5.3/contrib/modules/wechat_qrcode/src/zxing/common/ |
H A D | bitmatrix.cpp | 302 int counterPosition = 0; in setRowRecords() local 307 cur_row_counters[counterPosition]++; in setRowRecords() 309 counterPosition++; in setRowRecords() 310 if (counterPosition == end) { in setRowRecords() 313 cur_row_counters[counterPosition] = 1; in setRowRecords() 324 row_counter_offset_end[y] = counterPosition < end ? (counterPosition + 1) : end; in setRowRecords() 372 int counterPosition = 0; in setColsRecords() local 377 cur_cols_counters[counterPosition]++; in setColsRecords() 379 counterPosition++; in setColsRecords() 380 if (counterPosition == end) { in setColsRecords() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/barcode/src/decoder/ |
H A D | abs_decoder.cpp | 39 uint counterPosition = 0; in fillCounter() local 44 counter.pattern[counterPosition]++; in fillCounter() 49 counterPosition++; in fillCounter() 50 if (counterPosition == counter_length) in fillCounter() 56 counter.pattern[counterPosition] = 1; in fillCounter()
|
H A D | upcean_decoder.cpp | 52 uint counterPosition = 0; in findGuardPatterns() local 58 counter.pattern[counterPosition]++; in findGuardPatterns() 63 if (counterPosition == patternLength - 1) in findGuardPatterns() 78 counterPosition--; in findGuardPatterns() 82 counterPosition++; in findGuardPatterns() 84 counter.pattern[counterPosition] = 1; in findGuardPatterns()
|
/dports/textproc/zxing-cpp/zxing-cpp-1.2.0/core/src/pdf417/ |
H A D | PDFDetector.cpp | 124 int counterPosition = 0; in FindGuardPattern() local 128 counters[counterPosition]++; in FindGuardPattern() 131 if (counterPosition == patternLength - 1) { in FindGuardPattern() 141 counterPosition--; in FindGuardPattern() 144 counterPosition++; in FindGuardPattern() 146 counters[counterPosition] = 1; in FindGuardPattern() 150 if (counterPosition == patternLength - 1) { in FindGuardPattern()
|
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/tests/ |
H A D | TestLists.cpp | 474 QCOMPARE(data->counterPosition(), QPointF(10, 14.4)); in testListParagraphIndent() 556 QVERIFY(data->counterPosition().x() > 100); in testRightToLeftList() 693 QVERIFY(data1->counterPosition().x() < data2->counterPosition().x()); in testCenteredItems() 696 QCOMPARE(data2->counterPosition().x(), padding); // close to the centered text. in testCenteredItems() 703 QCOMPARE(data->counterPosition().x(), 200 - padding - data->counterWidth()); in testCenteredItems()
|
H A D | TestDocumentLayout.cpp | 803 QCOMPARE(data->counterPosition(), QPointF(3, 24.4)); in testBorderData() 807 QCOMPARE(data->counterPosition(), QPointF(3, 53.8)); in testBorderData()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/textlayout/ |
H A D | KoTextLayoutArea.cpp | 653 QPointF stashedCounterPosition = blockData.counterPosition(); in restartLayout() 678 stashedCounterPosition = blockData.counterPosition(); in stashRemainingLayout() 1539 newX = blockData.counterPosition().x() + (d->isRtl ? -padding : padding); in addLine() 1542 newX = blockData.counterPosition().x() + (d->isRtl ? -padding : padding); in addLine() 1544 newX = blockData.counterPosition().x(); in addLine() 1550 blockData.setCounterPosition(QPointF(newX, blockData.counterPosition().y())); in addLine() 1738 …blockData.setCounterPosition(QPointF(blockData.counterPosition().x(), blockData.counterPosition().… in addLine() 1996 if (blockData.hasCounterData() && blockData.counterPosition().x() < x) { in handleBordersAndSpacing() 1997 width += x - blockData.counterPosition().x(); in handleBordersAndSpacing() 1998 x = blockData.counterPosition().x(); in handleBordersAndSpacing() [all …]
|
H A D | KoTextLayoutArea_paint.cpp | 446 QPointF counterPosition = blockData.counterPosition(); in drawListItem() local 453 … counterPosition += QPointF(0, firstParagLine.ascent() - layout.lineAt(0).ascent()); in drawListItem() 456 … counterPosition += QPointF(0, (firstParagLine.height() - layout.lineAt(0).height())/2.0); in drawListItem() 459 layout.draw(painter, counterPosition); in drawListItem() 472 qreal x = qMax(qreal(1), blockData.counterPosition().x()); in drawListItem() 475 … qreal y = blockData.counterPosition().y() + fm.ascent() - fm.xHeight()/2 - height/2; // centered in drawListItem() 497 qreal x1 = blockData.counterPosition().x(); in decorateListLabel()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/ |
H A D | KoTextBlockData.h | 173 QPointF counterPosition() const;
|
H A D | KoTextBlockData.cpp | 267 QPointF KoTextBlockData::counterPosition() const in counterPosition() function in KoTextBlockData
|
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/ |
H A D | KoTextLayoutArea_paint.cpp | 444 QPointF counterPosition = blockData.counterPosition(); in drawListItem() local 451 … counterPosition += QPointF(0, firstParagLine.ascent() - layout.lineAt(0).ascent()); in drawListItem() 454 … counterPosition += QPointF(0, (firstParagLine.height() - layout.lineAt(0).height())/2.0); in drawListItem() 457 layout.draw(painter, counterPosition); in drawListItem() 470 qreal x = qMax(qreal(1), blockData.counterPosition().x()); in drawListItem() 473 … qreal y = blockData.counterPosition().y() + fm.ascent() - fm.xHeight()/2 - height/2; // centered in drawListItem() 495 qreal x1 = blockData.counterPosition().x(); in decorateListLabel()
|
H A D | KoTextLayoutArea.cpp | 746 QPointF stashedCounterPosition = blockData.counterPosition(); in restartLayout() 771 stashedCounterPosition = blockData.counterPosition(); in stashRemainingLayout() 1631 newX = blockData.counterPosition().x() + (d->isRtl ? -padding : padding); in addLine() 1634 newX = blockData.counterPosition().x() + (d->isRtl ? -padding : padding); in addLine() 1636 newX = blockData.counterPosition().x(); in addLine() 1642 blockData.setCounterPosition(QPointF(newX, blockData.counterPosition().y())); in addLine() 1830 …blockData.setCounterPosition(QPointF(blockData.counterPosition().x(), blockData.counterPosition().… in addLine() 2088 if (blockData.hasCounterData() && blockData.counterPosition().x() < x) { in handleBordersAndSpacing() 2089 width += x - blockData.counterPosition().x(); in handleBordersAndSpacing() 2090 x = blockData.counterPosition().x(); in handleBordersAndSpacing() [all …]
|
/dports/editors/calligra/calligra-3.2.1/libs/text/ |
H A D | KoTextBlockData.h | 175 QPointF counterPosition() const;
|
H A D | KoTextBlockData.cpp | 277 QPointF KoTextBlockData::counterPosition() const in counterPosition() function in KoTextBlockData
|
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/tests/ |
H A D | TestBlockLayout.cpp | 1007 … QCOMPARE(data.counterPosition(), QPointF(3 + 100.0, (12.0 * LINESPACING_FACTOR) + 10.0 + 100.0)); in testParagraphMargins() 1011 …QCOMPARE(data2.counterPosition(), QPointF(3 + 100.0, (12.0 * LINESPACING_FACTOR + 10) * 2 + 100.0)… in testParagraphMargins() 1027 …QCOMPARE(data3.counterPosition(), QPointF(3 + 100.0, (12.0 * LINESPACING_FACTOR) + 10.0 + 100.0)); in testParagraphMargins() 1031 …QCOMPARE(data4.counterPosition(), QPointF(3 + 100.0, (12.0 * LINESPACING_FACTOR + 10.0) * 2 + 100… in testParagraphMargins()
|