Searched defs:iMap (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/trace/
H A Dimagemap-gdk.cpp175 GdkPixbuf *indexedMapToGdkPixbuf(IndexedMap *iMap) argument
177 if (!iMap)
181 malloc(sizeof(guchar) * iMap->width * iMap->height * 3);
186 int rowstride = iMap->width * 3;
189 0, 8, iMap->width, iMap->height,
195 for (y=0 ; y<iMap->height ; y++)
198 for (x=0 ; x<iMap->width ; x++)
200 RGB rgb = iMap
[all...]
/inkscape/src/trace/potrace/
H A Dinkscape-potrace.cpp536 IndexedMap *iMap = filterIndexed(*this, thePixbuf); local
537 if ( iMap ) {
539 GrayMap *gm = GrayMapCreate(iMap->width, iMap->height);
546 for (int colorIndex=0 ; colorIndex<iMap->nrColors ; colorIndex++) {
548 for (int row=0 ; row<iMap->height ; row++) {
549 for (int col=0 ; col<iMap->width ; col++) {
550 int indx = (int) iMap->getPixel(iMap, col, row);
565 RGB rgb = iMap
[all...]

Completed in 58 milliseconds