pcb 4.1.1
An interactive printed circuit board layout editor.

potrace_bitmap_s Struct Reference

Internal bitmap format. More...

#include <potracelib.h>

Data Fields

int w
int h
int dy
potrace_wordmap

Detailed Description

Internal bitmap format.

The n-th scanline starts at scanline(n) = (map + n*dy). Raster data is stored as a sequence of potrace_words (NOT bytes). The leftmost bit of scanline n is the most significant bit of scanline(n)[0].

Definition at line 78 of file potracelib.h.


Field Documentation

Words per scanline (not bytes).

Definition at line 82 of file potracelib.h.

Referenced by bm_clear(), bm_dup(), bm_invert(), and bm_new().

Height, in pixels.

Definition at line 81 of file potracelib.h.

Referenced by bm_clear(), bm_clearexcess(), bm_dup(), bm_invert(), bm_new(), and bm_to_pathlist().

Raw data, dy*h words.

Definition at line 83 of file potracelib.h.

Referenced by bm_clear(), bm_dup(), bm_free(), bm_invert(), and bm_new().

Width, in pixels.

Definition at line 80 of file potracelib.h.

Referenced by bm_clearexcess(), bm_dup(), bm_new(), and findnext().


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