Enum IGDIPlus.TGPCompositingQuality
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
(5 intermediate revisions by one user not shown) |
Latest revision as of 01:31, 7 June 2013
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.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPCompositingQuality = (CompositingQualityInvalid, Ord, QualityModeInvalid, CompositingQualityDefault, Ord, QualityModeDefault, CompositingQualityHighSpeed, Ord, QualityModeLow, CompositingQualityHighQuality, Ord, QualityModeHigh, CompositingQualityGammaCorrected, CompositingQualityAssumeLinear);
C++ Builder:
enum TGPCompositingQuality {CompositingQualityInvalid, Ord, QualityModeInvalid, CompositingQualityDefault, Ord, QualityModeDefault, CompositingQualityHighSpeed, Ord, QualityModeLow, CompositingQualityHighQuality, Ord, QualityModeHigh, CompositingQualityGammaCorrected, CompositingQualityAssumeLinear};
Visual C++ (MFC):
enum CTGPCompositingQuality {CompositingQualityInvalid, Ord, QualityModeInvalid, CompositingQualityDefault, Ord, QualityModeDefault, CompositingQualityHighSpeed, Ord, QualityModeLow, CompositingQualityHighQuality, Ord, QualityModeHigh, CompositingQualityGammaCorrected, CompositingQualityAssumeLinear};
Summary
Specifies whether gamma correction is applied when colors are blended with background colors.
Description
The TGPCompositingQuality enumeration specifies whether gamma correction is applied when colors are blended with background colors. This enumeration is used by the IGPGraphics.GetCompositingQuality and IGPGraphics.SetCompositingQuality methods of the TGPGraphics class. Remarks When you specify that gamma correction should not be applied, the image data to be rendered (blended with the background) is assumed to be in a linear color space with a gamma value of 1.0. As a result, no gamma adjustment is applied to the image data before or after blending the image with the background.
When you specify that gamma correction should be applied, the image data to be rendered (blended with the background) is assumed to be in the sRGB color space with a gamma value of 2.2. To ensure accurate blending, the input image data is transformed into a linear (gamma = 1.0) space before the colors are blended and transformed back into sRGB (gamma = 2.2) space afterward. This mode results in a more accurate blend at the expense of additional processing time.
Values
CompositingQualityInvalid | Specifies that gamma correction is invalid. |
Ord | |
QualityModeInvalid | |
CompositingQualityDefault | Specifies that gamma correction is not applied. |
Ord | |
QualityModeDefault | |
CompositingQualityHighSpeed | Specifies that gamma correction is not applied. |
Ord | |
QualityModeLow | |
CompositingQualityHighQuality | Specifies that gamma correction is applied. |
Ord | |
QualityModeHigh | |
CompositingQualityGammaCorrected | Specifies that gamma correction is applied. |
CompositingQualityAssumeLinear | Specifies that gamma correction is not applied. |