Class tsimplebitmap

Unit

Declaration

type tsimplebitmap = class(tnullinterfacedpersistent, icanvas)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fgdifuncs: pgdifunctionaty;
Protected fcanvasclass: canvasclassty;
Protected fcanvas: tcanvas;
Protected fhandle: pixmapty;
Protected fsize: sizety;
Protected fscanlinestep: integer;
Protected fscanlinewords: integer;
Protected fscanhigh: integer;
Protected fkind: bitmapkindty;
Protected fstate: pixmapstatesty;
Protected fcolorbackground: colorty;
Protected fcolorforeground: colorty;
Protected fdefaultcliporigin: pointty;

Methods

Protected procedure updatescanline();
Protected function createcanvas: tcanvas; virtual;
Protected procedure creategc;
Protected procedure internaldestroyhandle;
Protected procedure destroyhandle; virtual;
Protected procedure createhandle(acopyfrom: pixmapty); virtual;
Protected procedure setkind(const avalue: bitmapkindty); virtual;
Protected function getconverttomonochromecolorbackground: colorty; virtual;
Protected function getmask(out apos: pointty): tsimplebitmap; virtual;
Protected procedure setsize(const avalue: sizety); virtual;
Protected function normalizeinitcolor(const acolor: colorty): colorty;
Protected procedure assign1(const source: tsimplebitmap; const docopy: boolean); virtual;
Protected function getgdiintf: pgdifunctionaty;
Protected procedure gcneeded(const sender: tcanvas);
Protected function getsize: sizety;
Protected function getkind: bitmapkindty;
Protected procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); virtual;
Public constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil); reintroduce;
Public destructor destroy; override;
Public procedure copyhandle;
Public procedure releasehandle; virtual;
Public procedure acquirehandle; virtual;
Public procedure assign(source: tpersistent); override;
Public procedure assignnegative(source: tsimplebitmap);
Public procedure clear; virtual;
Public procedure init(const acolor: colorty); virtual;
Public procedure freecanvas;
Public function canvasallocated: boolean;
Public procedure copyarea(const asource: tsimplebitmap; const asourcerect: rectty; const adestpoint: pointty; const acopymode: rasteropty = rop_copy; const masked: boolean = true; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_none); overload;
Public procedure copyarea(const asource: tsimplebitmap; const asourcerect: rectty; const adestrect: rectty; const aalignment: alignmentsty = []; const acopymode: rasteropty = rop_copy; const masked: boolean = true; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_none); overload;
Public function isempty: boolean;

Properties

Public property handle: pixmapty read gethandle write sethandle;
Public property kind: bitmapkindty read fkind write setkind;
Public property canvas: tcanvas read getcanvas;
Public property size: sizety read fsize write setsize;
Public property width: integer read fsize.cx write setwidth;
Public property height: integer read fsize.cy write setheight;

Description

Fields

Protected fgdifuncs: pgdifunctionaty;

This item has no description.

Protected fcanvasclass: canvasclassty;

This item has no description.

Protected fcanvas: tcanvas;

This item has no description.

Protected fhandle: pixmapty;

This item has no description.

Protected fsize: sizety;

This item has no description.

Protected fscanlinestep: integer;

This item has no description.

Protected fscanlinewords: integer;

This item has no description.

Protected fscanhigh: integer;

This item has no description.

Protected fkind: bitmapkindty;

This item has no description.

Protected fstate: pixmapstatesty;

This item has no description.

Protected fcolorbackground: colorty;

This item has no description.

Protected fcolorforeground: colorty;

This item has no description.

Protected fdefaultcliporigin: pointty;

This item has no description.

Methods

Protected procedure updatescanline();

This item has no description.

Protected function createcanvas: tcanvas; virtual;

This item has no description.

Protected procedure creategc;

This item has no description.

Protected procedure internaldestroyhandle;

This item has no description.

Protected procedure destroyhandle; virtual;

This item has no description.

Protected procedure createhandle(acopyfrom: pixmapty); virtual;

This item has no description.

Protected procedure setkind(const avalue: bitmapkindty); virtual;

This item has no description.

Protected function getconverttomonochromecolorbackground: colorty; virtual;

This item has no description.

Protected function getmask(out apos: pointty): tsimplebitmap; virtual;

This item has no description.

Protected procedure setsize(const avalue: sizety); virtual;

This item has no description.

Protected function normalizeinitcolor(const acolor: colorty): colorty;

This item has no description.

Protected procedure assign1(const source: tsimplebitmap; const docopy: boolean); virtual;

This item has no description.

Protected function getgdiintf: pgdifunctionaty;

This item has no description.

Protected procedure gcneeded(const sender: tcanvas);

This item has no description.

Protected function getsize: sizety;

This item has no description.

Protected function getkind: bitmapkindty;

This item has no description.

Protected procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); virtual;

This item has no description.

Public constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil); reintroduce;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure copyhandle;

This item has no description.

Public procedure releasehandle; virtual;

This item has no description.

Public procedure acquirehandle; virtual;

This item has no description.

Public procedure assign(source: tpersistent); override;

This item has no description.

Public procedure assignnegative(source: tsimplebitmap);

This item has no description.

Public procedure clear; virtual;

This item has no description.

Public procedure init(const acolor: colorty); virtual;

This item has no description.

Public procedure freecanvas;

This item has no description.

Public function canvasallocated: boolean;

This item has no description.

Public procedure copyarea(const asource: tsimplebitmap; const asourcerect: rectty; const adestpoint: pointty; const acopymode: rasteropty = rop_copy; const masked: boolean = true; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_none); overload;

This item has no description.

Public procedure copyarea(const asource: tsimplebitmap; const asourcerect: rectty; const adestrect: rectty; const aalignment: alignmentsty = []; const acopymode: rasteropty = rop_copy; const masked: boolean = true; const acolorforeground: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_none); overload;

This item has no description.

Public function isempty: boolean;

This item has no description.

Properties

Public property handle: pixmapty read gethandle write sethandle;

This item has no description.

Public property kind: bitmapkindty read fkind write setkind;

This item has no description.

Public property canvas: tcanvas read getcanvas;

This item has no description.

Public property size: sizety read fsize write setsize;

This item has no description.

Public property width: integer read fsize.cx write setwidth;

This item has no description.

Public property height: integer read fsize.cy write setheight;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.