/dports/graphics/krita/krita-4.4.8/libs/ui/tests/ |
H A D | kis_multinode_property_test.cpp | 65 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 D | kis_open_raster_stack_save_visitor.cpp | 83 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 D | kis_multiple_projection.cpp | 34 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 D | kis_multiple_projection.h | 37 …KisPaintDeviceSP getProjection(const QString &id, const QString &compositeOpId, quint8 opacity, co…
|
/dports/graphics/krita/krita-4.4.8/libs/image/tests/ |
H A D | kis_image_test.cpp | 593 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 D | KisMaskingBrushOptionProperties.cpp | 28 : 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 D | KisMaskingBrushOption.cpp | 96 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 D | KisMaskingBrushOptionProperties.h | 35 QString compositeOpId; member
|
/dports/graphics/krita/krita-4.4.8/libs/image/ |
H A D | kis_layer_projection_plane.cpp | 60 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 D | kis_layer.cc | 260 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 D | kis_group_layer.cc | 247 (child->compositeOpId() == COMPOSITE_OVER || in tryObligeChild() 248 child->compositeOpId() == COMPOSITE_ALPHA_DARKEN || in tryObligeChild() 249 child->compositeOpId() == COMPOSITE_COPY) && in tryObligeChild()
|
H A D | kis_layer_utils.cpp | 239 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 D | kis_base_node.h | 203 const QString& compositeOpId() const; 209 void setCompositeOpId(const QString& compositeOpId);
|
H A D | kis_clone_layer.cpp | 108 newLayer->setCompositeOpId(compositeOpId()); in reincarnateAsPaintLayer()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/ |
H A D | kis_resources_snapshot.cpp | 60 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 D | kis_resources_snapshot.h | 80 QString compositeOpId() const;
|
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/strokes/ |
H A D | kis_painter_based_stroke_strategy.cpp | 248 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 D | KisMaskingBrushRenderer.cpp | 35 …ingBrushRenderer::KisMaskingBrushRenderer(KisPaintDeviceSP dstDevice, const QString &compositeOpId) in KisMaskingBrushRenderer() argument 68 compositeOpId, alphaChannelType, pixelSize, alphaChannelOffset)); in KisMaskingBrushRenderer()
|
H A D | KisMaskingBrushRenderer.h | 30 KisMaskingBrushRenderer(KisPaintDeviceSP dstDevice, const QString &compositeOpId);
|
/dports/graphics/krita/krita-4.4.8/libs/libqml/plugins/kritasketchplugin/models/ |
H A D | CompositeOpModel.h | 87 Q_INVOKABLE int indexOf(QString compositeOpId);
|
H A D | CompositeOpModel.cpp | 473 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 D | kis_node_commands_adapter.cpp | 127 KUndo2Command *cmd = new KisNodeCompositeOpCommand(node, node->compositeOpId(), in setCompositeOp()
|
/dports/graphics/krita/krita-4.4.8/plugins/impex/libkra/tests/ |
H A D | kis_kra_saver_test.cpp | 405 QCOMPARE(mask2->compositeOpId(), mask->compositeOpId()); in testRoundTripColorizeMask()
|
/dports/graphics/krita/krita-4.4.8/libs/libkis/ |
H A D | Node.cpp | 171 return d->node->compositeOpId(); in blendingMode() 179 d->node->compositeOpId(), in setBlendingMode()
|
/dports/graphics/krita/krita-4.4.8/plugins/impex/csv/ |
H A D | csv_saver.cpp | 133 layerRecord->blending = convertToBlending(paintLayer->compositeOpId()); in encode()
|