Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeReorderCommand::IndexedShape Struct Reference

#include <KoShapeReorderCommand.h>

+ Inheritance diagram for KoShapeReorderCommand::IndexedShape:

Public Member Functions

 IndexedShape ()
 
 IndexedShape (KoShape *_shape)
 
bool operator< (const IndexedShape &rhs) const
 

Public Attributes

KoShapeshape = 0
 
int zIndex = 0
 

Detailed Description

Definition at line 24 of file KoShapeReorderCommand.h.

Constructor & Destructor Documentation

◆ IndexedShape() [1/2]

KoShapeReorderCommand::IndexedShape::IndexedShape ( )

Definition at line 17 of file KoShapeReorderCommand.cpp.

18{
19}

◆ IndexedShape() [2/2]

KoShapeReorderCommand::IndexedShape::IndexedShape ( KoShape * _shape)

Definition at line 21 of file KoShapeReorderCommand.cpp.

Member Function Documentation

◆ operator<()

bool KoShapeReorderCommand::IndexedShape::operator< ( const IndexedShape & rhs) const

Definition at line 26 of file KoShapeReorderCommand.cpp.

27{
28 return zIndex < rhs.zIndex;
29}

References zIndex.

Member Data Documentation

◆ shape

KoShape* KoShapeReorderCommand::IndexedShape::shape = 0

Definition at line 31 of file KoShapeReorderCommand.h.

◆ zIndex

int KoShapeReorderCommand::IndexedShape::zIndex = 0

Definition at line 30 of file KoShapeReorderCommand.h.


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