Class tcanvas
Unit
Declaration
type tcanvas = class(tpersistent)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcanvas
Overview
Fields
| Protected | fuser: tobject; |
| Protected | fintf: pointer; |
| Protected | fstate: canvasstatesty; |
| Protected | fvaluepo: canvasvaluespoty; |
| Protected | fdrawinfo: drawinfoty; |
| Protected | gcfonthandle1: fontnumty; |
| Protected | afonthandle1: fontnumty; |
| Protected | ffont: tfont; |
| Public | target: tobject; |
| Public | drawinfopo: pointer; |
Methods
| Protected | function getgdifuncs: pgdifunctionaty; virtual; |
| Protected | procedure registergclink(const dest: tcanvas); |
| Protected | procedure unregistergclink(const dest: tcanvas); |
| Protected | procedure gcdestroyed(const sender: tcanvas); virtual; |
| Protected | procedure setppmm(avalue: real); virtual; |
| Protected | function getfitrect: rectty; virtual; |
| Protected | procedure valuechanged(value: canvasstatety); inline; |
| Protected | procedure valueschanged(values: canvasstatesty); inline; |
| Protected | procedure initgcvalues; virtual; |
| Protected | procedure initgcstate; virtual; |
| Protected | procedure finalizegcstate; virtual; |
| Protected | procedure checkrect(const rect: rectty); |
| Protected | procedure checkgcstate(state: canvasstatesty); virtual; |
| Protected | procedure checkregionstate; |
| Protected | function defaultcliprect: rectty; virtual; |
| Protected | function lock: boolean; virtual; |
| Protected | procedure unlock; virtual; |
| Protected | procedure doflush; |
| Protected | procedure gdi(const func: gdifuncty); virtual; |
| Protected | procedure init; |
| Protected | procedure beforeread; |
| Protected | procedure afterread; |
| Protected | procedure internalcopyarea(asource: tcanvas; const asourcerect: rectty; const adestrect: rectty; acopymode: rasteropty; atransparentcolor: colorty; amask: tsimplebitmap; const amaskpos: pointty; aalignment: alignmentsty; const atileorigin: pointty; const aopacity: colorty); |
| Protected | procedure setcliporigin(const Value: pointty); |
| Protected | function getgchandle: ptruint; |
| Protected | function getcanvasimage(const abgr: boolean = false): imagety; |
| Protected | function getimage(const bgr: boolean): maskedimagety; |
| Protected | procedure fillarc(const def: rectty; const startang,extentang: real; const acolor: colorty; const pieslice: boolean); |
| Protected | procedure getarcinfo(out startpo,endpo: pointty); |
| Protected | procedure internaldrawtext(var info); virtual; |
| Protected | function createfont: tcanvasfont; virtual; |
| Protected | procedure drawfontline(const startpoint,endpoint: pointty); |
| Protected | procedure nextpage; virtual; |
| Protected | function getcontextinfopo: pointer; virtual; |
| Protected | procedure updatesize(const asize: sizety); virtual; |
| Protected | procedure movewindowrect(const adist: pointty; const arect: rectty); |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Public | constructor create(const user: tobject; const intf: icanvas); virtual; |
| Public | destructor destroy; override; |
| Public | class function getclassgdifuncs: pgdifunctionaty; virtual; |
| Public | procedure updatewindowoptions(var aoptions: internalwindowoptionsty); virtual; |
| Public | function creategc(const apaintdevice: paintdevicety; const akind: gckindty; var gc: gcty; const aprintername: msestring = ''): gdierrorty; |
| Public | procedure linktopaintdevice(apaintdevice: paintdevicety; const gc: gcty; const cliporigin: pointty); virtual; |
| Public | procedure fitppmm(const asize: sizety); |
| Public | function size: sizety; |
| Public | function highresdevice: boolean; |
| Public | procedure initflags(const dest: tcanvas); virtual; |
| Public | procedure unlink; |
| Public | procedure initdrawinfo(var adrawinfo: drawinfoty); |
| Public | function active: boolean; |
| Public | procedure reset; virtual; |
| Public | function save: integer; |
| Public | function restore(index: integer = -1): integer; |
| Public | procedure resetpaintedflag; |
| Public | procedure endpaint; |
| Public | procedure move(const dist: pointty); |
| Public | procedure remove(const dist: pointty); |
| Public | procedure copyarea(const asource: tcanvas; const asourcerect: rectty; const adestpoint: pointty; const acopymode: rasteropty = rop_copy; const atransparentcolor: colorty = cl_default; const aopacity: colorty = cl_none); overload; |
| Public | procedure copyarea(const asource: tcanvas; const asourcerect: rectty; const adestrect: rectty; const alignment: alignmentsty = []; const acopymode: rasteropty = rop_copy; const atransparentcolor: colorty = cl_default; const aopacity: colorty = cl_none); overload; |
| Public | procedure drawpoint(const point: pointty; const acolor: colorty = cl_default); |
| Public | procedure drawpoints(const apoints: array of pointty; const acolor: colorty = cl_default; first: integer = 0; acount: integer = -1); |
| Public | procedure drawline(const startpoint,endpoint: pointty; const acolor: colorty = cl_default); |
| Public | procedure drawline(const startpoint: pointty; const length: sizety; const acolor: colorty = cl_default); |
| Public | procedure drawlinesegments(const apoints: array of segmentty; const acolor: colorty = cl_default); |
| Public | procedure drawlines(const apoints: array of pointty; const aclosed: boolean = false; const acolor: colorty = cl_default; const first: integer = 0; const acount: integer = -1); overload; |
| Public | procedure drawlines(const apoints: array of pointty; const abreaks: array of integer; const aclosed: boolean = false; const acolor: colorty = cl_default; const first: integer = 0; const acount: integer = -1); overload; |
| Public | procedure drawvect(const startpoint: pointty; const direction: graphicdirectionty; const length: integer; const acolor: colorty = cl_default); overload; |
| Public | procedure drawvect(const startpoint: pointty; const direction: graphicdirectionty; const length: integer; out endpoint: pointty; const acolor: colorty = cl_default); overload; |
| Public | procedure drawrect(const arect: rectty; const acolor: colorty = cl_default); |
| Public | procedure drawcross(const arect: rectty; const acolor: colorty = cl_default; const alignment: alignmentsty = [al_xcentered,al_ycentered]); |
| Public | procedure drawellipse(const def: rectty; const acolor: colorty = cl_default); |
| Public | procedure drawellipse1(const def: rectty; const acolor: colorty = cl_default); |
| Public | procedure drawcircle(const center: pointty; const radius: integer; const acolor: colorty = cl_default); |
| Public | procedure drawarc(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default); overload; |
| Public | procedure drawarc1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default); |
| Public | procedure drawarc(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default); overload; |
| Public | procedure fillrect(const arect: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure fillellipse(const def: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure fillellipse1(const def: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure fillcircle(const center: pointty; const radius: integer; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure fillarcchord(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
| Public | procedure fillarcchord1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure fillarcchord(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
| Public | procedure fillarcpieslice(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
| Public | procedure fillarcpieslice1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
| Public | procedure fillarcpieslice(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
| Public | procedure fillpolygon(const apoints: array of pointty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
| Public | procedure drawframe(const arect: rectty; awidth: integer = -1; const acolor: colorty = cl_default; const hiddenedges: edgesty = []); overload; |
| Public | procedure drawframe(const arect: rectty; awidth: framety; const acolor: colorty = cl_default; const hiddenedges: edgesty = []); overload; |
| Public | procedure drawxorframe(const arect: rectty; const awidth: integer = -1; const abrush: tsimplebitmap = nil); overload; |
| Public | procedure drawxorframe(const po1: pointty; const po2: pointty; const awidth: integer = -1; const abrush: tsimplebitmap = nil); overload; |
| Public | procedure fillxorrect(const arect: rectty; const abrush: tsimplebitmap = nil); overload; |
| Public | procedure fillxorrect(const start: pointty; const length: integer; const direction: graphicdirectionty; const awidth: integer = 0; const abrush: tsimplebitmap = nil); overload; |
| Public | procedure drawstring(const atext: msestring; const apos: pointty; const afont: tfont = nil; const grayed: boolean = false; const arotation: real = 0); overload; |
| Public | procedure drawstring(const atext: pmsechar; const acount: integer; const apos: pointty; const afont: tfont = nil; const grayed: boolean = false; const arotation: real = 0); overload; |
| Public | function getstringwidth(const atext: msestring; const afont: tfont = nil): integer; overload; |
| Public | function getstringwidth(const atext: pmsechar; const acount: integer; const afont: tfont = nil): integer; overload; |
| Public | function getfontmetrics(const achar: ucs4char; const afont: tfont = nil): fontmetricsty; |
| Public | function getfontmetrics(const achar: msechar; const afont: tfont = nil): fontmetricsty; |
| Public | procedure resetclipregion; |
| Public | procedure setcliprect(const rect: rectty); |
| Public | procedure addcliprect(const rect: rectty); |
| Public | procedure addclipframe(const frame: rectty; inflate: integer); |
| Public | procedure subcliprect(const rect: rectty); |
| Public | procedure subclipframe(const frame: rectty; inflate: integer); |
| Public | procedure intersectcliprect(const rect: rectty); |
| Public | procedure intersectclipframe(const frame: rectty; inflate: integer); |
| Public | procedure addclipregion(const region: regionty); |
| Public | procedure subclipregion(const region: regionty); |
| Public | procedure intersectclipregion(const region: regionty); |
| Public | function copyclipregion: regionty; |
| Public | function clipregionisempty: boolean; |
| Public | function clipbox: rectty; |
| Public | function createregion: regionty; overload; |
| Public | function createregion(const asource: regionty): regionty; overload; |
| Public | function createregion(const arect: rectty): regionty; overload; |
| Public | function createregion(const rects: array of rectty): regionty; overload; |
| Public | function createregion(frame: rectty; const inflate: integer): regionty; overload; |
| Public | procedure destroyregion(region: regionty); |
| Public | procedure regmove(const adest: regionty; const dist: pointty); |
| Public | procedure regremove(const adest: regionty; const dist: pointty); |
| Public | procedure regaddrect(const dest: regionty; const rect: rectty); |
| Public | procedure regsubrect(const dest: regionty; const rect: rectty); |
| Public | procedure regintersectrect(const dest: regionty; const rect: rectty); |
| Public | procedure regaddregion(const dest: regionty; const region: regionty); |
| Public | procedure regsubregion(const dest: regionty; const region: regionty); |
| Public | procedure regintersectregion(const dest: regionty; const region: regionty); |
| Public | function regionisempty(const region: regionty): boolean; |
| Public | function regionclipbox(const region: regionty): rectty; |
| Public | procedure adjustbrushorigin(const arect: rectty; const alignment: alignmentsty); |
Properties
| Public | property origin: pointty read getorigin write setorigin; |
| Public | property clipregion: regionty write setclipregion; |
| Public | property kind: bitmapkindty read getkind; |
| Public | property color: colorty read getcolor write setcolor default cl_black; |
| Public | property colorbackground: colorty read getcolorbackground
write setcolorbackground default cl_transparent; |
| Public | property rasterop: rasteropty read getrasterop write setrasterop default rop_copy; |
| Public | property font: tfont read ffont write setfont; |
| Public | property brush: tsimplebitmap read getbrush write setbrush; |
| Public | property brushorigin: pointty read getbrushorigin write setbrushorigin; |
| Public | property rootbrushorigin: pointty read getrootbrushorigin write setrootbrushorigin; |
| Public | property linewidth: integer read getlinewidth write setlinewidth default 0; |
| Public | property linewidthmm: real read getlinewidthmm write setlinewidthmm; |
| Public | property dashes: dashesstringty read getdashes write setdashes; |
| Public | property capstyle: capstylety read getcapstyle write setcapstyle
default cs_butt; |
| Public | property joinstyle: joinstylety read getjoinstyle write setjoinstyle
default js_miter; |
| Public | property smooth: boolean read getsmooth write setsmooth; |
| Public | property options: canvasoptionsty read getoptions write setoptions
default []; |
| Public | property paintdevice: paintdevicety read fdrawinfo.paintdevice; |
| Public | property gchandle: ptruint read getgchandle; |
| Public | property ppmm: real read fdrawinfo.gc.ppmm write setppmm; |
| Public | property statestamp: longword read fdrawinfo.statestamp; |
Description
Fields
| Protected | fuser: tobject; |
|
This item has no description. | |
| Protected | fintf: pointer; |
|
This item has no description. | |
| Protected | fstate: canvasstatesty; |
|
This item has no description. | |
| Protected | fvaluepo: canvasvaluespoty; |
|
This item has no description. | |
| Protected | fdrawinfo: drawinfoty; |
|
This item has no description. | |
| Protected | gcfonthandle1: fontnumty; |
|
This item has no description. | |
| Protected | afonthandle1: fontnumty; |
|
This item has no description. | |
| Protected | ffont: tfont; |
|
This item has no description. | |
| Public | target: tobject; |
|
This item has no description. | |
| Public | drawinfopo: pointer; |
|
This item has no description. | |
Methods
| Protected | function getgdifuncs: pgdifunctionaty; virtual; |
|
This item has no description. | |
| Protected | procedure registergclink(const dest: tcanvas); |
|
This item has no description. | |
| Protected | procedure unregistergclink(const dest: tcanvas); |
|
This item has no description. | |
| Protected | procedure gcdestroyed(const sender: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure setppmm(avalue: real); virtual; |
|
This item has no description. | |
| Protected | function getfitrect: rectty; virtual; |
|
This item has no description. | |
| Protected | procedure valuechanged(value: canvasstatety); inline; |
|
This item has no description. | |
| Protected | procedure valueschanged(values: canvasstatesty); inline; |
|
This item has no description. | |
| Protected | procedure initgcvalues; virtual; |
|
This item has no description. | |
| Protected | procedure initgcstate; virtual; |
|
This item has no description. | |
| Protected | procedure finalizegcstate; virtual; |
|
This item has no description. | |
| Protected | procedure checkrect(const rect: rectty); |
|
This item has no description. | |
| Protected | procedure checkgcstate(state: canvasstatesty); virtual; |
|
This item has no description. | |
| Protected | procedure checkregionstate; |
|
This item has no description. | |
| Protected | function defaultcliprect: rectty; virtual; |
|
This item has no description. | |
| Protected | function lock: boolean; virtual; |
|
This item has no description. | |
| Protected | procedure unlock; virtual; |
|
This item has no description. | |
| Protected | procedure doflush; |
|
This item has no description. | |
| Protected | procedure gdi(const func: gdifuncty); virtual; |
|
This item has no description. | |
| Protected | procedure init; |
|
This item has no description. | |
| Protected | procedure beforeread; |
|
This item has no description. | |
| Protected | procedure afterread; |
|
This item has no description. | |
| Protected | procedure internalcopyarea(asource: tcanvas; const asourcerect: rectty; const adestrect: rectty; acopymode: rasteropty; atransparentcolor: colorty; amask: tsimplebitmap; const amaskpos: pointty; aalignment: alignmentsty; const atileorigin: pointty; const aopacity: colorty); |
|
This item has no description. | |
| Protected | procedure setcliporigin(const Value: pointty); |
|
This item has no description. | |
| Protected | function getgchandle: ptruint; |
|
This item has no description. | |
| Protected | function getcanvasimage(const abgr: boolean = false): imagety; |
|
This item has no description. | |
| Protected | function getimage(const bgr: boolean): maskedimagety; |
|
This item has no description. | |
| Protected | procedure fillarc(const def: rectty; const startang,extentang: real; const acolor: colorty; const pieslice: boolean); |
|
This item has no description. | |
| Protected | procedure getarcinfo(out startpo,endpo: pointty); |
|
This item has no description. | |
| Protected | procedure internaldrawtext(var info); virtual; |
|
This item has no description. | |
| Protected | function createfont: tcanvasfont; virtual; |
|
This item has no description. | |
| Protected | procedure drawfontline(const startpoint,endpoint: pointty); |
|
This item has no description. | |
| Protected | procedure nextpage; virtual; |
|
This item has no description. | |
| Protected | function getcontextinfopo: pointer; virtual; |
|
This item has no description. | |
| Protected | procedure updatesize(const asize: sizety); virtual; |
|
This item has no description. | |
| Protected | procedure movewindowrect(const adist: pointty; const arect: rectty); |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Public | constructor create(const user: tobject; const intf: icanvas); virtual; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | class function getclassgdifuncs: pgdifunctionaty; virtual; |
|
This item has no description. | |
| Public | procedure updatewindowoptions(var aoptions: internalwindowoptionsty); virtual; |
|
This item has no description. | |
| Public | function creategc(const apaintdevice: paintdevicety; const akind: gckindty; var gc: gcty; const aprintername: msestring = ''): gdierrorty; |
|
This item has no description. | |
| Public | procedure linktopaintdevice(apaintdevice: paintdevicety; const gc: gcty; const cliporigin: pointty); virtual; |
|
This item has no description. | |
| Public | procedure fitppmm(const asize: sizety); |
|
This item has no description. | |
| Public | function size: sizety; |
|
This item has no description. | |
| Public | function highresdevice: boolean; |
|
This item has no description. | |
| Public | procedure initflags(const dest: tcanvas); virtual; |
|
This item has no description. | |
| Public | procedure unlink; |
|
This item has no description. | |
| Public | procedure initdrawinfo(var adrawinfo: drawinfoty); |
|
This item has no description. | |
| Public | function active: boolean; |
|
This item has no description. | |
| Public | procedure reset; virtual; |
|
This item has no description. | |
| Public | function save: integer; |
|
This item has no description. | |
| Public | function restore(index: integer = -1): integer; |
|
This item has no description. | |
| Public | procedure resetpaintedflag; |
|
This item has no description. | |
| Public | procedure endpaint; |
|
This item has no description. | |
| Public | procedure move(const dist: pointty); |
|
This item has no description. | |
| Public | procedure remove(const dist: pointty); |
|
This item has no description. | |
| Public | procedure copyarea(const asource: tcanvas; const asourcerect: rectty; const adestpoint: pointty; const acopymode: rasteropty = rop_copy; const atransparentcolor: colorty = cl_default; const aopacity: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure copyarea(const asource: tcanvas; const asourcerect: rectty; const adestrect: rectty; const alignment: alignmentsty = []; const acopymode: rasteropty = rop_copy; const atransparentcolor: colorty = cl_default; const aopacity: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure drawpoint(const point: pointty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawpoints(const apoints: array of pointty; const acolor: colorty = cl_default; first: integer = 0; acount: integer = -1); |
|
This item has no description. | |
| Public | procedure drawline(const startpoint,endpoint: pointty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawline(const startpoint: pointty; const length: sizety; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawlinesegments(const apoints: array of segmentty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawlines(const apoints: array of pointty; const aclosed: boolean = false; const acolor: colorty = cl_default; const first: integer = 0; const acount: integer = -1); overload; |
|
This item has no description. | |
| Public | procedure drawlines(const apoints: array of pointty; const abreaks: array of integer; const aclosed: boolean = false; const acolor: colorty = cl_default; const first: integer = 0; const acount: integer = -1); overload; |
|
This item has no description. | |
| Public | procedure drawvect(const startpoint: pointty; const direction: graphicdirectionty; const length: integer; const acolor: colorty = cl_default); overload; |
|
This item has no description. | |
| Public | procedure drawvect(const startpoint: pointty; const direction: graphicdirectionty; const length: integer; out endpoint: pointty; const acolor: colorty = cl_default); overload; |
|
This item has no description. | |
| Public | procedure drawrect(const arect: rectty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawcross(const arect: rectty; const acolor: colorty = cl_default; const alignment: alignmentsty = [al_xcentered,al_ycentered]); |
|
This item has no description. | |
| Public | procedure drawellipse(const def: rectty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawellipse1(const def: rectty; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawcircle(const center: pointty; const radius: integer; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawarc(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default); overload; |
|
This item has no description. | |
| Public | procedure drawarc1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default); |
|
This item has no description. | |
| Public | procedure drawarc(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default); overload; |
|
This item has no description. | |
| Public | procedure fillrect(const arect: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure fillellipse(const def: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure fillellipse1(const def: rectty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure fillcircle(const center: pointty; const radius: integer; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure fillarcchord(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure fillarcchord1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure fillarcchord(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure fillarcpieslice(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure fillarcpieslice1(const def: rectty; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure fillarcpieslice(const center: pointty; const radius: integer; const startang,extentang: real; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); overload; |
|
This item has no description. | |
| Public | procedure fillpolygon(const apoints: array of pointty; const acolor: colorty = cl_default; const linecolor: colorty = cl_none); |
|
This item has no description. | |
| Public | procedure drawframe(const arect: rectty; awidth: integer = -1; const acolor: colorty = cl_default; const hiddenedges: edgesty = []); overload; |
|
This item has no description. | |
| Public | procedure drawframe(const arect: rectty; awidth: framety; const acolor: colorty = cl_default; const hiddenedges: edgesty = []); overload; |
|
This item has no description. | |
| Public | procedure drawxorframe(const arect: rectty; const awidth: integer = -1; const abrush: tsimplebitmap = nil); overload; |
|
This item has no description. | |
| Public | procedure drawxorframe(const po1: pointty; const po2: pointty; const awidth: integer = -1; const abrush: tsimplebitmap = nil); overload; |
|
This item has no description. | |
| Public | procedure fillxorrect(const arect: rectty; const abrush: tsimplebitmap = nil); overload; |
|
This item has no description. | |
| Public | procedure fillxorrect(const start: pointty; const length: integer; const direction: graphicdirectionty; const awidth: integer = 0; const abrush: tsimplebitmap = nil); overload; |
|
This item has no description. | |
| Public | procedure drawstring(const atext: msestring; const apos: pointty; const afont: tfont = nil; const grayed: boolean = false; const arotation: real = 0); overload; |
|
This item has no description. | |
| Public | procedure drawstring(const atext: pmsechar; const acount: integer; const apos: pointty; const afont: tfont = nil; const grayed: boolean = false; const arotation: real = 0); overload; |
|
This item has no description. | |
| Public | function getstringwidth(const atext: msestring; const afont: tfont = nil): integer; overload; |
|
This item has no description. | |
| Public | function getstringwidth(const atext: pmsechar; const acount: integer; const afont: tfont = nil): integer; overload; |
|
This item has no description. | |
| Public | function getfontmetrics(const achar: ucs4char; const afont: tfont = nil): fontmetricsty; |
|
This item has no description. | |
| Public | function getfontmetrics(const achar: msechar; const afont: tfont = nil): fontmetricsty; |
|
This item has no description. | |
| Public | procedure resetclipregion; |
|
This item has no description. | |
| Public | procedure setcliprect(const rect: rectty); |
|
This item has no description. | |
| Public | procedure addcliprect(const rect: rectty); |
|
This item has no description. | |
| Public | procedure addclipframe(const frame: rectty; inflate: integer); |
|
This item has no description. | |
| Public | procedure subcliprect(const rect: rectty); |
|
This item has no description. | |
| Public | procedure subclipframe(const frame: rectty; inflate: integer); |
|
This item has no description. | |
| Public | procedure intersectcliprect(const rect: rectty); |
|
This item has no description. | |
| Public | procedure intersectclipframe(const frame: rectty; inflate: integer); |
|
This item has no description. | |
| Public | procedure addclipregion(const region: regionty); |
|
This item has no description. | |
| Public | procedure subclipregion(const region: regionty); |
|
This item has no description. | |
| Public | procedure intersectclipregion(const region: regionty); |
|
This item has no description. | |
| Public | function copyclipregion: regionty; |
|
This item has no description. | |
| Public | function clipregionisempty: boolean; |
|
This item has no description. | |
| Public | function clipbox: rectty; |
|
This item has no description. | |
| Public | function createregion: regionty; overload; |
|
This item has no description. | |
| Public | function createregion(const asource: regionty): regionty; overload; |
|
This item has no description. | |
| Public | function createregion(const arect: rectty): regionty; overload; |
|
This item has no description. | |
| Public | function createregion(const rects: array of rectty): regionty; overload; |
|
This item has no description. | |
| Public | function createregion(frame: rectty; const inflate: integer): regionty; overload; |
|
This item has no description. | |
| Public | procedure destroyregion(region: regionty); |
|
This item has no description. | |
| Public | procedure regmove(const adest: regionty; const dist: pointty); |
|
This item has no description. | |
| Public | procedure regremove(const adest: regionty; const dist: pointty); |
|
This item has no description. | |
| Public | procedure regaddrect(const dest: regionty; const rect: rectty); |
|
This item has no description. | |
| Public | procedure regsubrect(const dest: regionty; const rect: rectty); |
|
This item has no description. | |
| Public | procedure regintersectrect(const dest: regionty; const rect: rectty); |
|
This item has no description. | |
| Public | procedure regaddregion(const dest: regionty; const region: regionty); |
|
This item has no description. | |
| Public | procedure regsubregion(const dest: regionty; const region: regionty); |
|
This item has no description. | |
| Public | procedure regintersectregion(const dest: regionty; const region: regionty); |
|
This item has no description. | |
| Public | function regionisempty(const region: regionty): boolean; |
|
This item has no description. | |
| Public | function regionclipbox(const region: regionty): rectty; |
|
This item has no description. | |
| Public | procedure adjustbrushorigin(const arect: rectty; const alignment: alignmentsty); |
|
This item has no description. | |
Properties
| Public | property origin: pointty read getorigin write setorigin; |
|
This item has no description. | |
| Public | property clipregion: regionty write setclipregion; |
|
This item has no description. | |
| Public | property kind: bitmapkindty read getkind; |
|
This item has no description. | |
| Public | property color: colorty read getcolor write setcolor default cl_black; |
|
This item has no description. | |
| Public | property colorbackground: colorty read getcolorbackground
write setcolorbackground default cl_transparent; |
|
This item has no description. | |
| Public | property rasterop: rasteropty read getrasterop write setrasterop default rop_copy; |
|
This item has no description. | |
| Public | property font: tfont read ffont write setfont; |
|
This item has no description. | |
| Public | property brush: tsimplebitmap read getbrush write setbrush; |
|
This item has no description. | |
| Public | property brushorigin: pointty read getbrushorigin write setbrushorigin; |
|
This item has no description. | |
| Public | property rootbrushorigin: pointty read getrootbrushorigin write setrootbrushorigin; |
|
This item has no description. | |
| Public | property linewidth: integer read getlinewidth write setlinewidth default 0; |
|
This item has no description. | |
| Public | property linewidthmm: real read getlinewidthmm write setlinewidthmm; |
|
This item has no description. | |
| Public | property dashes: dashesstringty read getdashes write setdashes; |
|
This item has no description. | |
| Public | property capstyle: capstylety read getcapstyle write setcapstyle
default cs_butt; |
|
This item has no description. | |
| Public | property joinstyle: joinstylety read getjoinstyle write setjoinstyle
default js_miter; |
|
This item has no description. | |
| Public | property smooth: boolean read getsmooth write setsmooth; |
|
This item has no description. | |
| Public | property options: canvasoptionsty read getoptions write setoptions
default []; |
|
This item has no description. | |
| Public | property paintdevice: paintdevicety read fdrawinfo.paintdevice; |
|
This item has no description. | |
| Public | property gchandle: ptruint read getgchandle; |
|
This item has no description. | |
| Public | property ppmm: real read fdrawinfo.gc.ppmm write setppmm; |
|
This item has no description. | |
| Public | property statestamp: longword read fdrawinfo.statestamp; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.