Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgMeshPosition Struct Reference

#include <SvgMeshArray.h>

Public Member Functions

bool isValid () const
 
 SvgMeshPosition ()
 
 SvgMeshPosition (int row, int col, SvgMeshPatch::Type type)
 

Public Attributes

int col
 
int row
 
SvgMeshPatch::Type segmentType
 

Detailed Description

Definition at line 13 of file SvgMeshArray.h.

Constructor & Destructor Documentation

◆ SvgMeshPosition() [1/2]

SvgMeshPosition::SvgMeshPosition ( )
inline

Definition at line 18 of file SvgMeshArray.h.

19 : row(-1)
20 , col(-1)
22 {
23 }
SvgMeshPatch::Type segmentType

◆ SvgMeshPosition() [2/2]

SvgMeshPosition::SvgMeshPosition ( int row,
int col,
SvgMeshPatch::Type type )
inline

Definition at line 25 of file SvgMeshArray.h.

26 : row(row)
27 , col(col)
28 , segmentType(type)
29 {
30 }

Member Function Documentation

◆ isValid()

bool SvgMeshPosition::isValid ( ) const
inline

Definition at line 32 of file SvgMeshArray.h.

32 {
33 return row >= 0 && col >= 0;
34 }

References col, and row.

Member Data Documentation

◆ col

int SvgMeshPosition::col

Definition at line 15 of file SvgMeshArray.h.

◆ row

int SvgMeshPosition::row

Definition at line 14 of file SvgMeshArray.h.

◆ segmentType

SvgMeshPatch::Type SvgMeshPosition::segmentType

Definition at line 16 of file SvgMeshArray.h.


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