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

Overview

Fields

Protected fhaspage: boolean;

Methods

Protected procedure gcdestroyed(const sender: tcanvas); override;
Protected procedure freeimagecache(const index: integer);
Protected procedure touchimagecache(const index: integer);
Protected function getimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string): boolean;
Protected function setimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string; const bytes: bytearty; const amask: tcanvas = nil): boolean;
Protected function getgdifuncs: pgdifunctionaty; override;
Protected procedure updatescale; override;
Protected procedure initgcstate; override;
Protected procedure initgcvalues; override;
Protected procedure finalizegcstate; override;
Protected procedure checkgcstate(state: canvasstatesty) override;
Protected procedure checkscale;
Protected function encodefontname(const namenum,codepage: integer): string;
Protected function checkfont(const afont: fontnumty; const acodepage: integer): integer;
Protected function getscalestring(const astyle: fontstylesty): ansistring;
Protected procedure selectfont(const afont: fontnumty; const acodepage: integer);
Protected procedure definefont(const adata: fontnumty; const acodepage: integer);
Protected procedure setpslinewidth(const avalue: integer);
Protected function strokestr: string;
Protected function rectscalestring(const arect: rectty): string;
Protected function imagematrixstring(const asize: sizety): string;
Protected function getcolorstring(const acolor: colorty): string;
Protected function setcolorstring(const acolor: colorty): string;
Protected procedure writebinhex(const data: bytearty);
Protected function psencode(const text: pchar; const count: integer): string;
Protected 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;
Protected function createpattern(const sourcerect,destrect: rectty; const acolorbackground,acolorforeground: colorty; const acanvas: tcanvas; const patname: string): boolean;
Protected procedure handlepoly(const points: ppointty; const lastpoint: integer; const closed: boolean; const fill: boolean);
Protected procedure handleellipse(const rect: rectty; const fill: boolean);
Protected procedure checkcolorspace;
Protected procedure ps_drawstring16;
Protected procedure ps_drawarc;
Protected procedure ps_destroygc;
Protected procedure ps_changegc;
Protected procedure ps_drawlines;
Protected procedure ps_drawlinesegments;
Protected procedure ps_fillpolygon;
Protected procedure ps_fillarc;
Protected procedure ps_fillrect;
Protected procedure ps_copyarea;
Protected procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); override;
Protected procedure begintextclip(const arect: rectty); override;
Protected procedure endtextclip; override;
Protected procedure beginpage; override;
Protected procedure endpage; override;
Protected function registermap(const acodepage: integer): string;
Protected procedure checkmap(const acodepage: integer);
Protected function gcposstring(const apos: pointty): string;
Public constructor create(const user: tprinter; const intf: icanvas);
Public function devpos(const apos: pointty): pspointty;
Public function posstring(const apos: pointty): string;
Public function matrixstring(const mat: psmatrixty): string;
Public function transrotate(const sourcecenter,destcenter: pointty; const angle: real): string;
Public function diststring(const adist: integer): string;
Public function rectsizestring(const asize: sizety): string;
Public function sizestring(const asize: sizety): string;
Public function rectstring(const arect: rectty): string;
Public procedure pscommandbegin();
Public procedure pscommandwrite(const atext: string);
Public procedure pscommandend();
Public procedure pscommand(const atext: string);

Properties

Published property pslevel: pslevelty read fpslevel write fpslevel default psl_3;
Published property imagecachesize: integer read fimagecachesize write setimagecachesize default defaultimagecachesize;
Published property imagecachemaxitemsize: integer read fimagecachemaxitemsize write setimagecachemaxitemsize default defaultimagecachemaxitemsize;

Description

Fields

Protected fhaspage: boolean;
 

Methods

Protected procedure gcdestroyed(const sender: tcanvas); override;
 
Protected procedure freeimagecache(const index: integer);
 
Protected procedure touchimagecache(const index: integer);
 
Protected function getimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string): boolean;
 
Protected function setimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string; const bytes: bytearty; const amask: tcanvas = nil): boolean;
 
Protected function getgdifuncs: pgdifunctionaty; override;
 
Protected procedure updatescale; override;
 
Protected procedure initgcstate; override;
 
Protected procedure initgcvalues; override;
 
Protected procedure finalizegcstate; override;
 
Protected procedure checkgcstate(state: canvasstatesty) override;
 
Protected procedure checkscale;
 
Protected function encodefontname(const namenum,codepage: integer): string;
 
Protected function checkfont(const afont: fontnumty; const acodepage: integer): integer;
 
Protected function getscalestring(const astyle: fontstylesty): ansistring;
 
Protected procedure selectfont(const afont: fontnumty; const acodepage: integer);
 
Protected procedure definefont(const adata: fontnumty; const acodepage: integer);
 
Protected procedure setpslinewidth(const avalue: integer);
 
Protected function strokestr: string;
 
Protected function rectscalestring(const arect: rectty): string;
 
Protected function imagematrixstring(const asize: sizety): string;
 
Protected function getcolorstring(const acolor: colorty): string;
 
Protected function setcolorstring(const acolor: colorty): string;
 
Protected procedure writebinhex(const data: bytearty);
 
Protected function psencode(const text: pchar; const count: integer): string;
 
Protected 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;
 
Protected function createpattern(const sourcerect,destrect: rectty; const acolorbackground,acolorforeground: colorty; const acanvas: tcanvas; const patname: string): boolean;
 
Protected procedure handlepoly(const points: ppointty; const lastpoint: integer; const closed: boolean; const fill: boolean);
 
Protected procedure handleellipse(const rect: rectty; const fill: boolean);
 
Protected procedure checkcolorspace;
 
Protected procedure ps_drawstring16;
 
Protected procedure ps_drawarc;
 
Protected procedure ps_destroygc;
 
Protected procedure ps_changegc;
 
Protected procedure ps_drawlines;
 
Protected procedure ps_drawlinesegments;
 
Protected procedure ps_fillpolygon;
 
Protected procedure ps_fillarc;
 
Protected procedure ps_fillrect;
 
Protected procedure ps_copyarea;
 
Protected procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); override;
 
Protected procedure begintextclip(const arect: rectty); override;
 
Protected procedure endtextclip; override;
 
Protected procedure beginpage; override;
 
Protected procedure endpage; override;
 
Protected function registermap(const acodepage: integer): string;
 
Protected procedure checkmap(const acodepage: integer);
 
Protected function gcposstring(const apos: pointty): string;
 
Public constructor create(const user: tprinter; const intf: icanvas);
 
Public function devpos(const apos: pointty): pspointty;
 
Public function posstring(const apos: pointty): string;
 
Public function matrixstring(const mat: psmatrixty): string;
 
Public function transrotate(const sourcecenter,destcenter: pointty; const angle: real): string;
 
Public function diststring(const adist: integer): string;
 
Public function rectsizestring(const asize: sizety): string;
 
Public function sizestring(const asize: sizety): string;
 
Public function rectstring(const arect: rectty): string;
 
Public procedure pscommandbegin();
 
Public procedure pscommandwrite(const atext: string);
 
Public procedure pscommandend();
 
Public procedure pscommand(const atext: string);
 

Properties

Published property pslevel: pslevelty read fpslevel write fpslevel default psl_3;
 
Published property imagecachesize: integer read fimagecachesize write setimagecachesize default defaultimagecachesize;
 
Published property imagecachemaxitemsize: integer read fimagecachemaxitemsize write setimagecachemaxitemsize default defaultimagecachemaxitemsize;
 

Generated by PasDoc 0.16.0.