Home
last modified time | relevance | path

Searched refs:strokeIndex (Results 1 – 23 of 23) sorted by relevance

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tvectorimage/
H A Dtvectorimage.cpp671 strokeIndex--; in getRegion()
754 strokeIndex--; in fill()
764 strokeIndex--; in fill()
1806 strokeIndex--; in splitStroke()
1834 strokeIndex++; in splitStroke()
1889 strokeIndex--; in splitStroke()
2831 for (i = strokeIndex; i < strokeIndex + count; i++) in canMoveStrokes()
2840 for (i = strokeIndex; i < strokeIndex + count; i++) in canMoveStrokes()
3000 strokeIndex--; in pickGroup()
3078 getCommonGroupDepth(strokeIndex, strokeIndex - 1) > 0) in pickGroup()
[all …]
H A DtvectorimageP.h154 void addStrokeRegionRef(UINT strokeIndex, TRegion *region);
157 void reindexEdges(UINT strokeIndex);
170 void insertStrokeAt(VIStroke *stroke, int strokeIndex,
176 TRegion *getRegionFromLoopStroke(int strokeIndex) const;
185 void splitStroke(int strokeIndex,
189 TStroke *removeEndpoints(int strokeIndex);
198 bool inCurrentGroup(int strokeIndex) const;
199 bool canMoveStrokes(int strokeIndex, int count, int moveBefore) const;
253 const TEdge &currEdge, int strokeIndex,
H A Dtcomputeregions.cpp3124 void TVectorImage::Imp::reindexEdges(UINT strokeIndex) {
3130 assert(p2->m_edge.m_index != (int)strokeIndex || p2->m_edge.m_index < 0);
3131 if (p2->m_edge.m_index > (int)strokeIndex) p2->m_edge.m_index--;
3180 void TVectorImage::Imp::insertStrokeAt(VIStroke *vs, int strokeIndex,
3189 assert(strokeIndex >= 0 && strokeIndex <= (int)m_strokes.size());
3192 advance(it, strokeIndex);
3204 if (p2->m_edge.m_index >= (int)strokeIndex) p2->m_edge.m_index++;
3209 transferColors(oldEdgeList, m_strokes[strokeIndex]->m_edgeList, true, false,
3374 TStroke *TVectorImage::Imp::removeEndpoints(int strokeIndex) {
3379 VIStroke *vs = m_strokes[strokeIndex];
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/
H A Dtvectorimage.h171 return areDifferentGroup(strokeIndex, false, regionIndex, true) == -1; in sameGroupStrokeAndRegion()
175 bool inCurrentGroup(int strokeIndex) const;
176 bool canEnterGroup(int strokeIndex) const;
177 bool selectable(int strokeIndex) const;
184 bool canMoveStrokes(int strokeIndex, int count, int moveBefore) const;
204 double &outw, UINT &strokeIndex, double &dist2,
229 int addStrokeToGroup(TStroke *stroke, int strokeIndex);
234 void insertStrokeAt(VIStroke *vs, int strokeIndex,
291 void notifyChangedStrokes(int strokeIndex, TStroke *oldStroke = 0,
354 void splitStroke(int strokeIndex,
[all …]
/dports/editors/yudit/yudit-3.0.7/stoolkit/
H A DSHWConverter.cpp97 const unsigned int * strokeIndex, bool must);
684 unsigned int strokeIndex[2]; in getFilterValue() local
688 strokeIndex[0] = strokeIndex[1] = 0; in getFilterValue()
719 strokeIndex[idx] = strokeIndex[idx] * 10 + (filter[i] - '0'); in getFilterValue()
730 if (idx != 1 || strokeIndex[0] > strokes.size() || strokeIndex[0] == 0 in getFilterValue()
731 || strokeIndex[1] > strokes.size() || strokeIndex[1] == 0) in getFilterValue()
742 length = applyFilter(strokes, oparand, strokeIndex, must); in getFilterValue()
749 strokeIndex[0] = strokeIndex[1] = 0; in getFilterValue()
759 length = applyFilter(strokes, oparand, strokeIndex, must); in getFilterValue()
780 const unsigned int * strokeIndex, bool must) in applyFilter() argument
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnztools/
H A Dcuttertool.cpp316 UINT strokeIndex; in leftButtonDown() local
320 if (getNearestStrokeWithLock(pos, pW, strokeIndex, dist, in leftButtonDown()
325 strokeRef = vi->getStroke(strokeIndex); in leftButtonDown()
374 bool isSelfLoop = vi->getStroke(strokeIndex)->isSelfLoop(); in leftButtonDown()
375 vi->splitStroke(strokeIndex, *sortedWRanges); in leftButtonDown()
384 nundo = new UndoCutter(sl, id, oldStroke, strokeIndex, in leftButtonDown()
388 assert(strokeIndex + 1 < vi->getStrokeCount()); in leftButtonDown()
389 nundo = new UndoCutter(sl, id, oldStroke, strokeIndex, in leftButtonDown()
390 vi->getStroke(strokeIndex)->getId(), in leftButtonDown()
470 strokeIndex = m_lockedStrokeIndex; in getNearestStrokeWithLock()
[all …]
H A Dcontrolpointselection.h69 void setStroke(const TVectorImageP &vi, int strokeIndex);
74 void setStrokeIndex(int strokeIndex) { m_strokeIndex = strokeIndex; } in setStrokeIndex() argument
H A Dcontrolpointeditortool.h97 void setStroke(TStroke *stroke, int strokeIndex);
99 void setStrokeIndex(int strokeIndex) { m_strokeIndex = strokeIndex; } in setStrokeIndex() argument
H A Dvectorerasertool.cpp1310 int strokeIndex = touchedStrokeIndex[i]; in eraseSegments() local
1343 if (j == strokeIndex) { in eraseSegments()
1474 int strokeIndex, regionIndex, colorStyle; in eraseRegion() local
1483 for (strokeIndex = 0; strokeIndex < (int)vi->getStrokeCount(); in eraseRegion()
1484 strokeIndex++) { in eraseRegion()
1494 eraseStrokes.push_back(strokeIndex); in eraseRegion()
1495 m_undo->addOldStroke(strokeIndex, vi->getVIStroke(strokeIndex)); in eraseRegion()
1500 for (strokeIndex = 0; strokeIndex < (int)vi->getStrokeCount(); in eraseRegion()
1501 strokeIndex++) { in eraseRegion()
1516 m_undo->addOldStroke(strokeIndex, vi->getVIStroke(strokeIndex)); in eraseRegion()
[all …]
H A Dimagegrouping.cpp313 int strokeIndex = vimg->getStrokeIndex(strokeIndexes[0].first); in getGroupingOptions() local
315 if (strokeIndexes.size() > 1 || strokeIndex > 0) { in getGroupingOptions()
320 strokeIndex + strokeIndexes[0].second - 1 < in getGroupingOptions()
392 int strokeIndex = -1; in getGroupingOptions() local
403 strokeIndex = i; in getGroupingOptions()
412 groups.push_back(pair<int, int>(strokeIndex, count)); in getGroupingOptions()
421 if (strokeIndex + count < (int)vimg->getStrokeCount()) { in getGroupingOptions()
425 if (strokeIndex > 0) { in getGroupingOptions()
H A Dvectortapetool.cpp108 int strokeIndex = image->getStrokeIndexById(m_newStrokeId); in undo() local
109 if (strokeIndex != -1) image->removeStroke(strokeIndex); in undo()
143 int strokeIndex = image->getStrokeIndexById(m_oldStrokeId1); in redo() local
144 if (strokeIndex != -1) image->removeStroke(strokeIndex); in redo()
148 int strokeIndex = image->getStrokeIndexById(m_oldStrokeId2); in redo() local
149 if (strokeIndex != -1) image->removeStroke(strokeIndex); in redo()
H A Dvectorselectiontool.cpp1143 if (!vi.isStrokeGrouped(strokeIndex)) return false; in getGroupBBox()
1145 gBox = vi.getStroke(strokeIndex)->getBBox(); in getGroupBBox()
1164 UndoEnterGroup(TVectorImageP vi, int strokeIndex) in UndoEnterGroup() argument
1165 : m_vi(vi), m_strokeIndex(strokeIndex) {} in UndoEnterGroup()
1186 UndoExitGroup(TVectorImageP vi, int strokeIndex) in UndoExitGroup() argument
1187 : m_vi(vi), m_strokeIndex(strokeIndex) {} in UndoExitGroup()
1543 int strokeIndex; in leftButtonDoubleClick() local
1544 if ((strokeIndex = vi->pickGroup(pos)) >= 0) { in leftButtonDoubleClick()
1545 if (vi->canEnterGroup(strokeIndex) && m_canEnterGroup) { in leftButtonDoubleClick()
1546 if (vi->enterGroup(strokeIndex)) { in leftButtonDoubleClick()
[all …]
H A Dpumptool.cpp136 UINT &strokeIndex, double &dist2,
773 UINT &strokeIndex, double &dist2, in getNearestStrokeWithLock() argument
784 strokeIndex = m_lockedStrokeIndex; in getNearestStrokeWithLock()
791 strokeIndex = index; in getNearestStrokeWithLock()
H A Dtoolutils.cpp737 int strokeIndex) in UndoModifyStroke() argument
738 : TToolUndo(level, frameId), m_strokeIndex(strokeIndex) { in UndoModifyStroke()
850 TXshSimpleLevel *level, const TFrameId &frameId, int strokeIndex) in UndoModifyStrokeAndPaint() argument
851 : UndoModifyStroke(level, frameId, strokeIndex), m_fillInformation(0) { in UndoModifyStrokeAndPaint()
854 TStroke *stroke = image->getStroke(strokeIndex); in UndoModifyStrokeAndPaint()
928 int strokeIndex = image->getStrokeIndex(strokeVect[i]); in UndoModifyListStroke() local
929 m_strokeList.push_back(new UndoModifyStroke(level, frameId, strokeIndex)); in UndoModifyListStroke()
H A Dcontrolpointselection.cpp456 int strokeIndex) { in setStroke() argument
457 m_strokeIndex = strokeIndex; in setStroke()
459 if (!vi || strokeIndex == -1) { in setStroke()
H A Dcontrolpointeditortool.cpp389 UINT strokeIndex = -1; in getNearestStrokeColumnIndexes() local
391 if (vi->getNearestStroke(p, t, strokeIndex, dist2) && in getNearestStrokeColumnIndexes()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tvrender/
H A Dtglregions.cpp649 UINT strokeIndex = 0; in doDraw() local
652 while (strokeIndex < in doDraw()
655 int currStrokeIndex = strokeIndex; in doDraw()
659 while (strokeIndex < vim->getStrokeCount() && in doDraw()
660 vim->sameGroup(strokeIndex, currStrokeIndex)) in doDraw()
661 strokeIndex++; in doDraw()
670 while (strokeIndex < vim->getStrokeCount() && in doDraw()
671 vim->sameGroup(strokeIndex, currStrokeIndex)) { in doDraw()
672 if (rd.m_indexToHighlight != strokeIndex) { in doDraw()
678 CurrStrokeIndex = strokeIndex; in doDraw()
[all …]
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/plot/
H A DDefaultDrawingSupplier.java129 private int strokeIndex; field in DefaultDrawingSupplier
255 this.strokeIndex % this.strokeSequence.length]; in getNextStroke()
256 this.strokeIndex++; in getNextStroke()
376 if (this.strokeIndex != that.strokeIndex) { in equals()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dtrasterimageutils.cpp251 std::vector<int> strokeIndex(strokeCount); in vectorToFullColorImage() local
255 strokeIndex[i] = i; in vectorToFullColorImage()
258 vi->notifyChangedStrokes(strokeIndex, strokes); in vectorToFullColorImage()
H A Dtoonzimageutils.cpp395 std::vector<int> strokeIndex(strokeCount); in vectorToToonzImage() local
401 strokeIndex[i] = i; in vectorToToonzImage()
404 vi->notifyChangedStrokes(strokeIndex, strokes); in vectorToToonzImage()
H A Dstagevisitor.cpp249 UINT strokeIndex = 0; in onImage() local
256 else if (vi->getNearestStroke(point, w, strokeIndex, dist2)) { in onImage()
258 TStroke *stroke = vi->getStroke(strokeIndex); in onImage()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/tools/
H A Dtoolutils.h243 int strokeIndex);
261 int strokeIndex);
/dports/x11-toolkits/qt5-virtualkeyboard/kde-qtvirtualkeyboard-5.15.2p4/src/plugins/myscript/plugin/
H A Dmyscriptinputmethod.cpp716 "strokeIndex \"" << p->strokeIndex << "\" has been added"; in onNotify()
864 "strokeIndex \"" << p->strokeIndex << "\" has been added"; in onNotify()