Engauge Digitizer 2
|
Class that does raster-line fill of a triangle, with logging customizations for GridHealer (and therefore not a generic class in util subdirectory). More...
#include <GridTriangleFill.h>
Public Member Functions | |
GridTriangleFill () | |
void | fill (GridLog &gridLog, QImage &image, const QPoint &p0, const QPoint &p1, const QPoint &p2) |
Fill triangle between these three points. |
Class that does raster-line fill of a triangle, with logging customizations for GridHealer (and therefore not a generic class in util subdirectory).
Inspired by http://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html
Definition at line 18 of file GridTriangleFill.h.
GridTriangleFill::GridTriangleFill | ( | ) |
Definition at line 29 of file GridTriangleFill.cpp.
void GridTriangleFill::fill | ( | GridLog & | gridLog, |
QImage & | image, | ||
const QPoint & | p0, | ||
const QPoint & | p1, | ||
const QPoint & | p2 ) |
Fill triangle between these three points.
Definition at line 57 of file GridTriangleFill.cpp.