Sign in Join
FPDoc Onlineexperiment

GraphType unit

Definitions of several special types (including Raw Image) to be used for graphics.

graphtype.pp contains graphic-related platform-independent types and utility functions.

graphtype.pp is part of the LazUtils package.

Classes and records

TRawImageobjectAn uncompressed graphics image (bitmap).
TRawImageDescriptionobjectDescriptor object for the image format of devices and raw (uncompressed) image data.
TRawImageLineStartsobjectTRawImageLineStarts - contains a list of the start positions of the lines in the Raw Image.
TRawImagePositionrecordRecord describing a position in Raw Image data.

Procedures and functions

CopyImageDatafunctionCopyImageData - copies data from ASource to ADestination, returning True if successful.
GetBitsPerLinefunctionGetBitsPerLine - returns the number of bits per line (as a pointer).
GetBytesPerLinefunctionGetBytesPerLine - returns the number of bytes per line (as a pointer).
RawImageQueryFlagsToStringfunctionConverts the specified set of raw image query flags to a String value.

Types

PRawImagetypePRawImage - pointer to a TRawImage.
PRawImageDescriptiontypePointer to
PRawImageLineStartstypePRawImageLineStarts - pointer to TRawImageLineStarts.
PRawImagePositiontypePRawImagePosition - pointer to a TRawImagePosition.
TGraphicsBevelCutenumerationRepresents bevel drawing styles.
TGraphicsColortypeDefines the Integer range type with values that can be used for colors.
TGraphicsDrawEffectenumerationRepresents drawing effects which can be applied to graphic elements.
TGraphicsFillStyleenumerationIndicates how a surface area is filled with a given color.
TPointArraytypeType used to store an array of TPoint values.
TRawImageBitOrderenumerationBit order for raw image data scan lines.
TRawImageByteOrderenumerationThe LSB/MSB-first byte order of pixel data.
TRawImageColorFormatenumerationColor format for raw image data.
TRawImageLineEndenumerationThe alignment of raw image scanlines.
TRawImageLineOrderenumerationThe first stored line of pixels can represent the logical top or bottom of the displayed image.
TRawImageQueryFlagenumerationImage formats supported by a device, or present in image data.
TRawImageQueryFlagssetSet type used to store values from the TRawImageQueryFlag enumeration.

Constants

DefaultByteOrderconstantByte order for raw image data on the platform or widgetset.

Variables

DisabledDrawEffectStylevariableControls the appearance of disabled images.
MissingBitsvariableUsed to pad bit data in a raw image to a specific precision and byte boundaries.

Uses

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.