Alchemy
Loading...
Searching...
No Matches

curve.h File Reference

The step counts and value shift of a curve table. More...

Go to the source code of this file.

Enumerations

enum  { CURVE_VALUE_SHIFT = 19 , CURVE_HALF_STEPS = 8 , CURVE_FULL_STEPS = 16 }

Detailed Description

The step counts and value shift of a curve table.

Definition in file curve.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CURVE_VALUE_SHIFT 

Turns a height sample, in 8-pixel units, into 16.16 fixed-point pixels.

CURVE_HALF_STEPS 

pixels to the middle of a 16-pixel cell

CURVE_FULL_STEPS 

pixels across a cell

Definition at line 9 of file curve.h.