Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum CombineFastCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum CombineFastCommandFlags : Enum |
Managed Extensions for C++ | |
---|---|
[FlagsAttribute()] __value public enum CombineFastCommandFlags : public Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class CombineFastCommandFlags : public Enum |
Member | Description |
---|---|
None | No change. Part of the group of flags that define treatment of the source rectangle. |
SourceNot | Invert the color, resulting in its complement. Part of the group of flags that define treatment of the source rectangle. |
Source0 | Change all bits to 0. Part of the group of flags that define treatment of the source rectangle. |
Source1 | Change all bits to 1. Part of the group of flags that define treatment of the source rectangle. |
DestinationNot | Invert the color, resulting in its complement. Part of the group of flags that define treatment of the destination rectangle. |
Destination0 | Change all bits to 0. Part of the group of flags that define treatment of the destination rectangle. |
Destination1 | Change all bits to 1. Part of the group of flags that define treatment of the destination rectangle. |
OperationOr | Combine each set of bytes using a bitwise OR ( | ). Part of the group of flags that define the operation to use when combining the data. |
OperationXor | Combine each set of bytes using a bitwise exclusive OR (^). Part of the group of flags that define the operation to use when combining the data. |
OperationAdd | Add the byte values, allowing a maximum of 255. Part of the group of flags that define the operation to use when combining the data. |
OperationSubtractSource | Subtract the source from the destination, allowing a minimum of 0. Part of the group of flags that define the operation to use when combining the data. |
OperationSubtractDestination | Subtract the destination from the source, allowing a minimum of 0. Part of the group of flags that define the operation to use when combining the data. |
OperationMultiply |
Multiply the byte values, allowing a maximum of 255. The result is calculated as follows: result = (source * dest) / 255 .
Part of the group of flags that define the operation to use when combining the data.
|
OperationDivideSource |
Divide the destination by the source. If source > 0, then the result is calculated as follows: result = min( (dest / source) * 255, 255 ) . Otherwise, if source = 0 , then result = 255 .
Part of the group of flags that define the operation to use when combining the data.
|
OperationDivideDestination |
Divide the source by the destination. If dest > 0, then the result is calculated as follows: result = min( (source / dest) * 255, 255 ) .
Otherwise, if dest = 0 , then result = 255 .
Part of the group of flags that define the operation to use when combining the data.
|
OperationAverage | Use the average of the two values. Part of the group of flags that define the operation to use when combining the data. |
OperationMinimum | Use the lesser of the two values. Part of the group of flags that define the operation to use when combining the data. |
OperationMaximum | Use the greater of the two values. Part of the group of flags that define the operation to use when combining the data. |
ResultNot | Invert the color, resulting in its complement. Part of the group of flags that define treatment of the resulting image rectangle. |
Result0 | Change all bits to 0. Part of the group of flags that define treatment of the resulting image rectangle. |
Result1 | Change all bits to 1. Part of the group of flags that define treatment of the resulting image rectangle. |
SourceCopy | Copies the source image to the destination image. |
These flags are combined into seven groups that define treatment of the source, treatment of the destination,
the operation to use when combining the data, treatment of the resulting image, and the color plane for the
destination, source and resulting images. The flags apply only to the defined rectangles (not necessarily the
whole image). You can use a bitwise OR ( | ) to specify one flag from each group.
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.CombineFastCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family