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 804 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 806 of file kis_grid_interpolation_tools.h.

813 {
814 Q_UNUSED(col);
815 Q_UNUSED(row);
816 Q_UNUSED(polygonOp);
817 Q_UNUSED(indexesOp);
818 Q_UNUSED(polygonPoints);
819 Q_UNUSED(originalPoints);
820 Q_UNUSED(transformedPoints);
821
822 KIS_ASSERT_RECOVER_NOOP(numExistingPoints == 4);
823 return false;
824 }
#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: