Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Inkscape::Trace::RgbMap Struct Reference

#include <imagemap.h>

Inheritance diagram for Inkscape::Trace::RgbMap:
Inkscape::Trace::MapBase< RGB >

Public Member Functions

 RgbMap (int width, int height)
 
bool writePPM (char const *fileName)
 
- Public Member Functions inherited from Inkscape::Trace::MapBase< RGB >
 MapBase (int width, int height)
 
int offset (int x, int y) const
 
RGBrow (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

- Public Attributes inherited from Inkscape::Trace::MapBase< RGB >
int width
 
int height
 
std::vector< RGBpixels
 

Detailed Description

Definition at line 64 of file imagemap.h.

Constructor & Destructor Documentation

◆ RgbMap()

Inkscape::Trace::RgbMap::RgbMap ( int  width,
int  height 
)

Definition at line 57 of file imagemap.cpp.

Member Function Documentation

◆ writePPM()

bool Inkscape::Trace::RgbMap::writePPM ( char const *  fileName)

The documentation for this struct was generated from the following files: