#include <algorithm>
#include <cmath>
#include "mve/defines.h"
#include "mve/image.h"
Go to the source code of this file.
|
namespace | mve |
| Multi-View Environment library.
|
|
namespace | mve::image |
| Image tools, loading and processing functions.
|
|
|
template<typename T > |
void | mve::image::draw_circle (Image< T > &image, int64_t x, int64_t y, int64_t radius, T const *color) |
| Draws a circle with midpoint (x,y) and given 'radius' on the image.
|
|
template<typename T > |
void | mve::image::draw_line (Image< T > &image, int64_t x1, int64_t y1, int64_t x2, int64_t y2, T const *color) |
| Draws a line from (x0,y0) to (x1,y1) with given color on the image.
|
|
template<typename T > |
void | mve::image::draw_rectangle (Image< T > &image, int64_t x1, int64_t y1, int64_t x2, int64_t y2, T const *color) |
| Draws a rectangle from (x1,y1) to (x2,y2) on the image.
|
|