Class tcustomdialcontroller

Unit

Declaration

type tcustomdialcontroller = class(tvirtualpersistent)

Description

No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected fsstart: real;
Protected flnsstart: real;
Protected fstart: real;
Protected fshift: real;
Protected frange: real;
Protected flnrange: real;

Methods

Protected procedure setdirection(const avalue: graphicdirectionty); virtual;
Protected procedure layoutchanged;
Protected procedure changed;
Protected procedure calclineend(const ainfo: diallineinfoty; const aopposite: boolean; const arect: rectty; out linestart,lineend: integer; out linedirection: graphicdirectionty; out adim: rectextty);
Protected procedure adjustcaption(const dir: graphicdirectionty; const arotatetext: boolean; const ainfo: diallineinfoty; const afont: tfont; const stringwidth: integer; var pos: pointty);
Protected procedure checklayout;
Protected procedure invalidate;
Protected procedure fontchanged(const sender: tobject);
Protected procedure transform(var apoint: pointty);
Protected procedure defineproperties(filer: tfiler); override;
Protected function getactdialrect(out arect: rectty): boolean;
Protected procedure paintdial(const acanvas: tcanvas);
Public constructor create(const aintf: idialcontroller); reintroduce; virtual;
Public destructor destroy; override;
Public procedure createfont;
Public procedure paint(const acanvas: tcanvas);
Public procedure afterpaint(const acanvas: tcanvas);

Properties

Public property options: dialoptionsty read foptions write setoptions default [];
Public property visible: boolean read getvisible write setvisible;
Public property opposite: boolean read getopposite write setopposite;
Public property sideline: boolean read getsideline write setsideline;
Public property boxline: boolean read getboxline write setboxline;
Public property log: boolean read getlog write setlog;
Public property front: boolean read getfront write setfront;
Public property direction: graphicdirectionty read fdirection write setdirection default gd_right;
Public property indent1: integer read findent1 write setindent1 default 0;
Public property indent2: integer read findent2 write setindent2 default 0;
Public property fitdist: integer read ffitdist write setfitdist default 0;
Public property start: real read fstart write setstart;
Public property shift: real read fshift write setshift;
Public property range: real read frange write setrange;
Public property kind: dialdatakindty read fkind write setkind default dtk_real;
Public property markers: tdialmarkers read fmarkers write setmarkers;
Public property ticks: tdialticks read fticks write setticks;
Public property color: colorty read fcolor write setcolor default defaultdialcolor;
Public property widthmm: real read fwidthmm write setwidthmm;
Public property font: tdialfont read getfont write setfont stored isfontstored;
Public property angle: real read fangle write setangle;

Description

Fields

Protected fsstart: real;
 
Protected flnsstart: real;
 
Protected fstart: real;
 
Protected fshift: real;
 
Protected frange: real;
 
Protected flnrange: real;
 

Methods

Protected procedure setdirection(const avalue: graphicdirectionty); virtual;
 
Protected procedure layoutchanged;
 
Protected procedure changed;
 
Protected procedure calclineend(const ainfo: diallineinfoty; const aopposite: boolean; const arect: rectty; out linestart,lineend: integer; out linedirection: graphicdirectionty; out adim: rectextty);
 
Protected procedure adjustcaption(const dir: graphicdirectionty; const arotatetext: boolean; const ainfo: diallineinfoty; const afont: tfont; const stringwidth: integer; var pos: pointty);
 
Protected procedure checklayout;
 
Protected procedure invalidate;
 
Protected procedure fontchanged(const sender: tobject);
 
Protected procedure transform(var apoint: pointty);
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected function getactdialrect(out arect: rectty): boolean;
 
Protected procedure paintdial(const acanvas: tcanvas);
 
Public constructor create(const aintf: idialcontroller); reintroduce; virtual;
 
Public destructor destroy; override;
 
Public procedure createfont;
 
Public procedure paint(const acanvas: tcanvas);
 
Public procedure afterpaint(const acanvas: tcanvas);
 

Properties

Public property options: dialoptionsty read foptions write setoptions default [];
 
Public property visible: boolean read getvisible write setvisible;
 
Public property opposite: boolean read getopposite write setopposite;
 
Public property sideline: boolean read getsideline write setsideline;
 
Public property boxline: boolean read getboxline write setboxline;
 
Public property log: boolean read getlog write setlog;
 
Public property front: boolean read getfront write setfront;
 
Public property direction: graphicdirectionty read fdirection write setdirection default gd_right;
 
Public property indent1: integer read findent1 write setindent1 default 0;
 
Public property indent2: integer read findent2 write setindent2 default 0;
 
Public property fitdist: integer read ffitdist write setfitdist default 0;
 
Public property start: real read fstart write setstart;
 
Public property shift: real read fshift write setshift;
 
Public property range: real read frange write setrange;
 
Public property kind: dialdatakindty read fkind write setkind default dtk_real;
 
Public property markers: tdialmarkers read fmarkers write setmarkers;
 
Public property ticks: tdialticks read fticks write setticks;
 
Public property color: colorty read fcolor write setcolor default defaultdialcolor;
 
Public property widthmm: real read fwidthmm write setwidthmm;
 
Public property font: tdialfont read getfont write setfont stored isfontstored;
 
Public property angle: real read fangle write setangle;
 

Generated by PasDoc 0.16.0.