Docs: LCL/lazcanvas. Fixes a spelling error in the TLazCanvas.AssignFontData topic. Adds, updates parameter descriptions.

This commit is contained in:
dsiders 2022-06-12 13:45:30 +01:00
parent 41cb28febf
commit cba14e3559

View File

@ -247,7 +247,7 @@
</seealso> </seealso>
</element> </element>
<element name="TLazCanvas.GetAssignedBrush.Result"> <element name="TLazCanvas.GetAssignedBrush.Result">
<short>Value for the property.</short> <short>Value for the AssignedBrush property.</short>
</element> </element>
<!-- function Visibility: private --> <!-- function Visibility: private -->
@ -259,7 +259,7 @@
</seealso> </seealso>
</element> </element>
<element name="TLazCanvas.GetAssignedPen.Result"> <element name="TLazCanvas.GetAssignedPen.Result">
<short>Value for the property.</short> <short>Value for the AssignedPen property.</short>
</element> </element>
<!-- function Visibility: private --> <!-- function Visibility: private -->
@ -271,7 +271,7 @@
</seealso> </seealso>
</element> </element>
<element name="TLazCanvas.GetAssignedFont.Result"> <element name="TLazCanvas.GetAssignedFont.Result">
<short>Value for the property.</short> <short>Value for the AssignedFont property.</short>
</element> </element>
<!-- function Visibility: private --> <!-- function Visibility: private -->
@ -283,7 +283,7 @@
</seealso> </seealso>
</element> </element>
<element name="TLazCanvas.GetWindowOrg.Result"> <element name="TLazCanvas.GetWindowOrg.Result">
<short>Value for the property.</short> <short>Value for the WindowOrg property.</short>
</element> </element>
<!-- procedure Visibility: private --> <!-- procedure Visibility: private -->
@ -295,7 +295,7 @@
</seealso> </seealso>
</element> </element>
<element name="TLazCanvas.SetWindowOrg.AValue"> <element name="TLazCanvas.SetWindowOrg.AValue">
<short>New value for the property.</short> <short>New value for the WindowOrg property.</short>
</element> </element>
<!-- procedure Visibility: protected --> <!-- procedure Visibility: protected -->
@ -400,7 +400,7 @@
</element> </element>
<element name="TLazCanvas.DoCopyRect"> <element name="TLazCanvas.DoCopyRect">
<short>Copies a source rectangle to the specified canvas.</short> <short>Copies a source rectangle for the specified canvas.</short>
<descr></descr> <descr></descr>
<seealso></seealso> <seealso></seealso>
</element> </element>
@ -725,7 +725,7 @@
<seealso></seealso> <seealso></seealso>
</element> </element>
<element name="TLazCanvas.AssignPenData.APen"> <element name="TLazCanvas.AssignPenData.APen">
<short></short> <short>Pen data stored in the method.</short>
</element> </element>
<!-- procedure Visibility: public --> <!-- procedure Visibility: public -->
@ -740,12 +740,12 @@
<seealso></seealso> <seealso></seealso>
</element> </element>
<element name="TLazCanvas.AssignBrushData.ABrush"> <element name="TLazCanvas.AssignBrushData.ABrush">
<short></short> <short>Brush data stored in the method.</short>
</element> </element>
<!-- procedure Visibility: public --> <!-- procedure Visibility: public -->
<element name="TLazCanvas.AssignFontData"> <element name="TLazCanvas.AssignFontData">
<short>Srts the Font data for the canvas.</short> <short>Sets the Font data for the canvas.</short>
<descr> <descr>
<p> <p>
Utilized by <var>LCLIntf.SelectObject</var> and by the <var>RestoreState</var> method. This is needed because calling <var>Assign</var> for the <var>Pen</var>, <var>Brush</var>, or <var>Font</var> properties raises exceptions. Utilized by <var>LCLIntf.SelectObject</var> and by the <var>RestoreState</var> method. This is needed because calling <var>Assign</var> for the <var>Pen</var>, <var>Brush</var>, or <var>Font</var> properties raises exceptions.