Class IGDIPlus.TGPImageAttributes
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
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPImageAttributes = class( TGPBase, IGPImageAttributes )
C++ Builder:
class TGPImageAttributes : public TGPBase
Visual C++ (MFC):
class CTGPImageAttributes : public CTGPBase
C# (.NET):
public ref class TGPImageAttributes : Mitov.SignalLab.Base
Summary
Contains information about how bitmap and metafile colors are manipulated during rendering.
Description
An TGPImageAttributes object contains information about how bitmap and metafile colors are manipulated during rendering. An TGPImageAttributes object maintains several color-adjustment settings, including color-adjustment matrices, grayscale-adjustment matrices, gamma-correction values, color-map tables, and color-threshold values. Remarks The colors in an image can be manipulated during rendering. They can be corrected, darkened, lightened, removed, and so on. To apply such manipulations, initialize a TGPImageAttributes object and pass the address of that TGPImageAttributes object (along with the address of an Image object) to the TGPGraphics.DrawImage method.
Methods
Public
- function Clone() : TGPImageAttributes
- function SetToIdentity(type_ : TGPColorAdjustType) : TGPImageAttributes
- function Reset(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetColorMatrix(colorMatrix : TGPColorMatrix; mode : TGPColorMatrixFlags; var type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearColorMatrix(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetColorMatrices(colorMatrix : TGPColorMatrix; grayMatrix : TGPColorMatrix; mode : TGPColorMatrixFlags; var type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearColorMatrices(Type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetThreshold(threshold : Single; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearThreshold(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetGamma(gamma : Single; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearGamma(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetNoOp(type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearNoOp(Type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetColorKey(colorLow : TGPColor; colorHigh : TGPColor; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearColorKey(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetOutputChannel(channelFlags : TGPColorChannelFlags; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearOutputChannel(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetOutputChannelColorProfile(colorProfileFilename : WideString; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearOutputChannelColorProfile(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetRemapTable(mapSize : Cardinal; map : PGPColorMap; type_ : TGPColorAdjustType) : TGPImageAttributes
- function ClearRemapTable(type_ : TGPColorAdjustType) : TGPImageAttributes
- function SetBrushRemapTable(mapSize : Cardinal; map : PGPColorMap) : TGPImageAttributes
- function ClearBrushRemapTable() : TGPImageAttributes
- function SetWrapMode(wrap : TGPWrapMode; color : TGPColor; var clamp : Boolean) : TGPImageAttributes
- function GetAdjustedPalette(colorPalette : PGPColorPalette; colorAdjustType : TGPColorAdjustType) : TGPImageAttributes