Class tpostscriptcanvas

Unit

Declaration

type tpostscriptcanvas = class(tstreamprintercanvas)

Description

This item has no description.

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;

This item has no description.

Methods

Protected procedure gcdestroyed(const sender: tcanvas); override;

This item has no description.

Protected procedure freeimagecache(const index: integer);

This item has no description.

Protected procedure touchimagecache(const index: integer);

This item has no description.

Protected function getimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string): boolean;

This item has no description.

Protected function setimagecache(const akind: imagecachekindty; const asource: tcanvas; const asourcerect: rectty; out varname: string; const bytes: bytearty; const amask: tcanvas = nil): boolean;

This item has no description.

Protected function getgdifuncs: pgdifunctionaty; override;

This item has no description.

Protected procedure updatescale; override;

This item has no description.

Protected procedure initgcstate; override;

This item has no description.

Protected procedure initgcvalues; override;

This item has no description.

Protected procedure finalizegcstate; override;

This item has no description.

Protected procedure checkgcstate(state: canvasstatesty) override;

This item has no description.

Protected procedure checkscale;

This item has no description.

Protected function encodefontname(const namenum,codepage: integer): string;

This item has no description.

Protected function checkfont(const afont: fontnumty; const acodepage: integer): integer;

This item has no description.

Protected function getscalestring(const astyle: fontstylesty): ansistring;

This item has no description.

Protected procedure selectfont(const afont: fontnumty; const acodepage: integer);

This item has no description.

Protected procedure definefont(const adata: fontnumty; const acodepage: integer);

This item has no description.

Protected procedure setpslinewidth(const avalue: integer);

This item has no description.

Protected function strokestr: string;

This item has no description.

Protected function rectscalestring(const arect: rectty): string;

This item has no description.

Protected function imagematrixstring(const asize: sizety): string;

This item has no description.

Protected function getcolorstring(const acolor: colorty): string;

This item has no description.

Protected function setcolorstring(const acolor: colorty): string;

This item has no description.

Protected procedure writebinhex(const data: bytearty);

This item has no description.

Protected function psencode(const text: pchar; const count: integer): string;

This item has no description.

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;

This item has no description.

Protected function createpattern(const sourcerect,destrect: rectty; const acolorbackground,acolorforeground: colorty; const acanvas: tcanvas; const patname: string): boolean;

This item has no description.

Protected procedure handlepoly(const points: ppointty; const lastpoint: integer; const closed: boolean; const fill: boolean);

This item has no description.

Protected procedure handleellipse(const rect: rectty; const fill: boolean);

This item has no description.

Protected procedure checkcolorspace;

This item has no description.

Protected procedure ps_drawstring16;

This item has no description.

Protected procedure ps_drawarc;

This item has no description.

Protected procedure ps_destroygc;

This item has no description.

Protected procedure ps_changegc;

This item has no description.

Protected procedure ps_drawlines;

This item has no description.

Protected procedure ps_drawlinesegments;

This item has no description.

Protected procedure ps_fillpolygon;

This item has no description.

Protected procedure ps_fillarc;

This item has no description.

Protected procedure ps_fillrect;

This item has no description.

Protected procedure ps_copyarea;

This item has no description.

Protected procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); override;

This item has no description.

Protected procedure begintextclip(const arect: rectty); override;

This item has no description.

Protected procedure endtextclip; override;

This item has no description.

Protected procedure beginpage; override;

This item has no description.

Protected procedure endpage; override;

This item has no description.

Protected function registermap(const acodepage: integer): string;

This item has no description.

Protected procedure checkmap(const acodepage: integer);

This item has no description.

Protected function gcposstring(const apos: pointty): string;

This item has no description.

Public constructor create(const user: tprinter; const intf: icanvas);

This item has no description.

Public function devpos(const apos: pointty): pspointty;

This item has no description.

Public function posstring(const apos: pointty): string;

This item has no description.

Public function matrixstring(const mat: psmatrixty): string;

This item has no description.

Public function transrotate(const sourcecenter,destcenter: pointty; const angle: real): string;

This item has no description.

Public function diststring(const adist: integer): string;

This item has no description.

Public function rectsizestring(const asize: sizety): string;

This item has no description.

Public function sizestring(const asize: sizety): string;

This item has no description.

Public function rectstring(const arect: rectty): string;

This item has no description.

Public procedure pscommandbegin();

This item has no description.

Public procedure pscommandwrite(const atext: string);

This item has no description.

Public procedure pscommandend();

This item has no description.

Public procedure pscommand(const atext: string);

This item has no description.

Properties

Published property pslevel: pslevelty read fpslevel write fpslevel default psl_3;

This item has no description.

Published property imagecachesize: integer read fimagecachesize write setimagecachesize default defaultimagecachesize;

This item has no description.

Published property imagecachemaxitemsize: integer read fimagecachemaxitemsize write setimagecachemaxitemsize default defaultimagecachemaxitemsize;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.