Class tbitmap

Unit

Declaration

type tbitmap = class(tsimplebitmap)

Description

No description available, ancestor tsimplebitmap description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Methods

Protected procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); override;
Protected procedure setsize(const Value: sizety); override;
Protected function getasize: sizety; virtual;
Protected procedure destroyhandle; override;
Protected procedure createhandle(copyfrom: pixmapty); override;
Protected function getsource: tbitmapcomp; virtual;
Protected procedure assign1(const source: tsimplebitmap; const docopy: boolean); override;
Protected procedure dochange; virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected function getimageref(out aimage: imagety): boolean;
Protected procedure setkind(const avalue: bitmapkindty); override;
Public constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil);
Public procedure savetoimage(out aimage: imagety);
Public procedure loadfromimage(const aimage: imagety);
Public procedure assign(source: tpersistent); override;
Public procedure change;
Public procedure beginupdate;
Public procedure endupdate;
Public procedure loaddata(const asize: sizety; const data: pbyte; const msbitfirst: boolean = false; const dwordaligned: boolean = false; const bottomup: boolean = false); virtual;
Public function hasimage: boolean;
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const asource: rectty; aalignment: alignmentsty = []; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default ); overload;
Public procedure paint(const acanvas: tcanvas; const dest: pointty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default ); overload;
Public procedure paint(const acanvas: tcanvas; const dest: pointty; const aalignment: alignmentsty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const aalignment: alignmentsty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
Public procedure init(const acolor: colorty); override;
Public function compressdata: longwordarty;
Public procedure decompressdata(const asize: sizety; const adata: longwordarty);

Properties

Public property pixel[constindex:pointty]: colorty read getpixel write setpixel;
Public property pixels[constx,y:integer]: colorty read getpixels write setpixels;
Public property scanline[index:integer]: pointer read getscanline;
Public property scanhigh: integer read fscanhigh;
Public property scanlinestep: integer read fscanlinestep;
Public property colorforeground: colorty read fcolorforeground write setcolorforeground default cl_black;
Public property colorbackground: colorty read fcolorbackground write setcolorbackground default cl_white;
Public property alignment: alignmentsty read falignment write setalignment default [];
Public property opacity: colorty read fopacity write setopacity default cl_none;
Public property onchange: notifyeventty read fonchange write fonchange;

Description

Methods

Protected procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); override;
 
Protected procedure setsize(const Value: sizety); override;
 
Protected function getasize: sizety; virtual;
 
Protected procedure destroyhandle; override;
 
Protected procedure createhandle(copyfrom: pixmapty); override;
 
Protected function getsource: tbitmapcomp; virtual;
 
Protected procedure assign1(const source: tsimplebitmap; const docopy: boolean); override;
 
Protected procedure dochange; virtual;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected function getimageref(out aimage: imagety): boolean;
 
Protected procedure setkind(const avalue: bitmapkindty); override;
 
Public constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil);
 
Public procedure savetoimage(out aimage: imagety);
 
Public procedure loadfromimage(const aimage: imagety);
 
Public procedure assign(source: tpersistent); override;
 
Public procedure change;
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public procedure loaddata(const asize: sizety; const data: pbyte; const msbitfirst: boolean = false; const dwordaligned: boolean = false; const bottomup: boolean = false); virtual;
 
Public function hasimage: boolean;
 
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const asource: rectty; aalignment: alignmentsty = []; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default ); overload;
 
Public procedure paint(const acanvas: tcanvas; const dest: pointty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default ); overload;
 
Public procedure paint(const acanvas: tcanvas; const dest: pointty; const aalignment: alignmentsty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
 
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
 
Public procedure paint(const acanvas: tcanvas; const dest: rectty; const aalignment: alignmentsty; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default); overload;
 
Public procedure init(const acolor: colorty); override;
 
Public function compressdata: longwordarty;
 
Public procedure decompressdata(const asize: sizety; const adata: longwordarty);
 

Properties

Public property pixel[constindex:pointty]: colorty read getpixel write setpixel;
 
Public property pixels[constx,y:integer]: colorty read getpixels write setpixels;
 
Public property scanline[index:integer]: pointer read getscanline;
 
Public property scanhigh: integer read fscanhigh;
 
Public property scanlinestep: integer read fscanlinestep;
 
Public property colorforeground: colorty read fcolorforeground write setcolorforeground default cl_black;
 
Public property colorbackground: colorty read fcolorbackground write setcolorbackground default cl_white;
 
Public property alignment: alignmentsty read falignment write setalignment default [];
 
Public property opacity: colorty read fopacity write setopacity default cl_none;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 

Generated by PasDoc 0.16.0.