http://www.mitov.com/wiki/index.php?title=Interface_IGDIPlus.IGPImageAttributes&feed=atom&action=historyInterface IGDIPlus.IGPImageAttributes - Revision history2024-03-28T18:46:37ZRevision history for this page on the wikiMediaWiki 1.17.0http://www.mitov.com/wiki/index.php?title=Interface_IGDIPlus.IGPImageAttributes&diff=11325&oldid=prevDavid Alm: Automated Syncronization with Documentation2012-10-18T17:18:42Z<p>Automated Syncronization with Documentation</p>
<p><b>New page</b></p><div><b><span style="color:red"><br />
This is a Beta Read Only version of this page. <br />
Please review and send recommendations to [mailto:mitov@mitov.com mitov@mitov.com]. <br />
We will enable the editing as soon as we are happy with the overall Wiki site.<br />
</span></b><br />
<br />
'''Package:''' [[Package SignalLabBasicPkg|SignalLabBasicPkg]]<br />
<br />
'''Unit:''' [[Unit IGDIPlus|IGDIPlus]]<br />
<br />
== Syntax ==<br />
=== Delphi: ===<br />
<code><br />
'''type''' IGPImageAttributes = '''interface'''<br />
</code><br />
== Summary ==<br />
Interface to a [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object. <br />
<br />
== Description ==<br />
Defines interface to a [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object.<br />
<br />
An [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object contains information about how<br />
bitmap and metafile colors are manipulated during rendering.<br />
An [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object maintains several<br />
color-adjustment settings, including color-adjustment<br />
matrices, grayscale-adjustment matrices, gamma-correction<br />
values, color-map tables, and color-threshold values.<br />
Remarks<br />
The colors in an image can be manipulated during rendering.<br />
They can be corrected, darkened, lightened, removed, and so<br />
on. To apply such manipulations, initialize a<br />
[[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object and pass the address of that<br />
[[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object (along with the address of an Image<br />
object) to the [[Class IGDIPlus.TGPGraphics|TGPGraphics]].DrawImage method.<br />
<br />
== Methods ==<br />
*[[Method function IGDIPlus.IGPImageAttributes.GetNativeImageAttr() : GpImageAttributes|function GetNativeImageAttr() : GpImageAttributes]]<br />
*[[Method function IGDIPlus.IGPImageAttributes.Clone() : TGPImageAttributes|function Clone() : TGPImageAttributes]] - Makes a copy of the [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetToIdentity(TGPColorAdjustType) : TGPImageAttributes|function SetToIdentity(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the color-adjustment matrix of a specified category to identity matrix. <br />
*[[Method function IGDIPlus.IGPImageAttributes.Reset(TGPColorAdjustType) : TGPImageAttributes|function Reset(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears all color- and grayscale-adjustment settings for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetColorMatrix(TGPColorMatrix;TGPColorMatrixFlags;TGPColorAdjustType) : TGPImageAttributes|function SetColorMatrix(colorMatrix : TGPColorMatrix; mode : TGPColorMatrixFlags; var type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the color-adjustment matrix for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearColorMatrix(TGPColorAdjustType) : TGPImageAttributes|function ClearColorMatrix(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the color-adjustment matrix for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetColorMatrices(TGPColorMatrix;TGPColorMatrix;TGPColorMatrixFlags;TGPColorAdjustType) : TGPImageAttributes|function SetColorMatrices(colorMatrix : TGPColorMatrix; grayMatrix : TGPColorMatrix; mode : TGPColorMatrixFlags; var type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the color-adjustment matrix and the grayscale-adjustment matrix for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearColorMatrices(TGPColorAdjustType) : TGPImageAttributes|function ClearColorMatrices(Type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the color-adjustment matrix and the grayscale-adjustment matrix for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetThreshold(Single;TGPColorAdjustType) : TGPImageAttributes|function SetThreshold(threshold : Single; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the threshold (transparency range) for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearThreshold(TGPColorAdjustType) : TGPImageAttributes|function ClearThreshold(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the threshold value for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetGamma(Single;TGPColorAdjustType) : TGPImageAttributes|function SetGamma(gamma : Single; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the gamma value for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearGamma(TGPColorAdjustType) : TGPImageAttributes|function ClearGamma(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Disables gamma correction for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetNoOp(TGPColorAdjustType) : TGPImageAttributes|function SetNoOp(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Turns off color adjustment for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearNoOp(TGPColorAdjustType) : TGPImageAttributes|function ClearNoOp(Type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the NoOp setting for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetColorKey(TGPColor;TGPColor;TGPColorAdjustType) : TGPImageAttributes|function SetColorKey(colorLow : TGPColor; colorHigh : TGPColor; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the color key (transparency range) for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearColorKey(TGPColorAdjustType) : TGPImageAttributes|function ClearColorKey(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the color key (transparency range) for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetOutputChannel(TGPColorChannelFlags;TGPColorAdjustType) : TGPImageAttributes|function SetOutputChannel(channelFlags : TGPColorChannelFlags; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the CMYK output channel for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearOutputChannel(TGPColorAdjustType) : TGPImageAttributes|function ClearOutputChannel(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the cyan-magenta-yellow-black (CMYK) output channel setting for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetOutputChannelColorProfile(WideString;TGPColorAdjustType) : TGPImageAttributes|function SetOutputChannelColorProfile(colorProfileFilename : WideString; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the output channel color-profile file for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearOutputChannelColorProfile(TGPColorAdjustType) : TGPImageAttributes|function ClearOutputChannelColorProfile(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the output channel color profile setting for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetRemapTable(Cardinal;PGPColorMap;TGPColorAdjustType) : TGPImageAttributes|function SetRemapTable(mapSize : Cardinal; map : PGPColorMap; type_ : TGPColorAdjustType) : TGPImageAttributes]] - Sets the color-remap table for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearRemapTable(TGPColorAdjustType) : TGPImageAttributes|function ClearRemapTable(type_ : TGPColorAdjustType) : TGPImageAttributes]] - Clears the color-remap table for a specified category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetBrushRemapTable(Cardinal;PGPColorMap) : TGPImageAttributes|function SetBrushRemapTable(mapSize : Cardinal; map : PGPColorMap) : TGPImageAttributes]] - Sets the color remap table for the brush category. <br />
*[[Method function IGDIPlus.IGPImageAttributes.ClearBrushRemapTable() : TGPImageAttributes|function ClearBrushRemapTable() : TGPImageAttributes]] - Clears the brush color-remap table of the [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object. <br />
*[[Method function IGDIPlus.IGPImageAttributes.SetWrapMode(TGPWrapMode;TGPColor;Boolean) : TGPImageAttributes|function SetWrapMode(wrap : TGPWrapMode; color : TGPColor; var clamp : Boolean) : TGPImageAttributes]] - Sets the wrap mode of the [[Class IGDIPlus.TGPImageAttributes|TGPImageAttributes]] object. <br />
*[[Method function IGDIPlus.IGPImageAttributes.GetAdjustedPalette(PGPColorPalette;TGPColorAdjustType) : TGPImageAttributes|function GetAdjustedPalette(colorPalette : PGPColorPalette; colorAdjustType : TGPColorAdjustType) : TGPImageAttributes]] - Adjusts the colors in a palette according to the adjustment settings of a specified category. <br />
<br />
[[Category:Interfaces]]</div>David Alm