sprint 1-alpha
Namespaces | Functions
sprint/image/drawing.h File Reference

implements some basic primitive to draw on images More...

#include <sprint/image/copy.h>
#include <sprint/image/blend.h>

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Functions

int sprint::pixel (imageview &image, int x0, int y0, unsigned int color)
int sprint::line (imageview &image, int x0, int y0, int x1, int y1, unsigned int color, unsigned int thikness=1)
int sprint::circle (imageview &image, int x0, int y0, int radius, unsigned int color)
int sprint::circumference (imageview &image, int x0, int y0, int radius, unsigned int color, unsigned int thikness=1)
int sprint::box (imageview &image, int x0, int y0, int x1, int y1, unsigned int color)
int sprint::rectangle (imageview &image, int x0, int y0, int x1, int y1, unsigned int color, unsigned int thikness=1)
int sprint::triangle (imageview &image, int x0, int y0, int x1, int y1, int x2, int y2, unsigned int color)
int sprint::polygon (imageview &image, int *x, int *y, unsigned int color)
int sprint::apoint (imageview &image, float x0, float y0, float size, unsigned int color, float thikness=1.0f)
int sprint::aline (imageview &image, float x0, float y0, float x1, float y1, unsigned int color, float thikness=1.0f)

Detailed Description

implements some basic primitive to draw on images

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines