Blender V5.0
DNA_colorband_types.h File Reference
#include "DNA_defs.h"

Go to the source code of this file.

Classes

struct  CBData
struct  ColorBand

Enumerations

#ColorBand Types
enum  { COLBAND_BLEND_RGB , COLBAND_BLEND_HSV = 1 , COLBAND_BLEND_HSL = 2 }
enum  {
  COLBAND_INTERP_LINEAR , COLBAND_INTERP_EASE = 1 , COLBAND_INTERP_B_SPLINE = 2 , COLBAND_INTERP_CARDINAL = 3 ,
  COLBAND_INTERP_CONSTANT = 4
}
enum  { COLBAND_HUE_NEAR , COLBAND_HUE_FAR = 1 , COLBAND_HUE_CW = 2 , COLBAND_HUE_CCW = 3 }

#ColorBand

#define DNA_USHORT_FIX
typedef unsigned short dna_ushort_fix
typedef struct CBData CBData
typedef struct ColorBand ColorBand

Macro Definition Documentation

◆ DNA_USHORT_FIX

#define DNA_USHORT_FIX

Definition at line 48 of file DNA_colorband_types.h.

Typedef Documentation

◆ CBData

typedef struct CBData CBData

◆ ColorBand

typedef struct ColorBand ColorBand

32 = MAXCOLORBAND

Note
that this has to remain a single struct, for UserDef.

◆ dna_ushort_fix

Deprecated

This typedef serves to avoid badly typed functions when

compiling while delivering a proper dna.c. Do not use

it in any case.

Definition at line 54 of file DNA_colorband_types.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

ColorBand::color_mode.

Enumerator
COLBAND_BLEND_RGB 
COLBAND_BLEND_HSV 
COLBAND_BLEND_HSL 

Definition at line 18 of file DNA_colorband_types.h.

◆ anonymous enum

anonymous enum

ColorBand::ipotype (interpolation).

Enumerator
COLBAND_INTERP_LINEAR 
COLBAND_INTERP_EASE 
COLBAND_INTERP_B_SPLINE 
COLBAND_INTERP_CARDINAL 
COLBAND_INTERP_CONSTANT 

Definition at line 25 of file DNA_colorband_types.h.

◆ anonymous enum

anonymous enum

ColorBand::ipotype_hue (hue interpolation).

Enumerator
COLBAND_HUE_NEAR 
COLBAND_HUE_FAR 
COLBAND_HUE_CW 
COLBAND_HUE_CCW 

Definition at line 34 of file DNA_colorband_types.h.