Home
last modified time | relevance | path

Searched refs:shapeSelection (Results 1 – 18 of 18) sorted by relevance

/dports/graphics/krita/krita-4.4.8/libs/image/
H A Dkis_selection.cc47 shapeSelection(0), in Private()
110 shapeSelection = 0; in safeDeleteShapeSelection()
114 if (shapeSelection) { in safeDeleteShapeSelection()
116 shapeSelection = 0; in safeDeleteShapeSelection()
244 if (rhs.m_d->shapeSelection && !rhs.m_d->shapeSelection->isEmpty()) { in copyFrom()
245 m_d->shapeSelection = rhs.m_d->shapeSelection->clone(this); in copyFrom()
248 m_d->shapeSelection != rhs.m_d->shapeSelection) { in copyFrom()
297 if (m_d->shapeSelection) { in outlineCache()
347 return m_d->shapeSelection && !m_d->shapeSelection->isEmpty(); in hasNonEmptyShapeSelection()
387 if(m_d->shapeSelection) { in updateProjection()
[all …]
H A Dkis_selection.h139 KisSelectionComponent* shapeSelection() const;
151 KUndo2Command* convertToVectorSelection(KisSelectionComponent* shapeSelection);
156 void convertToVectorSelectionNoUndo(KisSelectionComponent* shapeSelection);
/dports/graphics/krita/krita-4.4.8/libs/ui/tests/
H A Dkis_shape_selection_test.cpp72 …KisShapeSelection * shapeSelection = new KisShapeSelection(doc->shapeController(), image, selectio… in testAddChild() local
73 selection->convertToVectorSelectionNoUndo(shapeSelection); in testAddChild()
74 shapeSelection->addShape(shape); in testAddChild()
241 …KisShapeSelection * shapeSelection = new KisShapeSelection(doc->shapeController(), image, selectio… in testHistoryOnFlattening() local
243 QScopedPointer<KUndo2Command> cmd2(selection->convertToVectorSelection(shapeSelection)); in testHistoryOnFlattening()
254 shapeSelection->addShape(shape1); in testHistoryOnFlattening()
297 shapeSelection->removeShape(shape1); in testHistoryOnFlattening()
303 QVERIFY(selection->shapeSelection()); in testHistoryOnFlattening()
313 QVERIFY(!selection->shapeSelection()); in testHistoryOnFlattening()
323 QVERIFY(!selection->shapeSelection()); in testHistoryOnFlattening()
[all …]
H A Dutil.h78 …KisShapeSelection* shapeSelection = new KisShapeSelection(shapeController, image, vectorSelection); in createVectorSelection() local
79 shapeSelection->addShape(path); in createVectorSelection()
80 vectorSelection->convertToVectorSelectionNoUndo(shapeSelection); in createVectorSelection()
/dports/graphics/krita/krita-4.4.8/libs/ui/flake/
H A Dkis_take_all_shapes_command.cpp26 KisTakeAllShapesCommand::KisTakeAllShapesCommand(KisShapeSelection *shapeSelection, bool takeSilent… in KisTakeAllShapesCommand() argument
28 m_shapeSelection(shapeSelection), in KisTakeAllShapesCommand()
H A Dkis_shape_controller.cpp192 KisSelectionComponent* shapeSelectionComponent = selection->shapeSelection(); in createParentForShapes()
199 … KisShapeSelection * shapeSelection = static_cast<KisShapeSelection*>(shapeSelectionComponent); in createParentForShapes() local
200 resultParent = shapeSelection; in createParentForShapes()
H A Dkis_shape_selection_model.cpp32 …hapeSelectionModel(KisImageWSP image, KisSelectionWSP selection, KisShapeSelection* shapeSelection) in KisShapeSelectionModel() argument
35 , m_shapeSelection(shapeSelection) in KisShapeSelectionModel()
H A Dkis_take_all_shapes_command.h36 KisTakeAllShapesCommand(KisShapeSelection *shapeSelection,
H A Dkis_shape_selection_model.h37 …apeSelectionModel(KisImageWSP image, KisSelectionWSP selection, KisShapeSelection* shapeSelection);
/dports/graphics/krita/krita-4.4.8/plugins/impex/libkra/tests/
H A Dutil.h77 KisShapeSelection* shapeSelection = new KisShapeSelection(shapeController, image, selection); in createVectorSelection() local
78 shapeSelection->addShape(path); in createVectorSelection()
79 selection->convertToVectorSelectionNoUndo(shapeSelection); in createVectorSelection()
H A Dkis_kra_saver_test.cpp499 …KisShapeSelection *shapeSelection = new KisShapeSelection(doc->shapeController(), p.image, selecti… in testRoundTripShapeSelection() local
500 selection->convertToVectorSelectionNoUndo(shapeSelection); in testRoundTripShapeSelection()
513 shapeSelection->addShape(path); in testRoundTripShapeSelection()
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/
H A Dkis_selection_tool_helper.cpp236 … KisShapeSelection * shapeSelection = static_cast<KisShapeSelection*>(selection->shapeSelection()); in addSelectionShapes() local
238 if (shapeSelection) { in addSelectionShapes()
239 QList<KoShape*> existingShapes = shapeSelection->shapes(); in addSelectionShapes()
/dports/graphics/krita/krita-4.4.8/plugins/impex/libkra/
H A Dkis_kra_save_visitor.cpp471 … KisShapeSelection* shapeSelection = dynamic_cast<KisShapeSelection*>(selection->shapeSelection()); in saveSelection() local
472 if (!shapeSelection) { in saveSelection()
476 if (retval && !shapeSelection->saveSelection(m_store)) { in saveSelection()
H A Dkis_kra_load_visitor.cpp734 …KisShapeSelection* shapeSelection = new KisShapeSelection(m_shapeController, m_image, dstSelection… in loadSelection() local
735 dstSelection->convertToVectorSelectionNoUndo(shapeSelection); in loadSelection()
736 result = shapeSelection->loadSelection(m_store); in loadSelection()
/dports/graphics/krita/krita-4.4.8/libs/ui/
H A Dkis_selection_manager.cc451 … KisShapeSelection *shapeSelection = dynamic_cast<KisShapeSelection*>(selection->shapeSelection()); in editSelection() local
452 KIS_SAFE_ASSERT_RECOVER_RETURN(shapeSelection); in editSelection()
456 QList<KoShape*> shapes = shapeSelection->shapes(); in editSelection()
/dports/graphics/krita/krita-4.4.8/libs/ui/canvas/
H A Dkis_canvas2.cpp187 … KisShapeSelection *shapeSelection = dynamic_cast<KisShapeSelection*>(selection->shapeSelection()); in fetchShapeManagerFromNode() local
188 KIS_ASSERT_RECOVER_RETURN_VALUE(shapeSelection, 0); in fetchShapeManagerFromNode()
190 shapeManager = shapeSelection->shapeManager(); in fetchShapeManagerFromNode()
/dports/graphics/krita/krita-4.4.8/libs/image/processing/
H A Dkis_transform_processing_visitor.cpp231 selection->shapeSelection()->transform(tw.transform() * m_shapesCorrection); in transformSelection()
/dports/graphics/krita/krita-4.4.8/libs/image/tests/
H A Dkis_selection_test.cpp129 QCOMPARE(selection->shapeSelection(), (void*)0); in testSelectionComponents()