Class tcustomprintercanvas

Unit

Declaration

type tcustomprintercanvas = class(tcanvas)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fpstate: printercanvasstatesty;
Protected fgcoffsetx: real;
Protected fgcoffsety: real;
Protected fgcscale: real;
Protected foriginx: real;
Protected foriginy: real;
Protected fscale: real;
Protected foffset: pointty;
Protected fclientrect: rectty;
Protected fpapersize: sizety;
Protected fboundingbox: framety;
Protected ftitle: msestring;
Protected flinenumber: integer;
Protected fpagelinenumber: integer;
Protected fliney: integer;
Protected fprinter: tcustomprinter;
Protected fcolorspace: colorspacety;
Protected fpreamble: string;

Methods

Protected function createfont: tcanvasfont; override;
Protected procedure initprinting(const apreamble: string = '');
Protected procedure checkgcstate(state: canvasstatesty); override;
Protected function getfitrect: rectty; override;
Protected procedure setppmm(avalue: real); override;
Protected function defaultcliprect: rectty; override;
Protected procedure updatescale; virtual;
Protected procedure updateframe;
Protected procedure beginpage; virtual;
Protected procedure endpage; virtual;
Protected procedure dotextout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real; afontcolorshadow: colorty);
Protected procedure textout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real); virtual; abstract;
Protected procedure begintextclip(const arect: rectty); virtual; abstract;
Protected procedure endtextclip; virtual; abstract;
Protected procedure checknextpage;
Protected procedure internalwriteln(const avalue: richstringty);
Protected procedure setpagesstring(const avalue: msestring);
Protected procedure internaldrawtext(var info); override;
Public constructor create(const user: tcustomprinter; const intf: icanvas); reintroduce;
Public procedure initflags(const dest: tcanvas); override;
Public procedure drawtext(var info: drawtextinfoty); overload; virtual;
Public procedure drawtext(const atext: richstringty; const adest: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;
Public procedure drawtext(const atext: richstringty; const adest,aclip: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;
Public procedure drawtext(const atext: msestring; const adest: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;
Public procedure writeln(const avalue: msestring = ''); overload;
Public procedure writeln(const avalue: richstringty); overload;
Public procedure writelines(const alines: array of msestring); overload;
Public procedure writelines(const alines: msestringarty); overload;
Public procedure writelines(const alines: richstringarty); overload;
Public function remaininglines: integer;
Public function liney1: integer;
Public function lineheight: integer;
Public procedure nextpage; override;
Public function active: boolean;

Properties

Public property indentx: integer read findentx write findentx;
Public property indenty: integer read findenty write findenty;
Public property headerheight: integer read fheaderheight write fheaderheight;
Public property footerheight: integer read ffooterheight write ffooterheight;
Public property linenumber: integer read flinenumber;
Public property pagelinenumber: integer read fpagelinenumber;
Public property liney: integer read getliney write setliney;
Public property title: msestring read ftitle write ftitle;
Public property clientrect: rectty read fclientrect;
Public property clientpos: pointty read fclientrect.pos;
Public property clientsize: sizety read fclientrect.size;
Public property clientleft: integer read fclientrect.x;
Public property clienttop: integer read fclientrect.y;
Public property clientwidth: integer read fclientrect.cx;
Public property clientheight: integer read fclientrect.cy;
Public property colorspace: colorspacety read fcolorspace write setcolorspace default cos_gray;
Public property pagenumber: integer read fpagenumber;
Public property pageskind: pageskindty read fpageskind write fpageskind;
Public property pages: pagerangearty read fpages write setpages;
Public property pagesstring: msestring read fpagesstring write setpagesstring;
Public property printorientation: pageorientationty read fprintorientation write setprintorientation default pao_portrait;

Description

Fields

Protected fpstate: printercanvasstatesty;

This item has no description.

Protected fgcoffsetx: real;

This item has no description.

Protected fgcoffsety: real;

This item has no description.

Protected fgcscale: real;

This item has no description.

Protected foriginx: real;

This item has no description.

Protected foriginy: real;

This item has no description.

Protected fscale: real;

This item has no description.

Protected foffset: pointty;

This item has no description.

Protected fclientrect: rectty;

This item has no description.

Protected fpapersize: sizety;

This item has no description.

Protected fboundingbox: framety;

This item has no description.

Protected ftitle: msestring;

This item has no description.

Protected flinenumber: integer;

This item has no description.

Protected fpagelinenumber: integer;

This item has no description.

Protected fliney: integer;

This item has no description.

Protected fprinter: tcustomprinter;

This item has no description.

Protected fcolorspace: colorspacety;

This item has no description.

Protected fpreamble: string;

This item has no description.

Methods

Protected function createfont: tcanvasfont; override;

This item has no description.

Protected procedure initprinting(const apreamble: string = '');

This item has no description.

Protected procedure checkgcstate(state: canvasstatesty); override;

This item has no description.

Protected function getfitrect: rectty; override;

This item has no description.

Protected procedure setppmm(avalue: real); override;

This item has no description.

Protected function defaultcliprect: rectty; override;

This item has no description.

Protected procedure updatescale; virtual;

This item has no description.

Protected procedure updateframe;

This item has no description.

Protected procedure beginpage; virtual;

This item has no description.

Protected procedure endpage; virtual;

This item has no description.

Protected procedure dotextout(const text: richstringty; const dest: rectty; const flags: textflagsty; const tabdist: real; afontcolorshadow: colorty);

This item has no description.

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

This item has no description.

Protected procedure begintextclip(const arect: rectty); virtual; abstract;

This item has no description.

Protected procedure endtextclip; virtual; abstract;

This item has no description.

Protected procedure checknextpage;

This item has no description.

Protected procedure internalwriteln(const avalue: richstringty);

This item has no description.

Protected procedure setpagesstring(const avalue: msestring);

This item has no description.

Protected procedure internaldrawtext(var info); override;

This item has no description.

Public constructor create(const user: tcustomprinter; const intf: icanvas); reintroduce;

This item has no description.

Public procedure initflags(const dest: tcanvas); override;

This item has no description.

Public procedure drawtext(var info: drawtextinfoty); overload; virtual;

This item has no description.

Public procedure drawtext(const atext: richstringty; const adest: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;

This item has no description.

Public procedure drawtext(const atext: richstringty; const adest,aclip: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;

This item has no description.

Public procedure drawtext(const atext: msestring; const adest: rectty; aflags: textflagsty = []; afont: tfont = nil; atabulators: ttabulators = nil); overload;

This item has no description.

Public procedure writeln(const avalue: msestring = ''); overload;

This item has no description.

Public procedure writeln(const avalue: richstringty); overload;

This item has no description.

Public procedure writelines(const alines: array of msestring); overload;

This item has no description.

Public procedure writelines(const alines: msestringarty); overload;

This item has no description.

Public procedure writelines(const alines: richstringarty); overload;

This item has no description.

Public function remaininglines: integer;

This item has no description.

Public function liney1: integer;

This item has no description.

Public function lineheight: integer;

This item has no description.

Public procedure nextpage; override;

This item has no description.

Public function active: boolean;

This item has no description.

Properties

Public property indentx: integer read findentx write findentx;

This item has no description.

Public property indenty: integer read findenty write findenty;

This item has no description.

Public property headerheight: integer read fheaderheight write fheaderheight;

This item has no description.

Public property footerheight: integer read ffooterheight write ffooterheight;

This item has no description.

Public property linenumber: integer read flinenumber;

This item has no description.

Public property pagelinenumber: integer read fpagelinenumber;

This item has no description.

Public property liney: integer read getliney write setliney;

This item has no description.

Public property title: msestring read ftitle write ftitle;

This item has no description.

Public property clientrect: rectty read fclientrect;

This item has no description.

Public property clientpos: pointty read fclientrect.pos;

This item has no description.

Public property clientsize: sizety read fclientrect.size;

This item has no description.

Public property clientleft: integer read fclientrect.x;

This item has no description.

Public property clienttop: integer read fclientrect.y;

This item has no description.

Public property clientwidth: integer read fclientrect.cx;

This item has no description.

Public property clientheight: integer read fclientrect.cy;

This item has no description.

Public property colorspace: colorspacety read fcolorspace write setcolorspace default cos_gray;

This item has no description.

Public property pagenumber: integer read fpagenumber;

This item has no description.

Public property pageskind: pageskindty read fpageskind write fpageskind;

This item has no description.

Public property pages: pagerangearty read fpages write setpages;

This item has no description.

Public property pagesstring: msestring read fpagesstring write setpagesstring;

This item has no description.

Public property printorientation: pageorientationty read fprintorientation write setprintorientation default pao_portrait;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.