CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
monochrome_converter Struct Reference

Halftone processing buffer. More...

Data Fields

unsigned lines_used
 
unsigned char * sliding_line [3]
 
unsigned line
 

Detailed Description

Depending on the selected halftone method up to three line buffers are allocated. Refer ht_get() for the allocation.

After processing a single dot in the top sliding_line buffer has a '0' for a black dot, and a '255' (WHITE_DOT) for no dot (e.g. keep medium's colour).

Field Documentation

◆ lines_used

unsigned lines_used

Used lines in sliding_line (one to three)

◆ sliding_line

unsigned char* sliding_line[3]

One to three lines of data depending on the halftone method

◆ line

unsigned line

Line number inside the raster (required as a state for HT_METHOD_ORDERED)


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