Krita Source Code Documentation
Loading...
Searching...
No Matches
KisToolShape::ShapeAddInfo Struct Reference

#include <kis_tool_shape.h>

Public Member Functions

void markAsSelectionShapeIfNeeded (KoShape *shape) const
 

Public Attributes

bool shouldAddSelectionShape = false
 
bool shouldAddShape = false
 

Detailed Description

Definition at line 67 of file kis_tool_shape.h.

Member Function Documentation

◆ markAsSelectionShapeIfNeeded()

void KisToolShape::ShapeAddInfo::markAsSelectionShapeIfNeeded ( KoShape * shape) const

Definition at line 185 of file kis_tool_shape.cc.

186{
187 if (this->shouldAddSelectionShape) {
189 }
190}
void setUserData(KoShapeUserData *userData)
Definition KoShape.cpp:705

References KoShape::setUserData(), and shouldAddSelectionShape.

Member Data Documentation

◆ shouldAddSelectionShape

bool KisToolShape::ShapeAddInfo::shouldAddSelectionShape = false

Definition at line 69 of file kis_tool_shape.h.

◆ shouldAddShape

bool KisToolShape::ShapeAddInfo::shouldAddShape = false

Definition at line 68 of file kis_tool_shape.h.


The documentation for this struct was generated from the following files: