Searched refs:grayMap (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/trace/
H A Dimagemap-gdk.cpp21 GrayMap *grayMap = GrayMapCreate(width, height); local
22 if (!grayMap)
37 grayMap->setPixel(grayMap, x, y, bright);
43 return grayMap;
46 GdkPixbuf *grayMapToGdkPixbuf(GrayMap *grayMap) argument
48 if (!grayMap)
52 malloc(sizeof(guchar) * grayMap->width * grayMap->height * 3);
57 int rowstride = grayMap
[all...]
H A Dimagemap-gdk.h27 GdkPixbuf *grayMapToGdkPixbuf(GrayMap *grayMap);
/inkscape/src/trace/potrace/
H A Dinkscape-potrace.cpp353 std::string PotraceTracingEngine::grayMapToPath(GrayMap *grayMap, long *nodeCount) argument
361 potrace_bitmap_t *potraceBitmap = bm_new(grayMap->width, grayMap->height);
365 for (int y=0 ; y<grayMap->height ; y++)
367 for (int x=0 ; x<grayMap->width ; x++)
370 grayMap->getPixel(grayMap, x, y) ? 0 : 1);
428 GrayMap *grayMap = filter(*this, thePixbuf); local
429 if (!grayMap)
433 std::string d = grayMapToPath(grayMap,
451 traceGrayMap(GrayMap *grayMap) argument
489 GrayMap *grayMap = filter(*this, thePixbuf); local
[all...]
H A Dinkscape-potrace.h240 std::vector<TracingEngineResult>traceGrayMap(GrayMap *grayMap);

Completed in 17 milliseconds