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 516 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 518 of file kis_grid_interpolation_tools.h.

525 {
526 Q_UNUSED(col);
527 Q_UNUSED(row);
528 Q_UNUSED(polygonOp);
529 Q_UNUSED(indexesOp);
530 Q_UNUSED(polygonPoints);
531 Q_UNUSED(originalPoints);
532 Q_UNUSED(transformedPoints);
533
534 KIS_ASSERT_RECOVER_NOOP(numExistingPoints == 4);
535 return false;
536 }
#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: