Inkscape
Vector Graphics Editor
|
#include <imagemap.h>
Public Member Functions | |
RgbMap (int width, int height) | |
bool | writePPM (char const *fileName) |
![]() | |
MapBase (int width, int height) | |
int | offset (int x, int y) const |
RGB * | row (int y) |
RGB const * | row (int y) const |
void | setPixel (int x, int y, RGB val) |
RGB | getPixel (int x, int y) const |
Additional Inherited Members | |
![]() | |
int | width |
int | height |
std::vector< RGB > | pixels |
Definition at line 64 of file imagemap.h.
Inkscape::Trace::RgbMap::RgbMap | ( | int | width, |
int | height | ||
) |
Definition at line 57 of file imagemap.cpp.
bool Inkscape::Trace::RgbMap::writePPM | ( | char const * | fileName | ) |
Definition at line 62 of file imagemap.cpp.
References Inkscape::Trace::MapBase< RGB >::getPixel(), Inkscape::Trace::MapBase< RGB >::height, rgb, and Inkscape::Trace::MapBase< RGB >::width.