yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::paint_util Namespace Reference

Functions

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

Function Documentation

◆ ForEachPointOnLine()

template<typename Fn >
void yaze::editor::paint_util::ForEachPointOnLine ( int x0,
int y0,
int x1,
int y1,
Fn && fn )
inline

◆ ForEachPointInSquareBrush()

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 )
inline