libsxbp  v0.27
Experimental generation of 2D spiralling lines based on input binary data.
Data Fields
sxbp_line_t Struct Reference

Represents one line segment in the spiral structure. More...

#include <saxbospiral.h>

Data Fields

sxbp_direction_t direction: 2
 uses 2 bits as there's only 4 directions
 
sxbp_length_t length: 30
 uses 30 bits for the length, this is wide enough
 

Detailed Description

Represents one line segment in the spiral structure.

This includes the direction of the line and it's length (initially set to 0).

Note
The whole struct uses bitfields to occupy 32 bits of memory.

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