Unit 'FPReadBMP' Package
[Overview][Classes][Index] [#fcl-image]

TFPReaderBMP

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: fpreadbmp.pp line 33

type TFPReaderBMP = class(TFPCustomImageReader)

protected

  ReadSize: Integer;

  BFI: TBitMapInfoHeader;

  FPalette: PFPColor;

  LineBuf: PByte;

  RedMask: LongWord;

  GreenMask: LongWord;

  BlueMask: LongWord;

  RedShift: ShortInt;

  GreenShift: ShortInt;

  BlueShift: ShortInt;

  procedure SetupRead(); virtual;

  function CountBits();

  function ShiftCount();

  function ExpandColor();

  procedure ExpandRLE8ScanLine();

  procedure ExpandRLE4ScanLine();

  procedure ReadScanLine(); virtual;

  procedure WriteScanLine(); virtual;

  procedure InternalRead(); override;

  function InternalCheck(); override;

public

  constructor Create; override;

  destructor Destroy; override;

  property XPelsPerMeter: Integer; [r]

  property YPelsPerMeter: Integer; [r]

end;

Inheritance

TFPReaderBMP

|

TFPCustomImageReader

|

TFPCustomImageHandler

|

TObject


Documentation generated on: 2023-03-18