File: industrialbase.xml

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (138 lines) | stat: -rw-r--r-- 4,358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<!--

Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus 
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0 
International public license.

https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt

Copyright (c) 1997-2025, by the Lazarus Development Team.

-->
<fpdoc-descriptions>
<package name="lcl">

<!--
====================================================================
IndustrialBase
====================================================================
-->

<module name="IndustrialBase">
<short>
Contains the base class for a graphic control with an anti-aliasing setting.
</short>
<descr>
<p>
<file>industrialbase.pp</file> contains the base class for a graphic control 
with an anti-aliasing setting.
</p>
<p>
<file>industrialbase.pp</file> is part of the Lazarus Component Library (LCL).
</p>
</descr>

<element name="TIndustrialBase">
<short>
Implements the base class for a control with an anti-aliasing setting.
</short>
<descr>
<p>
<var>TIndustrialBase</var> is a <var>TGraphicControl</var> descendant. It 
extends the ancestor class with an AntiAliasingMode property which indicates 
if anti-aliasing is enabled on the Canvas for the control. The property 
emulates the behavior implemented in the TCustomImage / TImage component.
</p>
<p>
TIndustrialBase is the ancestor for the TArrow class.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TGraphicControl">TGraphicControl</link>
<link id="#lcl.arrow.TArrow">TArrow</link>
</seealso>
</element>

<!-- private -->
<element name="TIndustrialBase.FAntiAliasingMode"/>
<element name="TIndustrialBase.SetAntiAliasingMode"/>
<element name="TIndustrialBase.SetAntiAliasingMode.AValue"/>

<!-- protected -->
<element name="TIndustrialBase.GraphicChanged">
<short>
Causes the control to be redrawn when it is parented and visible.
</short>
<descr>
<p>
Calls the Invalidate method to request an update to the control. No actions 
are performed in the method if Parent has not be assigned, or the control is 
not Visible.
</p>
<p>
GraphicChanged is called when the value in AntiAliasingMode is updated.
</p>
</descr>
<seealso>
</seealso>
</element>

<!-- public -->
<element name="TIndustrialBase.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor in 
<var>TIndustrialBase</var>. It calls the inherited method on entry to set the Owner for the class instance, and to allocate resources for the Canvas property.
</p>
<p>
Create sets the default value for the AntiAliasingMode property to 
amDontCare; this causes the default setting for the platform or widgetset to 
be used. The initial bounds for the control are set in the method, and the 
control style flags are updated to remove the csSetCaption flag.
</p>
</descr>
<seealso>
<link id="TIndustrialBase.AntiAliasingMode"/>
</seealso>
</element>
<element name="TIndustrialBase.Create.aOwner">
<short>Owner of the class instance.</short>
</element>

<!-- published -->
<element name="TIndustrialBase.AntiAliasingMode">
<short>
Indicates whether anti-aliased drawing is enabled for the control Canvas.
</short>
<descr>
<p>
<var>AntiAliasingMode</var> is a <var>TAntialiasingMode</var> property which 
indicates whether anti-aliased drawing is enabled for the control Canvas. It emulates the behavior implemented in the TCustomImage / TImage component.
</p>
<p>
Anti-aliased drawing is a technique used to reduce the "stair-stepping" 
effect for edges or lines in an image. It combines the colors for adjacent 
pixels to soften a hard edge, and make the image look more realistic.
</p>
<p>
The default value for the property is amDontCare, and indicates that the 
default setting for the platform or widgetset is used. Changing the property 
value causes GraphicChanged to be called to redraw the control when allowed.
</p>
<p>
Descendent classes, like TArrow, use the value to configure the corresponding property in its control Canvas.
</p>
</descr>
<seealso>
<link id="#lcl.graphics.TAntialiasingMode">TAntialiasingMode</link>
<link id="#lcl.graphics.TCanvas.AntialiasingMode">TCanvas.AntialiasingMode</link>
</seealso>
</element>

</module> <!-- IndustrialBase -->

</package>
</fpdoc-descriptions>