yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
paint_util.h File Reference
#include <algorithm>
#include <cstdlib>
#include <utility>
Include dependency graph for paint_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::paint_util
 

Functions

template<typename Fn >
void yaze::editor::paint_util::ForEachPointOnLine (int x0, int y0, int x1, int y1, Fn &&fn)
 
template<typename Fn >
void yaze::editor::paint_util::ForEachPointInSquareBrush (int cx, int cy, int radius, int min_x, int min_y, int max_x, int max_y, Fn &&fn)