Skip to main content

dxCoreGraphics Unit

Interfaces

IdxColorPalette

Classes

Name Description
TdxAdvancedColorPalette Stores and manages two color palettes with named colors used in UI elements.
TdxCustomColorPalette The base class for all classes that implement color palette containers in DevExpress products.
TdxCustomFastDIB The base class for all classes that implement simple memory buffers for DIB images.
TdxFastDIB A memory DC-based buffer for DIB images.
TdxSimpleColorPalette A simple palette container that stores two colors.

Interfaces

Name Description
IdxColorPalette Exposes the functions that return stroke and fill colors by their names in corresponding palettes.

Records

Name Description
TdxAlphaColors Stores TdxAlphaColor equivalents of certain TColor values and provides a set of auxiliary color-related functions.

Enums

Name Description
TdxAlphaState Enumerates available states of pixel transparency information that bitmaps can store.
TdxGraphicUnit Enumerates measurement units used to specify visual element dimensions and font sizes in DevExpress VCL controls.

Methods

Name Description
cxGetBitmapPixelFormat(TBitmap) Returns the color depth of a bitmap image stored in the specified bitmap container.
dxAlphaColorToColor(TdxAlphaColor,Byte) Converts a specified TdxAlphaColor value to the TColor type.
dxAlphaColorToColor(TdxAlphaColor)
dxAlphaColorToRGBQuad(TdxAlphaColor) Converts a specified TdxAlphaColor value to the TRGBQuad type.
dxColorToAlphaColor(TColor,Byte) Converts a specified TColor value to the TdxAlphaColor type.
dxColorToRGBQuad(TColor,Byte) Converts a specified TColor value to the TRGBQuad type.
dxFillBitmapInfoHeader(TBitmapInfoHeader,Integer,Integer,WordBool) Returns the header information of a specified bitmap object.
dxFillBitmapInfoHeader(TBitmapInfoHeader,TBitmap,WordBool)
dxGetAlpha(TdxAlphaColor) Extracts the alpha value (also called transparency level) from a specified color.
dxGetAlphaState(TRGBColors)
dxGetAlphaState(TBitmap) Identifies if the specified bitmap includes pixel transparency information (and whether it is in use).
dxGetBitmapData(HBITMAP,TBitmap) Returns a record populated with pixel data and image information by the specified bitmap handle.
dxGetBlue(TdxAlphaColor) Extracts the blue color component value from a specified color.
dxGetBrushData(HBRUSH,TLogBrush) Returns settings of a brush object identified by its handle.
dxGetBrushData(HBRUSH)
dxGetFontData(HFONT,TLogFont)
dxGetFontData(HFONT) Returns settings of a font object identified by its handle.
dxGetGreen(TdxAlphaColor) Extracts the green color component value from a specified color.
dxGetPenData(HPEN,TLogPen) Returns settings of a pen object identified by its handle.
dxGetRed(TdxAlphaColor) Extracts the red color component value from a specified color.
dxGraphicIsEquals(TGraphic,TGraphic) Identifies if the content of two specified image containers is identical.
dxIsAlphaUsed(TBitmap) Determines if the alpha channel is used in a specified bitmap object.
dxMakeAlphaColor(Byte,Byte,Byte,Byte)
dxMakeAlphaColor(Byte,Byte,Byte)
dxMakeAlphaColor(TColor,Byte) Creates a TdxAlphaColor value from individual color component values and returns it as the function’s result.
dxRGBQuadToColor(TRGBQuad) Converts a specified TRGBQuad value to the TColor type.
GetBitmapBits(TBitmap,TRGBColors,Boolean)
GetBitmapBitsByScanLine(TBitmap,TRGBColors) Obtains pixel data from individual scanlines of a specified bitmap object.
SetBitmapBits(TBitmap,TRGBColors,Boolean) Stores pixel data to a specified bitmap object.

Constants

Name Description
AlphaMask Specifies the hexadecimal value that corresponds to the non-transparent TdxAlphaColor value.
AlphaShift Specifies the right bit shift that corresponds to alpha component bits in a TdxAlphaColor value.
BlueMask Specifies the hexadecimal value that corresponds to the blue TdxAlphaColor value.
BlueShift Specifies the right bit shift corresponding to blue component bits in a TdxAlphaColor value.
dxacDefault Stores the TdxAlphaColor equivalent of the clDefault TColor value.
dxacNone Stores the special “empty” TdxAlphaColor value whose alpha and color channel values are set to zero.
GreenMask Specifies the hexadecimal value corresponding to the green TdxAlphaColor value.
GreenShift Specifies the right bit shift corresponding to green component bits in a TdxAlphaColor value.
RedMask Specifies the hexadecimal value corresponding to the red TdxAlphaColor value.
RedShift Specifies the right bit shift corresponding to red component bits in a TdxAlphaColor value.

Types

Name Description
PdxAlphaColor The pointer to a TdxAlphaColor value.
TdxAlphaColor A value that stores red, green, blue, and alpha (opacity) color components.
TdxAlphaColorFunc
TRGBColors An array of TRGBQuad values used to store pixel data.