#include <generator.h>
Protected Member Functions | |
void | DrawLine (spectral::Image *image, void *data, float x1, float y1, float x2, float y2, bool(*draw_pixel)(spectral::Image *, void *, int, int, float, float)) |
Base class for generator classes. These generate images with no need for an input image. The primary consumer of these is currently the convolution processor.
void generators::Generator::DrawLine | ( | spectral::Image * | image, | |
void * | data, | |||
float | x1, | |||
float | y1, | |||
float | x2, | |||
float | y2, | |||
bool(*)(spectral::Image *, void *, int, int, float, float) | draw_pixel | |||
) | [protected] |
Draw an anti aliased line