Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Identifiers for properties of the Linear transfer effect.
Syntax
typedef enum D2D1_LINEARTRANSFER_PROP {
D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT = 0,
D2D1_LINEARTRANSFER_PROP_RED_SLOPE = 1,
D2D1_LINEARTRANSFER_PROP_RED_DISABLE = 2,
D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT = 3,
D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE = 4,
D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE = 5,
D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT = 6,
D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE = 7,
D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE = 8,
D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT = 9,
D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE = 10,
D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE = 11,
D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT = 12,
D2D1_LINEARTRANSFER_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPTValue: 0 The Y-intercept of the linear function for the Red channel. The type is FLOAT. The default is 0.0f. |
D2D1_LINEARTRANSFER_PROP_RED_SLOPEValue: 1 The slope of the linear function for the Red channel. The type is FLOAT. The default is 1.0f. |
D2D1_LINEARTRANSFER_PROP_RED_DISABLEValue: 2 If you set this to TRUE the effect does not apply the transfer function to the Red channel. If you set this to FALSE the effect applies the RedLinearTransfer function to the Red channel. The type is BOOL. The default is FALSE. |
D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPTValue: 3 The Y-intercept of the linear function for the Green channel. The type is FLOAT. The default is 0.0f. |
D2D1_LINEARTRANSFER_PROP_GREEN_SLOPEValue: 4 The slope of the linear function for the Green channel. The type is FLOAT. The default is 1.0f. |
D2D1_LINEARTRANSFER_PROP_GREEN_DISABLEValue: 5 If you set this to TRUE the effect does not apply the transfer function to the Green channel. If you set this to FALSE the effect applies the GreenLinearTransfer function to the Green channel. The type is BOOL. The default is FALSE. |
D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPTValue: 6 The Y-intercept of the linear function for the Blue channel. The type is FLOAT. The default is 0.0f. |
D2D1_LINEARTRANSFER_PROP_BLUE_SLOPEValue: 7 The slope of the linear function for the Blue channel. The type is FLOAT. The default is 1.0f. |
D2D1_LINEARTRANSFER_PROP_BLUE_DISABLEValue: 8 If you set this to TRUE the effect does not apply the transfer function to the Blue channel. If you set this to FALSE the effect applies the BlueLinearTransfer function to the Blue channel. The type is BOOL. The default is FALSE. |
D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPTValue: 9 The Y-intercept of the linear function for the Alpha channel. The type is FLOAT. The default is 0.0f. |
D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPEValue: 10 The slope of the linear function for the Alpha channel. The type is FLOAT. The default is 0.0f. |
D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLEValue: 11 If you set this to TRUE the effect does not apply the transfer function to the Alpha channel. If you set this to FALSE the effect applies the AlphaLinearTransfer function to the Alpha channel. The type is BOOL. The default is FALSE. |
D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUTValue: 12 Whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. The effect clamps the values before it premultiplies the alpha . If you set this to TRUE the effect will clamp the values. If you set this to FALSE, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision. The type is BOOL. The default is FALSE. |
D2D1_LINEARTRANSFER_PROP_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |