Specifies the compositing mode of the canvas
Namespace: RSGdiPlusGraphics
Delphi |
published |
Property Value
Type: TRSGPCompositingMode
Suppose you use a Brush with kind = bkSolid, based on a color that has an alpha component of 192, which is about 75 percent of 255. If the canvas has its compositing mode set to cmSourceOver, then areas filled with the solid brush are a blend that is 75 percent brush color and 25 percent background color. If the canvas has its compositing mode set to cmSourceCopy, then the background color is not blended with the brush color. However, the color rendered by the brush has an intensity that is 75 percent of what it would be if the alpha component were 255. You cannot use cmSourceCopy along with trhClearTypeGridFit TextRenderingHint. |