Method function IGDIPlus.IGPImageAttributes.SetBrushRemapTable(Cardinal;PGPColorMap) : TGPImageAttributes

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: IGPImageAttributes

Contents

Syntax

Delphi:

function SetBrushRemapTable( mapSize : Cardinal, map : PGPColorMap ) : TGPImageAttributes;

C++ Builder:

TGPImageAttributes __fastcall SetBrushRemapTable( unsigned int mapSize, PGPColorMap map );

Visual C++ (MFC):

SetBrushRemapTable(  mapSize,  map );

Summary

Sets the color remap table for the brush category.

Description

Call this method to set the color remap table for the brush category. Remarks A color-remap table is an array of ColorMap structures. Each ColorMap structure has two Color objects: one that specifies an old color and one that specifies a corresponding new color. During rendering, any color that matches one of the old colors in the remap table is changed to the corresponding new color.


Calling the SetBrushRemapTable method has the same effect as passing ColorAdjustTypeBrush to the SetRemapTable method. The specified remap table applies to items in metafiles that are filled with a brush.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox