Krita Source Code Documentation
Loading...
Searching...
No Matches
KisLazyFillGraph::VertexDescriptor Struct Reference

#include <kis_lazy_fill_graph.h>

+ Inheritance diagram for KisLazyFillGraph::VertexDescriptor:

Public Types

enum  VertexType { NORMAL = 0 , LABEL_A , LABEL_B }
 

Public Member Functions

bool operator== (const VertexDescriptor &rhs) const
 
 VertexDescriptor ()
 
 VertexDescriptor (VertexType _type)
 
 VertexDescriptor (vertices_size_type _x, vertices_size_type _y, VertexType _type=NORMAL)
 

Public Attributes

VertexType type
 
vertices_size_type x
 
vertices_size_type y
 

Detailed Description

Definition at line 248 of file kis_lazy_fill_graph.h.

Member Enumeration Documentation

◆ VertexType

Constructor & Destructor Documentation

◆ VertexDescriptor() [1/3]

KisLazyFillGraph::VertexDescriptor::VertexDescriptor ( vertices_size_type _x,
vertices_size_type _y,
VertexType _type = NORMAL )
inline

Definition at line 260 of file kis_lazy_fill_graph.h.

◆ VertexDescriptor() [2/3]

KisLazyFillGraph::VertexDescriptor::VertexDescriptor ( VertexType _type)
inline

Definition at line 264 of file kis_lazy_fill_graph.h.

265 : x(0), y(0), type(_type) {}

◆ VertexDescriptor() [3/3]

KisLazyFillGraph::VertexDescriptor::VertexDescriptor ( )
inline

Definition at line 267 of file kis_lazy_fill_graph.h.

268 : x(0), y(0), type(NORMAL) {}

Member Function Documentation

◆ operator==()

bool KisLazyFillGraph::VertexDescriptor::operator== ( const VertexDescriptor & rhs) const
inline

Definition at line 270 of file kis_lazy_fill_graph.h.

270 {
271 return rhs.x == x && rhs.y == y && rhs.type == type;
272 }

References type, x, and y.

Member Data Documentation

◆ type

VertexType KisLazyFillGraph::VertexDescriptor::type

Definition at line 258 of file kis_lazy_fill_graph.h.

◆ x

vertices_size_type KisLazyFillGraph::VertexDescriptor::x

Definition at line 256 of file kis_lazy_fill_graph.h.

◆ y

vertices_size_type KisLazyFillGraph::VertexDescriptor::y

Definition at line 257 of file kis_lazy_fill_graph.h.


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