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 823 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 825 of file kis_grid_interpolation_tools.h.

832 {
833 Q_UNUSED(col);
834 Q_UNUSED(row);
835 Q_UNUSED(polygonOp);
836 Q_UNUSED(indexesOp);
837 Q_UNUSED(polygonPoints);
838 Q_UNUSED(originalPoints);
839 Q_UNUSED(transformedPoints);
840
841 KIS_ASSERT_RECOVER_NOOP(numExistingPoints == 4);
842 return false;
843 }
#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: