Krita Source Code Documentation
Loading...
Searching...
No Matches
GridIterationTools::AlwaysCompletePolygonPolicy< PolygonOp, IndexesOp > Struct Template Reference

#include <kis_grid_interpolation_tools.h>

Static Public Member Functions

static bool tryProcessPolygon (int col, int row, int numExistingPoints, PolygonOp &polygonOp, IndexesOp &indexesOp, const QVector< int > &polygonPoints, const QVector< QPointF > &originalPoints, const QVector< QPointF > &transformedPoints)
 

Detailed Description

template<class PolygonOp, class IndexesOp>
struct GridIterationTools::AlwaysCompletePolygonPolicy< PolygonOp, IndexesOp >

Definition at line 773 of file kis_grid_interpolation_tools.h.

Member Function Documentation

◆ tryProcessPolygon()

template<class PolygonOp , class IndexesOp >
static bool GridIterationTools::AlwaysCompletePolygonPolicy< PolygonOp, IndexesOp >::tryProcessPolygon ( int col,
int row,
int numExistingPoints,
PolygonOp & polygonOp,
IndexesOp & indexesOp,
const QVector< int > & polygonPoints,
const QVector< QPointF > & originalPoints,
const QVector< QPointF > & transformedPoints )
inlinestatic

Definition at line 775 of file kis_grid_interpolation_tools.h.

782 {
783 Q_UNUSED(col);
784 Q_UNUSED(row);
785 Q_UNUSED(polygonOp);
786 Q_UNUSED(indexesOp);
787 Q_UNUSED(polygonPoints);
788 Q_UNUSED(originalPoints);
789 Q_UNUSED(transformedPoints);
790
791 KIS_ASSERT_RECOVER_NOOP(numExistingPoints == 4);
792 return false;
793 }
#define KIS_ASSERT_RECOVER_NOOP(cond)
Definition kis_assert.h:97

References KIS_ASSERT_RECOVER_NOOP.


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