Source and destination blending factors for drawing functions with blending.
public TBlendingFactor = (bfIgnore, bfZero, bfOne, bfSrcAlpha, bfOneMinusSrcAlpha, bfDstAlpha, bfOneMinusDstAlpha, bfSrcColor, bfOneMinusSrcColor, bfDstColor, bfOneMinusDstColor);
ImagingCanvases (at line 84)
|
Members |
Description |
|
bfIgnore |
Don't care |
|
bfZero |
For Src and Dest, Factor = (0, 0, 0, 0) |
|
bfOne |
For Src and Dest, Factor = (1, 1, 1, 1) |
|
bfSrcAlpha |
For Src and Dest, Factor = (Src.A, Src.A, Src.A, Src.A) |
|
bfOneMinusSrcAlpha |
For Src and Dest, Factor = (1 - Src.A, 1 - Src.A, 1 - Src.A, 1 - Src.A) |
|
bfDstAlpha |
For Src and Dest, Factor = (Dest.A, Dest.A, Dest.A, Dest.A) |
|
bfOneMinusDstAlpha |
For Src and Dest, Factor = (1 - Dest.A, 1 - Dest.A, 1 - Dest.A, 1 - Dest.A) |
|
bfSrcColor |
For Dest, Factor = (Src.R, Src.R, Src.B, Src.A) |
|
bfOneMinusSrcColor |
For Dest, Factor = (1 - Src.R, 1 - Src.G, 1 - Src.B, 1 - Src.A) |
|
bfDstColor |
For Src, Factor = (Dest.R, Dest.G, Dest.B, Dest.A) |
|
bfOneMinusDstColor |
For Src, Factor = (1 - Dest.R, 1 - Dest.G, 1 - Dest.B, 1 - Dest.A) |
Blending formula: SrcColor * SrcFactor + DestColor * DestFactor