Lines Matching refs:grayMap
353 std::string PotraceTracingEngine::grayMapToPath(GrayMap *grayMap, long *nodeCount)
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);
429 if (!grayMap)
433 std::string d = grayMapToPath(grayMap, &nodeCount);
435 grayMap->destroy(grayMap);
451 std::vector<TracingEngineResult> PotraceTracingEngine::traceGrayMap(GrayMap *grayMap)
459 std::string d = grayMapToPath(grayMap, &nodeCount);
489 GrayMap *grayMap = filter(*this, thePixbuf);
490 if ( grayMap ) {
492 std::string d = grayMapToPath(grayMap, &nodeCount);
494 grayMap->destroy(grayMap);