Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_tool_utils.cpp File Reference
#include <kis_tool_utils.h>
#include <KoMixColorsOp.h>
#include <kis_group_layer.h>
#include <kis_transaction.h>
#include <kis_sequential_iterator.h>
#include <kis_properties_configuration.h>
#include <kconfiggroup.h>
#include <ksharedconfig.h>
#include "kis_layer_utils.h"
#include "kis_command_utils.h"
#include "kis_processing_applicator.h"
#include "kis_canvas2.h"
#include <QPainterPath>
#include <kis_shape_layer.h>
#include <KoShapeManager.h>
#include <KoShape.h>
#include <KoPathShape.h>
#include <KoSvgTextShape.h>
#include <KoSvgTextProperties.h>
#include <KisViewManager.h>
#include <kis_node_manager.h>
#include <KoSelection.h>
#include "KisAnimAutoKey.h"
#include <QApplication>

Go to the source code of this file.

Namespaces

namespace  KisToolUtils
 

Functions

bool KisToolUtils::clearImage (KisImageSP image, KisNodeList nodes, KisSelectionSP selection)
 
KisNodeSP KisToolUtils::findNode (KisNodeSP node, const QPoint &point, bool wholeGroup, bool editableOnly)
 
KisNodeList KisToolUtils::findNodes (KisNodeSP node, const QPoint &point, bool wholeGroup, bool includeGroups, bool editableOnly)
 
QList< KisShapeLayerSPKisToolUtils::findShapeLayers (KisNodeSP root, const QPointF &point, bool editableOnly)
 
bool KisToolUtils::sampleColor (KoColor &out_color, KisPaintDeviceSP dev, const QPoint &pos, KoColor const *const blendColor, int radius, int blend, bool pure)
 
bool KisToolUtils::selectShapeCrossLayer (KoCanvasBase *canvas, const QPointF &point, const QString &shapeType=QString(), bool skipCurrentShapes=true)
 selectShapeCrossLayer Tries to select a shape under the cursor regardless of which layer it is on, to do so, it will always select the layer first and then the shape.
 
void KRITAUI_EXPORT KisToolUtils::setCursorPos (const QPoint &point)
 
QPainterPath KisToolUtils::shapeHoverInfoCrossLayer (KoCanvasBase *canvas, const QPointF &point, QString &shapeType, bool *isHorizontal=nullptr, bool skipCurrentShapes=true)
 shapeHoverInfoCrossLayer get hover info of shapes on all layers.