Enum IGDIPlus.TGPColorAdjustType

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.

Package: SignalLabBasicPkg

Unit: IGDIPlus

Contents

Syntax

Delphi:

type TGPColorAdjustType = (ColorAdjustTypeDefault, ColorAdjustTypeBitmap, ColorAdjustTypeBrush, ColorAdjustTypePen, ColorAdjustTypeText, ColorAdjustTypeCount, ColorAdjustTypeAny);

C++ Builder:

enum TGPColorAdjustType {ColorAdjustTypeDefault, ColorAdjustTypeBitmap, ColorAdjustTypeBrush, ColorAdjustTypePen, ColorAdjustTypeText, ColorAdjustTypeCount, ColorAdjustTypeAny};

Visual C++ (MFC):

enum CTGPColorAdjustType {ColorAdjustTypeDefault, ColorAdjustTypeBitmap, ColorAdjustTypeBrush, ColorAdjustTypePen, ColorAdjustTypeText, ColorAdjustTypeCount, ColorAdjustTypeAny};

Summary

Specifies which GDI+ objects use color-adjustment information.

Description

Defines enumeration that specifies which GDI+ objects use color-adjustment information. You can adjust the colors in a rendered image by passing the address of an TGPImageAttributes object to the TGPGraphics.DrawImage method. An TGPImageAttributes object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. Several of the methods of the TGPImageAttributes class receive an element of the TGPColorAdjustType enumeration to specify the adjustment category.

Values

ColorAdjustTypeDefault Specifies that color or grayscale adjustment applies to all categories that do not have adjustment settings of their own.
ColorAdjustTypeBitmap Specifies that color or grayscale adjustment applies to bitmapped images.
ColorAdjustTypeBrush Specifies that color or grayscale adjustment applies to brush operations in metafiles.
ColorAdjustTypePen Specifies that color or grayscale adjustment applies to pen operations in metafiles.
ColorAdjustTypeText Specifies that color or grayscale adjustment applies to text drawn in metafiles.
ColorAdjustTypeCount Used internally to record the number of color adjustment types.
ColorAdjustTypeAny Reserved.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox