Vcl.Imaging.GIFImg.TGIFPlainTextExtensionRec

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TGIFPlainTextExtensionRec = packed record
    BlockSize: byte;         { should be 12 }
    Left, Top, Width, Height: Word;
    CellWidth, CellHeight: Byte;
    TextFGColorIndex,
    TextBGColorIndex: Byte;
  end;

C++

struct DECLSPEC_DRECORD TGIFPlainTextExtensionRec
{
public:
    System::Byte BlockSize;
    System::Word Left;
    System::Word Top;
    System::Word Width;
    System::Word Height;
    System::Byte CellWidth;
    System::Byte CellHeight;
    System::Byte TextFGColorIndex;
    System::Byte TextBGColorIndex;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg Vcl.Imaging.GIFImg

Description

TGIFPlainTextExtensionRec is used to store information about the parameters necessary to render textual data as a graphic.

TGIFPlainTextExtensionRec is used to store information about the parameters necessary to render textual data as a graphic.

The TGIFPlainTextExtensionRec type is used internally.

The following table lists the fields contained in a variable of type TGIFPlainTextExtensionRec.


Field Meaning

BlockSize

This field contains the fixed value 12.

Left

Column number, in pixels, of the left edge of the text grid, with respect to the left edge of the Logical Screen.

Top

Row number, in pixels, of the top edge of the text grid, with respect to the top edge of the Logical Screen.

Width

Width of the text grid, in pixels.

Height

Height of the text grid, in pixels.

CellWidth

Width, in pixels, of each cell in the grid.

CellHeight

Height, in pixels, of each cell in the grid.

TextFGColorIndex

Index into the Global Color Table to be used to render the text foreground.

TextBGColorIndex

Index into the Global Color Table to be used to render the text background.



See Also