Microsoft DirectX 9.0 SDK Update (October 2004)

ColorOperator.Subtract Method

Language:

Note: This documentation is preliminary and is subject to change.

Subtracts two color values to create a new color value.

Definition

Visual Basic .NET Public Shared Function Subtract( _
    ByVal c1 As Integer, _
    ByVal c2 As Integer _
) As Integer
C# public static int Subtract(
    int c1,
    int c2
);
Managed C++ public: static int Subtract(
    int c1,
    int c2
);
JScript .NET public static function Subtract(
    c1 : int,
    c2 : int
) : int;

Parameters

c1 System.Int32.
c2 System.Int32.

Return Value

System.Int32 .

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center