[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TFPImageBitmap

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

A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal)

Declaration

Source position: graphics.pp line 1420

type TFPImageBitmap = class(TCustomBitmap)

protected

  function GetMimeType; override;

  

GetMimeType - returns the MIME type of the Graphic

protected

  class function GetReaderClass; virtual; abstract;

  

GetReaderClass - returns the class of reader for acquiring data from a stream

  class function GetWriterClass; virtual; abstract;

  

GetWriterClass - returns the class of writer for storing data to a stream

protected

  procedure InitializeReader(); virtual;

  

InitializeReader - starts up the specified reader to read th especified Image

  procedure InitializeWriter(); virtual;

  

InitializeWriter - starts up the specified writer to store the specified Image

  procedure FinalizeReader(); virtual;

  

FinalizeReader - ends the Image reading process

  procedure FinalizeWriter(); virtual;

  

FinalizeWriter - ends the Image writing process

  procedure ReadStream(); override;

  

Read the data from a Stream

  procedure WriteStream(); override;

  

Write the data to a stream

protected

  class function GetFileExtensions; override;

  

GetFileExtensions - returns a list of the file extensions available

  class function IsStreamFormatSupported(); override;

  class function IsFileExtensionSupported();

  

IsFileExtensionSupported - returns True if the given file extension is supported?

public

  function LazarusResourceTypeValid(); override;

  

Check that the Resource specified for reading or writing is a valid type - result True if it is

end;

Inheritance

TFPImageBitmap

  

A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal)

|

TCustomBitmap

  

TCustomBitMap - the base class for TBitmap

|

TRasterImage

  

TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information

|

TGraphic

  

TGraphic - Base class for dealing with Graphic images

|

TPersistent

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.