Class tpostscriptcanvas
Unit
Declaration
type tpostscriptcanvas = class(tstreamprintercanvas)
Description
No description available, ancestor tstreamprintercanvas description follows
No description available, ancestor tprintercanvas description follows
No description available, ancestor tcustomprintercanvas description follows
No description available, ancestor tcanvas description follows
Hierarchy
- TObject
- tpersistent
- tcanvas
- tcustomprintercanvas
- tprintercanvas
- tstreamprintercanvas
- tpostscriptcanvas
Overview
Fields
fhaspage: boolean; |
Methods
procedure gcdestroyed(const sender: tcanvas); override; |
|
procedure freeimagecache(const index: integer); |
|
procedure touchimagecache(const index: integer); |
|
function getimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string): boolean; |
|
function setimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string; const bytes: bytearty; const amask: tcanvas = nil): boolean; |
|
function getgdifuncs: pgdifunctionaty; override; |
|
procedure updatescale; override; |
|
procedure initgcstate; override; |
|
procedure initgcvalues; override; |
|
procedure finalizegcstate; override; |
|
procedure checkgcstate(state: canvasstatesty) override; |
|
procedure checkscale; |
|
function encodefontname(const namenum,codepage: integer): string; |
|
function checkfont(const afont: fontnumty; const acodepage: integer): integer; |
|
function getscalestring(const astyle: fontstylesty): ansistring; |
|
procedure selectfont(const afont: fontnumty; const acodepage: integer); |
|
procedure definefont(const adata: fontnumty; const acodepage: integer); |
|
procedure setpslinewidth(const avalue: integer); |
|
function strokestr: string; |
|
function rectscalestring(const arect: rectty): string; |
|
function imagematrixstring(const asize: sizety): string; |
|
function getcolorstring(const acolor: colorty): string; |
|
function setcolorstring(const acolor: colorty): string; |
|
procedure writebinhex(const data: bytearty); |
|
function psencode(const text: pchar; const count: integer): string; |
|
function getshowstring(const avalue: pmsechar; const count: integer; fontneeded: boolean = false; const acolor: colorty = cl_none; const acolorbackground: colorty = cl_none; const fontstyle: fontstylesty = []): string; |
|
function createpattern(const sourcerect,destrect: rectty; const acolorbackground,acolorforeground: colorty; const acanvas: tcanvas; const patname: string): boolean; |
|
procedure handlepoly(const points: ppointty; const lastpoint: integer; const closed: boolean; const fill: boolean); |
|
procedure handleellipse(const rect: rectty; const fill: boolean); |
|
procedure checkcolorspace; |
|
procedure ps_drawstring16; |
|
procedure ps_drawarc; |
|
procedure ps_destroygc; |
|
procedure ps_changegc; |
|
procedure ps_drawlines; |
|
procedure ps_drawlinesegments; |
|
procedure ps_fillpolygon; |
|
procedure ps_fillarc; |
|
procedure ps_fillrect; |
|
procedure ps_copyarea; |
|
procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); override; |
|
procedure begintextclip(const arect: rectty); override; |
|
procedure endtextclip; override; |
|
procedure beginpage; override; |
|
procedure endpage; override; |
|
function registermap(const acodepage: integer): string; |
|
procedure checkmap(const acodepage: integer); |
|
function gcposstring(const apos: pointty): string; |
|
constructor create(const user: tprinter; const intf: icanvas); |
|
function devpos(const apos: pointty): pspointty; |
|
function posstring(const apos: pointty): string; |
|
function matrixstring(const mat: psmatrixty): string; |
|
function transrotate(const sourcecenter,destcenter: pointty; const angle: real): string; |
|
function diststring(const adist: integer): string; |
|
function rectsizestring(const asize: sizety): string; |
|
function sizestring(const asize: sizety): string; |
|
function rectstring(const arect: rectty): string; |
|
procedure pscommandbegin(); |
|
procedure pscommandwrite(const atext: string); |
|
procedure pscommandend(); |
|
procedure pscommand(const atext: string); |
Properties
property pslevel: pslevelty read fpslevel write fpslevel default psl_3; |
|
property imagecachesize: integer read fimagecachesize write setimagecachesize
default defaultimagecachesize; |
|
property imagecachemaxitemsize: integer read fimagecachemaxitemsize
write setimagecachemaxitemsize
default defaultimagecachemaxitemsize; |
Description
Fields
fhaspage: boolean; |
|
Methods
procedure gcdestroyed(const sender: tcanvas); override; |
|
procedure freeimagecache(const index: integer); |
|
procedure touchimagecache(const index: integer); |
|
function getimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string): boolean; |
|
function setimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string; const bytes: bytearty; const amask: tcanvas = nil): boolean; |
|
function getgdifuncs: pgdifunctionaty; override; |
|
procedure updatescale; override; |
|
procedure initgcstate; override; |
|
procedure initgcvalues; override; |
|
procedure finalizegcstate; override; |
|
procedure checkgcstate(state: canvasstatesty) override; |
|
procedure checkscale; |
|
function encodefontname(const namenum,codepage: integer): string; |
|
function checkfont(const afont: fontnumty; const acodepage: integer): integer; |
|
function getscalestring(const astyle: fontstylesty): ansistring; |
|
procedure selectfont(const afont: fontnumty; const acodepage: integer); |
|
procedure definefont(const adata: fontnumty; const acodepage: integer); |
|
procedure setpslinewidth(const avalue: integer); |
|
function strokestr: string; |
|
function rectscalestring(const arect: rectty): string; |
|
function imagematrixstring(const asize: sizety): string; |
|
function getcolorstring(const acolor: colorty): string; |
|
function setcolorstring(const acolor: colorty): string; |
|
procedure writebinhex(const data: bytearty); |
|
function psencode(const text: pchar; const count: integer): string; |
|
function getshowstring(const avalue: pmsechar; const count: integer; fontneeded: boolean = false; const acolor: colorty = cl_none; const acolorbackground: colorty = cl_none; const fontstyle: fontstylesty = []): string; |
|
function createpattern(const sourcerect,destrect: rectty; const acolorbackground,acolorforeground: colorty; const acanvas: tcanvas; const patname: string): boolean; |
|
procedure handlepoly(const points: ppointty; const lastpoint: integer; const closed: boolean; const fill: boolean); |
|
procedure handleellipse(const rect: rectty; const fill: boolean); |
|
procedure checkcolorspace; |
|
procedure ps_drawstring16; |
|
procedure ps_drawarc; |
|
procedure ps_destroygc; |
|
procedure ps_changegc; |
|
procedure ps_drawlines; |
|
procedure ps_drawlinesegments; |
|
procedure ps_fillpolygon; |
|
procedure ps_fillarc; |
|
procedure ps_fillrect; |
|
procedure ps_copyarea; |
|
procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); override; |
|
procedure begintextclip(const arect: rectty); override; |
|
procedure endtextclip; override; |
|
procedure beginpage; override; |
|
procedure endpage; override; |
|
function registermap(const acodepage: integer): string; |
|
procedure checkmap(const acodepage: integer); |
|
function gcposstring(const apos: pointty): string; |
|
constructor create(const user: tprinter; const intf: icanvas); |
|
function devpos(const apos: pointty): pspointty; |
|
function posstring(const apos: pointty): string; |
|
function matrixstring(const mat: psmatrixty): string; |
|
function transrotate(const sourcecenter,destcenter: pointty; const angle: real): string; |
|
function diststring(const adist: integer): string; |
|
function rectsizestring(const asize: sizety): string; |
|
function sizestring(const asize: sizety): string; |
|
function rectstring(const arect: rectty): string; |
|
procedure pscommandbegin(); |
|
procedure pscommandwrite(const atext: string); |
|
procedure pscommandend(); |
|
procedure pscommand(const atext: string); |
|
Properties
property pslevel: pslevelty read fpslevel write fpslevel default psl_3; |
|
property imagecachesize: integer read fimagecachesize write setimagecachesize
default defaultimagecachesize; |
|
property imagecachemaxitemsize: integer read fimagecachemaxitemsize
write setimagecachemaxitemsize
default defaultimagecachemaxitemsize; |
|
Generated by PasDoc 0.16.0.