#include <image.h>
Inheritance diagram for PLib::MatrixImage< T >:

Public Member Functions | |
| MatrixImage (Matrix< T > &img) | |
| MatrixImage (MatrixImage< T > &img) | |
| MatrixImage (const int r, const int c) | |
| void | drawLine (int i1, int j1, int i2, int j2, T color) |
| void | drawPoint (int i, int j, double radius, T color) |
| void | store (Matrix< T > &) |
This class allows one to draw a line or a point on a matrix as if it was an image.
|
||||||||||||||||||||||||||||
|
draws a line from point 1 to point 2 Draws a line without aliasing from point \a (i1,j1) to \a (i2,j2) with the value \a color.
|
|
||||||||||||||||||||||||
|
draws a point of radius r Draws a point of radius r at location (i,j) with the value color.
|
|
||||||||||
|
copies an image to a Matrix copies the image to a matrix of the same type.
|
1.3.4