Home
last modified time | relevance | path

Searched refs:counterPosition (Results 1 – 15 of 15) sorted by relevance

/dports/graphics/opencv/opencv-4.5.3/contrib/modules/wechat_qrcode/src/zxing/common/
H A Dbitmatrix.cpp302 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 Dabs_decoder.cpp39 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 Dupcean_decoder.cpp52 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 DPDFDetector.cpp124 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 DTestLists.cpp474 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 DTestDocumentLayout.cpp803 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 DKoTextLayoutArea.cpp653 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 DKoTextLayoutArea_paint.cpp446 QPointF counterPosition = blockData.counterPosition(); in drawListItem() local
453counterPosition += QPointF(0, firstParagLine.ascent() - layout.lineAt(0).ascent()); in drawListItem()
456counterPosition += 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 DKoTextBlockData.h173 QPointF counterPosition() const;
H A DKoTextBlockData.cpp267 QPointF KoTextBlockData::counterPosition() const in counterPosition() function in KoTextBlockData
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/
H A DKoTextLayoutArea_paint.cpp444 QPointF counterPosition = blockData.counterPosition(); in drawListItem() local
451counterPosition += QPointF(0, firstParagLine.ascent() - layout.lineAt(0).ascent()); in drawListItem()
454counterPosition += 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 DKoTextLayoutArea.cpp746 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 DKoTextBlockData.h175 QPointF counterPosition() const;
H A DKoTextBlockData.cpp277 QPointF KoTextBlockData::counterPosition() const in counterPosition() function in KoTextBlockData
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/tests/
H A DTestBlockLayout.cpp1007 … 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()