Property IGDIPlus.IGPGraphics.CompositingMode

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: IGPGraphics

Contents

Syntax

Delphi:

property CompositingMode : TGPCompositingMode read GetCompositingMode write SetCompositingModeProp;

C++ Builder:

__property TGPCompositingMode CompositingMode = { read=GetCompositingMode, write=SetCompositingModeProp };

Summary

Sets or gets the compositing mode of the TGPGraphics object.

Description

Use this property to set or get the compositing mode of the TGPGraphics object. Remarks Suppose you create a SolidBrush object based on a color that has an alpha component of 192, which is about 75 percent of 255. If your Graphics object has its compositing mode set to CompositingModeSourceOver, then areas filled with the solid brush are a blend that is 75 percent brush color and 25 percent background color. If your Graphics object has its compositing mode set to CompositingModeSourceCopy, 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 CompositingModeSourceCopy along with TextRenderingHintClearTypeGridFit.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox