MP4
Stacks and Queues
|
Defintion of a filler namespace. More...
#include "png.h"
#include "stack.h"
#include "queue.h"
#include "solidColorPicker.h"
#include "gridColorPicker.h"
#include "gradientColorPicker.h"
#include "animation.h"
#include "filler.cpp"
Namespaces | |
filler | |
filler namespace: specifies a set of functions for performing flood fills on images. | |
filler::dfs | |
dfs namespace: specifies a set of filler functions for doing fills on images employing a depth-first-search approach. | |
filler::bfs | |
bfs namespace: specifies a set of filler functions for doing fills on images employing a breadth-first-search approach. | |
Functions | |
animation | filler::dfs::fillSolid (PNG &img, int x, int y, RGBAPixel fillColor, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a solid color, employing a depth-first-search approach. More... | |
animation | filler::dfs::fillGrid (PNG &img, int x, int y, RGBAPixel gridColor, int gridSpacing, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a grid, employing a depth-first-search approach. More... | |
animation | filler::dfs::fillGradient (PNG &img, int x, int y, RGBAPixel fadeColor1, RGBAPixel fadeColor2, int radius, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a gradient, employing a depth-first-search approach. More... | |
animation | filler::dfs::fill (PNG &img, int x, int y, colorPicker &fillColor, int tolerance, int frameFreq) |
Performs a flood fill on the given image using the given color picker, employing a depth-first-search approach. More... | |
animation | filler::bfs::fillSolid (PNG &img, int x, int y, RGBAPixel fillColor, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a solid color, employing a breadth-first-search approach. More... | |
animation | filler::bfs::fillGrid (PNG &img, int x, int y, RGBAPixel gridColor, int gridSpacing, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a grid, employing a breadth-first-search approach. More... | |
animation | filler::bfs::fillGradient (PNG &img, int x, int y, RGBAPixel fadeColor1, RGBAPixel fadeColor2, int radius, int tolerance, int frameFreq) |
Performs a flood fill on the given image using a gradient, employing a breadth-first-search approach. More... | |
animation | filler::bfs::fill (PNG &img, int x, int y, colorPicker &fillColor, int tolerance, int frameFreq) |
Performs a flood fill on the given image using the given color picker, employing a breadth-first-search approach. More... | |
template<template< class T > class OrderingStructure> | |
animation | filler::fill (PNG &img, int x, int y, colorPicker &fillColor, int tolerance, int frameFreq) |
General filling function: a general helper that should be invoked by all of the public fill functions with the appropriate color picker for that type of fill. More... | |
Defintion of a filler namespace.