Home
last modified time | relevance | path

Searched refs:compositeOpId (Results 1 – 25 of 32) sorted by relevance

12

/dports/graphics/krita/krita-4.4.8/libs/ui/tests/
H A Dkis_multinode_property_test.cpp65 QCOMPARE(layer1->compositeOpId(), COMPOSITE_OVER); in test()
66 QCOMPARE(layer2->compositeOpId(), COMPOSITE_OVER); in test()
67 QCOMPARE(layer3->compositeOpId(), COMPOSITE_OVER); in test()
74 QCOMPARE(layer1->compositeOpId(), COMPOSITE_OVER); in test()
75 QCOMPARE(layer2->compositeOpId(), COMPOSITE_OVER); in test()
76 QCOMPARE(layer3->compositeOpId(), COMPOSITE_OVER); in test()
97 QCOMPARE(layer2->compositeOpId(), COMPOSITE_OVER); in test()
98 QCOMPARE(layer3->compositeOpId(), COMPOSITE_OVER); in test()
114 QCOMPARE(layer1->compositeOpId(), COMPOSITE_OVER); in test()
115 QCOMPARE(layer2->compositeOpId(), COMPOSITE_OVER); in test()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/impex/ora/
H A Dkis_open_raster_stack_save_visitor.cpp83 QString compop = layer->compositeOpId(); in saveLayerInfo()
84 if (layer->compositeOpId() == COMPOSITE_CLEAR) compop = "svg:clear"; in saveLayerInfo()
85 else if (layer->compositeOpId() == COMPOSITE_ERASE) compop = "svg:dst-out"; in saveLayerInfo()
88 else if (layer->compositeOpId() == COMPOSITE_ADD) compop = "svg:plus"; in saveLayerInfo()
89 else if (layer->compositeOpId() == COMPOSITE_MULT) compop = "svg:multiply"; in saveLayerInfo()
90 else if (layer->compositeOpId() == COMPOSITE_SCREEN) compop = "svg:screen"; in saveLayerInfo()
92 else if (layer->compositeOpId() == COMPOSITE_DARKEN) compop = "svg:darken"; in saveLayerInfo()
99 else if (layer->compositeOpId() == COMPOSITE_COLOR) compop = "svg:color"; in saveLayerInfo()
101 else if (layer->compositeOpId() == COMPOSITE_HUE) compop = "svg:hue"; in saveLayerInfo()
107 else if (layer->compositeOpId() == COMPOSITE_OVER) compop = "svg:src-over"; in saveLayerInfo()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/layerstyles/
H A Dkis_multiple_projection.cpp34 QString compositeOpId; member
62 proj.compositeOpId = it->compositeOpId; in KisMultipleProjection()
80 const QString &compositeOpId, in getProjection() argument
90 constIt->compositeOpId != compositeOpId || in getProjection()
105 plane.compositeOpId = compositeOpId; in getProjection()
109 } else if (writeIt->compositeOpId != compositeOpId || in getProjection()
113 writeIt->compositeOpId = compositeOpId; in getProjection()
158 gc.setCompositeOp(it->compositeOpId); in apply()
H A Dkis_multiple_projection.h37 …KisPaintDeviceSP getProjection(const QString &id, const QString &compositeOpId, quint8 opacity, co…
/dports/graphics/krita/krita-4.4.8/libs/image/tests/
H A Dkis_image_test.cpp593 QCOMPARE(p.layer2->compositeOpId(), COMPOSITE_ADD); in testFlattenLayer()
607 QCOMPARE(p.group1->compositeOpId(), COMPOSITE_ADD); in testFlattenLayer()
617 QCOMPARE(newLayer->compositeOpId(), COMPOSITE_ADD); in testFlattenLayer()
679 QCOMPARE(p.layer2->compositeOpId(), COMPOSITE_ADD); in testMergeDown()
693 QCOMPARE(p.group1->compositeOpId(), COMPOSITE_ADD); in testMergeDown()
715 QCOMPARE(p.layer2->compositeOpId(), COMPOSITE_ADD); in testMergeDownDestinationInheritsAlpha()
741 QCOMPARE(p.group1->compositeOpId(), COMPOSITE_ADD); in testMergeDownDestinationCustomCompositeOp()
763 QCOMPARE(p.group1->compositeOpId(), COMPOSITE_ADD); in testMergeDownDestinationSameCompositeOpLayerStyle()
766 QCOMPARE(p.layer2->compositeOpId(), COMPOSITE_ADD); in testMergeDownDestinationSameCompositeOpLayerStyle()
788 QCOMPARE(p.layer8->compositeOpId(), COMPOSITE_ADD); in testMergeDownDestinationSameCompositeOp()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/paintops/libpaintop/
H A DKisMaskingBrushOptionProperties.cpp28 : compositeOpId(COMPOSITE_MULT) in KisMaskingBrushOptionProperties()
36 setting->setProperty(KisPaintOpUtils::MaskingBrushCompositeOpTag, compositeOpId); in write()
72 compositeOpId = setting->getString(KisPaintOpUtils::MaskingBrushCompositeOpTag, COMPOSITE_MULT); in read()
H A DKisMaskingBrushOption.cpp96 props.compositeOpId = m_d->compositeSelector->currentData().toString(); in writeOptionSetting()
108 const int selectedIndex = qMax(0, m_d->compositeSelector->findData(props.compositeOpId)); in readOptionSetting()
H A DKisMaskingBrushOptionProperties.h35 QString compositeOpId; member
/dports/graphics/krita/krita-4.4.8/libs/image/
H A Dkis_layer_projection_plane.cpp60 if (m_d->layer->compositeOpId() != COMPOSITE_COPY && in applyImpl()
61 m_d->layer->compositeOpId() != COMPOSITE_DESTINATION_IN && in applyImpl()
62 m_d->layer->compositeOpId() != COMPOSITE_DESTINATION_ATOP) { in applyImpl()
115 painter->setCompositeOp(m_d->layer->compositeOpId()); in applyImpl()
H A Dkis_layer.cc260 const KoCompositeOp* op = parentNode->colorSpace()->compositeOp(compositeOpId()); in compositeOp()
400 this->compositeOpId() == otherLayer->compositeOpId() && in canMergeAndKeepBlendOptions()
415 newLayer->setCompositeOpId(compositeOpId()); in createMergedLayerTemplate()
857 compositeOpId() != COMPOSITE_COPY) { in changeRect()
978 if (compositeOpId() == COMPOSITE_DESTINATION_IN || in layerExtentImpl()
979 compositeOpId() == COMPOSITE_DESTINATION_ATOP) { in layerExtentImpl()
H A Dkis_group_layer.cc247 (child->compositeOpId() == COMPOSITE_OVER || in tryObligeChild()
248 child->compositeOpId() == COMPOSITE_ALPHA_DARKEN || in tryObligeChild()
249 child->compositeOpId() == COMPOSITE_COPY) && in tryObligeChild()
H A Dkis_layer_utils.cpp239 if (node->compositeOpId() != COMPOSITE_OVER) { in populateChildCommands()
240 … addCommand(new KisNodeCompositeOpCommand(node, node->compositeOpId(), COMPOSITE_OVER)); in populateChildCommands()
429 QString compositeOpId; in populateChildCommands() local
436 compositeOpId = node->compositeOpId(); in populateChildCommands()
439 } else if (compositeOpId != node->compositeOpId() || in populateChildCommands()
453 if (!compositeOpId.isEmpty()) { in populateChildCommands()
454 m_info->dstNode->setCompositeOpId(compositeOpId); in populateChildCommands()
584 const bool normalCompositeMode = node->compositeOpId() == COMPOSITE_OVER; in safeRemoveMultipleNodes()
1759 node->compositeOpId() != COMPOSITE_OVER) { in canChangeImageProfileInvisibly()
H A Dkis_base_node.h203 const QString& compositeOpId() const;
209 void setCompositeOpId(const QString& compositeOpId);
H A Dkis_clone_layer.cpp108 newLayer->setCompositeOpId(compositeOpId()); in reincarnateAsPaintLayer()
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/
H A Dkis_resources_snapshot.cpp60 QString compositeOpId {COMPOSITE_OVER}; member
119 …m_d->compositeOpId = resourceManager->resource(KisCanvasResourceProvider::CurrentEffectiveComposit… in KisResourcesSnapshot()
241 m_d->compositeOp = device->colorSpace()->compositeOp(m_d->compositeOpId); in setCurrentNode()
351 QString KisResourcesSnapshot::compositeOpId() const in compositeOpId() function in KisResourcesSnapshot
353 return m_d->compositeOpId; in compositeOpId()
H A Dkis_resources_snapshot.h80 QString compositeOpId() const;
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/strokes/
H A Dkis_painter_based_stroke_strategy.cpp248 indirect->setTemporaryCompositeOp(m_resources->compositeOpId()); in initStrokeCallback()
274 const QString compositeOpId = in initStrokeCallback() local
277 m_maskingBrushRenderer.reset(new KisMaskingBrushRenderer(targetDevice, compositeOpId)); in initStrokeCallback()
391 indirect->setTemporaryCompositeOp(m_resources->compositeOpId()); in resumeStrokeCallback()
H A DKisMaskingBrushRenderer.cpp35 …ingBrushRenderer::KisMaskingBrushRenderer(KisPaintDeviceSP dstDevice, const QString &compositeOpId) in KisMaskingBrushRenderer() argument
68 compositeOpId, alphaChannelType, pixelSize, alphaChannelOffset)); in KisMaskingBrushRenderer()
H A DKisMaskingBrushRenderer.h30 KisMaskingBrushRenderer(KisPaintDeviceSP dstDevice, const QString &compositeOpId);
/dports/graphics/krita/krita-4.4.8/libs/libqml/plugins/kritasketchplugin/models/
H A DCompositeOpModel.h87 Q_INVOKABLE int indexOf(QString compositeOpId);
H A DCompositeOpModel.cpp473 int CompositeOpModel::indexOf(QString compositeOpId) in indexOf() argument
475 return d->model->indexOf(KoID(compositeOpId)).row(); in indexOf()
/dports/graphics/krita/krita-4.4.8/libs/ui/
H A Dkis_node_commands_adapter.cpp127 KUndo2Command *cmd = new KisNodeCompositeOpCommand(node, node->compositeOpId(), in setCompositeOp()
/dports/graphics/krita/krita-4.4.8/plugins/impex/libkra/tests/
H A Dkis_kra_saver_test.cpp405 QCOMPARE(mask2->compositeOpId(), mask->compositeOpId()); in testRoundTripColorizeMask()
/dports/graphics/krita/krita-4.4.8/libs/libkis/
H A DNode.cpp171 return d->node->compositeOpId(); in blendingMode()
179 d->node->compositeOpId(), in setBlendingMode()
/dports/graphics/krita/krita-4.4.8/plugins/impex/csv/
H A Dcsv_saver.cpp133 layerRecord->blending = convertToBlending(paintLayer->compositeOpId()); in encode()

12