mcBlendControlFlags Enumeration
|
|
Legal flag values for the McGeometry Blend ControlFlags argument.Values may be OR'ed together.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcBlendControlFlags
Members
| Member name | Value | Description |
---|
| mcbcfDefault | 0 | By default a missing SourceRect isthe bounds of the source Aoi, a missing DestRect is the bounds of the
destination Aoi, no masking by either source or destination Aoi is done
and normal blending is done (no conditional blending on lighter or
darker pixels). The destination Aoi is left undisturbed and the
source image bit-depth is scaled to the destination image's bit-depth. |
| mcbcfMaskBySourceAoi | 1 | If set, source pixels are onlyblended if they are within the source image's Aoi. |
| mcbcfMaskByDestAoi | 2 | If set, destination pixels areonly replaced if they are within the destination image's Aoi. |
| mcbcfBlendingStyleLighter | 4 | Blending only occurs if adestination image pixel is brighter than the corresponding source pixel.
This flag and mcbcfBlendingStyleDarker are mutually exclusive. |
| mcbcfBlendingStyleDarker | 8 | Blending only occurs if adestination image pixel is darker than the corresponding source pixel.
This flag and mcbcfBlendingStyleLighter are mutually exclusive. |
| mcbcfDefaultSourceIsImage | 16 | If set and no SourceRectargument is given, then the SourceRect will be the whole source image.
If not set and no SourceRect argument is given, then the SourceRect will
be the bounds of the source image Aoi. |
| mcbcfDefaultDestIsImage | 32 | If set and no DestRectargument is given, then the DestRect will be the whole destination image.
If not set and no DestRect argument is given, then the DestRect will
be the bounds of the destination image Aoi. |
| mcbcfCopySourceAoiToDest | 64 | If set, after the blending isdone, the destination image's Aoi is replaced by a copy of the source
image's Aoi, aligned so that the left-top of the SourceRect matches the
left-top of the DestRect. |
| mcbcfIntersectSourceAndDestAoi | 128 | If set, after the blending isdone, the destination image's Aoi is replaced by a the intersection of the
destination image's Aoi and the source image's Aoi, aligned so that the
left-top of the SourceRect matches the left-top of the DestRect. If there
is no overlap between the source rect and the destination rect, then the
Aoi will be cleared. |
| mcbcfClearDestAoi | 256 | If set, after the blending isdone, the destination image's Aoi is cleared. |
| mcbcfDoNotScaleSource | 2048 | If set and the source imagehas a different pixel bit-depth than the destination, no scaling is
done to match the source to the destination's bit-depth before blending.
If not set (the default), the source image is scaled to match the
destination's bit-depth before blending. |
See Also