D2D1_STRAIGHTEN_SCALE_MODE enumeration (d2d1effects_2.h)

Values for the D2D1_STRAIGHTEN_PROP_SCALE_MODE property of the Straighten effect.

Syntax

typedef enum D2D1_STRAIGHTEN_SCALE_MODE {
  D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR = 0,
  D2D1_STRAIGHTEN_SCALE_MODE_LINEAR = 1,
  D2D1_STRAIGHTEN_SCALE_MODE_CUBIC = 2,
  D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3,
  D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC = 4,
  D2D1_STRAIGHTEN_SCALE_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR
Value: 0
Indicates nearest neighbor interpolation should be used.
D2D1_STRAIGHTEN_SCALE_MODE_LINEAR
Value: 1
Indicates linear interpolation should be used.
D2D1_STRAIGHTEN_SCALE_MODE_CUBIC
Value: 2
Indicates cubic interpolation should be used.
D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR
Value: 3
Indicates multi-sample linear interpolation should be used.
D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC
Value: 4
Indicates anisotropic filtering should be used.
D2D1_STRAIGHTEN_SCALE_MODE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h