You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csdb/collection/date.ini
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -751,7 +751,7 @@ Delphi10S=Y
751
751
FPC=Y
752
752
753
753
[MSecToDateTime]
754
-
DescEx="Converts the given number of milliseconds to a <var>TDateTime</var> value."
754
+
DescEx="<p>Converts the given number of milliseconds to a <var>TDateTime</var> value.</p>"
755
755
Units=SysUtils
756
756
Snip=458.dat
757
757
Delphi2=N
@@ -797,7 +797,7 @@ Delphi10S=Y
797
797
FPC=Y
798
798
799
799
[SQLDateToDateTime]
800
-
DescEx="Converts a date in SQL format into a <var>TDateTime</var>."
800
+
DescEx="<p>Converts a date in SQL format into a <var>TDateTime</var>.</p>"
801
801
Extra="<p>Handles only the date component. Any time component is ignored.</p>"
802
802
Units=SysUtils
803
803
SeeAlso=SQLDate
@@ -1225,7 +1225,7 @@ Delphi10S=Y
1225
1225
FPC=Y
1226
1226
1227
1227
[RFC2822Date]
1228
-
DescEx="Returns the RFC 2822 representation of the date (in local time) specified in the <var>LocalTime</var> parameter. The <var>IsDST</var> parameter indicates whether <var>LocalTime</var> is in daylight saving time or not."
1228
+
DescEx="<p>Returns the RFC 2822 representation of the date (in local time) specified in the <var>LocalTime</var> parameter. The <var>IsDST</var> parameter indicates whether <var>LocalTime</var> is in daylight saving time or not.</p>"
1229
1229
Extra="<p>This date format is defined by section 3.3 of <a href="http://www.faqs.org/rfcs/rfc2822.html">RFC 2882</a>.</p>"
1230
1230
Units=SysUtils,Windows
1231
1231
Snip=374.dat
@@ -1248,7 +1248,7 @@ Delphi10S=Y
1248
1248
FPC=Y
1249
1249
1250
1250
[SecondsToTime]
1251
-
DescEx="Converts a number of seconds into a <var>TDateTime</var> value."
1251
+
DescEx="<p>Converts a number of seconds into a <var>TDateTime</var> value.</p>"
1252
1252
Extra="<p>This routine uses knowledge of the internal composition of a <var>TDateTime</var>.</p>"
Copy file name to clipboardExpand all lines: csdb/collection/drive.ini
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ FPC=Y
215
215
216
216
[GetDriveNumber]
217
217
DescEx="<p>Returns the zero based drive number for given drive. -1 is returned if drive name does not start with a valid drive letter in the range A..Z.</p>"
218
-
Extra="<var>Drive</var> can be specified as a disk letter (e.g. <mono>C</mono>), a drive name (e.g <mono>C:</mono> or <mono>C:\</mono>) or an absolute file path on the drive (e.g. <mono>C:\Foo\Bar.txt</mono>)."
218
+
Extra="<p><var>Drive</var> can be specified as a disk letter (e.g. <mono>C</mono>), a drive name (e.g <mono>C:</mono> or <mono>C:\</mono>) or an absolute file path on the drive (e.g. <mono>C:\Foo\Bar.txt</mono>).</p>"
Copy file name to clipboardExpand all lines: csdb/collection/encoding.ini
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
# https://gravatar.com/delphidabbler
7
7
8
8
[BytesToAnsiString]
9
-
DescEx="Converts the given array of bytes to an ANSI raw byte string, which is returned. The returned string has the code page specified by <var>CodePage</var>."
9
+
DescEx="<p>Converts the given array of bytes to an ANSI raw byte string, which is returned. The returned string has the code page specified by <var>CodePage</var>.</p>"
10
10
Extra="<p>Based on code from the Stack Overflow posting <a href="http://stackoverflow.com/questions/773297/how-can-i-convert-tbytes-to-rawbytestring">How can I convert TBytes to RawByteString?</a>.</p>"
Copy file name to clipboardExpand all lines: csdb/collection/file.ini
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
# https://gravatar.com/delphidabbler
7
7
8
8
[CopyFile]
9
-
DescEx="Copies <var>Source</var> file to <var>Dest</var> file, preserving modification date."
9
+
DescEx="<p>Copies <var>Source</var> file to <var>Dest</var> file, preserving modification date.</p>"
10
10
Units=Classes,SysUtils
11
11
SeeAlso=CopyFiles
12
12
Snip=029.dat
@@ -309,7 +309,7 @@ Delphi10S=Y
309
309
FPC=Y
310
310
311
311
[GetFixedFileVerInfo]
312
-
DescEx="Extracts fixed version information from file named by <var>FileName</var>.If file contains version information it is returned via <var>FFI</var> parameter and function returns True, otherwise False is returned and <var>FFI</var> is undefined."
312
+
DescEx="<p>Extracts fixed version information from file named by <var>FileName</var>.</p><p>If file contains version information it is returned via <var>FFI</var> parameter and function returns True, otherwise False is returned and <var>FFI</var> is undefined.</p>"
313
313
Units=Windows
314
314
SeeAlso=HasVerInfo
315
315
Snip=010.dat
@@ -896,7 +896,7 @@ Delphi10S=Y
896
896
FPC=Y
897
897
898
898
[IsDirectory]
899
-
DescEx="Returns True if given name is a valid directory and False otherwise. <var>DirName</var> can be any file system name (with or without trailing path delimiter)."
899
+
DescEx="<p>Returns True if given name is a valid directory and False otherwise. <var>DirName</var> can be any file system name (with or without trailing path delimiter).</p>"
900
900
Extra="<p>This routine avoids using <var>DirectoryExists</var> in <mono>FileCtrl</mono> and hence avoids the overhead of using that unit.</p>"
901
901
Units=SysUtils
902
902
Depends=IsFlagSet
@@ -1065,7 +1065,7 @@ Delphi10S=Y
1065
1065
FPC=Y
1066
1066
1067
1067
[SubDirectoryCount]
1068
-
DescEx="Counts all the sub-directories of directory specified by <var>Path</var>.If <var>Recurse</var> is True all sub-directories are counted recursively, otherwise only immediate sub-directories are counted."
1068
+
DescEx="<p>Counts all the sub-directories of directory specified by <var>Path</var>.</p><p>If <var>Recurse</var> is True all sub-directories are counted recursively, otherwise only immediate sub-directories are counted.</p>"
1069
1069
Extra="<p>Adapted from code contributed by Bill Miller.</p>"
1070
1070
Units=IOUtils,Types
1071
1071
Snip=409.dat
@@ -1088,7 +1088,7 @@ Delphi10S=Y
1088
1088
FPC=N
1089
1089
1090
1090
[TempFileName]
1091
-
DescEx="Returns a unique temporary file name in the user's <mono>Temp</mono> folder. The file name includes the first three characters of <var>Stub</var> followed by hexadecimal characters.If <var>Create</var> is True then the file is created. Returns an empty string on failure."
1091
+
DescEx="<p>Returns a unique temporary file name in the user's <mono>Temp</mono> folder. The file name includes the first three characters of <var>Stub</var> followed by hexadecimal characters.</p><p>If <var>Create</var> is True then the file is created. Returns an empty string on failure.</p>"
1092
1092
Extra="<p><strong>Note:</strong> Even if <var>ACreate</var> is false the file will be created momentarily. This means that <var>APath</var> must exist and the current user must have write access to the path or the routine will fail.</p>"
1093
1093
Units=Windows,SysUtils
1094
1094
SeeAlso=TempFolder,TempFileNameEx
@@ -1112,7 +1112,7 @@ Delphi10S=Y
1112
1112
FPC=Y
1113
1113
1114
1114
[TempFileNameEx]
1115
-
DescEx="Returns a unique temporary file name in the directory specified in <var>APath</var>. The file name includes the first three characters of <var>AStub</var> followed by hexadecimal characters.If <var>ACreate</var> is True then the file is created. Returns an empty string on failure."
1115
+
DescEx="<p>Returns a unique temporary file name in the directory specified in <var>APath</var>. The file name includes the first three characters of <var>AStub</var> followed by hexadecimal characters.</p><p>If <var>ACreate</var> is True then the file is created. Returns an empty string on failure.</p>"
1116
1116
Extra="<p><strong>Note:</strong> Even if <var>ACreate</var> is false the file will be created momentarily. This means that <var>APath</var> must exist and the current user must have write access to the path or the routine will fail.</p><p>From Bill Miller's snippets collection.</p>"
Copy file name to clipboardExpand all lines: csdb/collection/graphics.ini
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
# https://gravatar.com/delphidabbler
7
7
8
8
[AdjustColorBrightness]
9
-
DescEx="Adjusts the brightness of colour <var>Color</var> by a specified <var>Delta</var> in range -255..255."
9
+
DescEx="<p>Adjusts the brightness of colour <var>Color</var> by a specified <var>Delta</var> in range -255..255.</p>"
10
10
Extra="<p>Based on code found on the former EFG's Delphi Reference Library.</p>"
11
11
Units=Windows,Graphics
12
12
SeeAlso=AdjustBitmapBrightness
@@ -30,7 +30,7 @@ Delphi10S=Y
30
30
FPC=N
31
31
32
32
[BitmapToMetafile]
33
-
DescEx="Converts a bitmap into an extended meta file object. Metafile <var>EMF</var> is updated to contain a copy of bitmap <var>Bmp</var>."
33
+
DescEx="<p>Converts a bitmap into an extended meta file object. Metafile <var>EMF</var> is updated to contain a copy of bitmap <var>Bmp</var>.</p>"
34
34
Units=Graphics
35
35
SeeAlso=GraphicToBitmap
36
36
Snip=178.dat
@@ -54,7 +54,7 @@ FPC=N
54
54
55
55
[CloneCursorAsBitmap]
56
56
DescEx="<p>Creates and returns a bitmap object that contains a copy of the given cursor.</p><p>The bitmap has the pixel format specified by <var>PixelFmt</var>. If <var>PixelFmt</var> is <var>pfCustom</var>, then the default format is used.</p><p> <var>TransparentColor</var> specifies the colour in the cursor that is to be drawn as transparent in the bitmap. <var>TransparentColor</var> has no effect if it is <var>clNone</var>.</p>"
57
-
Extra="<strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function."
57
+
Extra="<p><strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function.</p>"
DescEx="<p>Creates and returns a bitmap object that contains a copy of the cursor whose handle is given by <var>Handle</var>.</p><p>The bitmap has the pixel format specified by <var>PixelFmt</var>. If <var>PixelFmt</var> is <var>pfCustom</var>, then the default format is used.</p><p><var>TransparentColor</var> specifies the colour in the cursor that is to be drawn as transparent in the bitmap. <var>TransparentColor</var> has no effect if it is <var>clNone</var>.</p>"
107
-
Extra="<strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function."
107
+
Extra="<p><strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function.</p>"
DescEx="<p>Creates and returns a bitmap object that contains a copy of given graphic object <var>Src</var>.</p><p>The bitmap has the pixel format specified by <var>PixelFmt</var>. If <var>PixelFmt</var> is <var>pfCustom</var>, then the default format is used, unless <var>Src</var> is a bitmap when its own format is used.</p><p>If <var>Src</var> is transparent then the bitmap is set to transparent and <var>TransparentColor</var> is used as the bitmap's transparent colour. <var>TransparentColor</var> is ignored if it is <var>clNone</var> or if <var>Src</var> is not transparent.</p>"
156
-
Extra="<strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function."
156
+
Extra="<p><strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function.</p>"
157
157
Units=Graphics
158
158
Depends=GraphicToBitmap
159
159
SeeAlso=GraphicToBitmap,CloneJPEGAsBitmap
@@ -178,7 +178,7 @@ FPC=N
178
178
179
179
[CloneJPEGAsBitmap]
180
180
DescEx="<p>Creates and returns a bitmap object that contains a copy of the given JPEG image.</p>"
181
-
Extra="<strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function."
181
+
Extra="<p><strong>Note:</strong> The caller is responsible for freeing the bitmap created by this function.</p>"
182
182
Units=Graphics,JPEG
183
183
SeeAlso=JPEGFileToBitmapFile,CloneGraphicAsBitmap
184
184
Snip=279.dat
@@ -201,7 +201,7 @@ Delphi10S=Y
201
201
FPC=N
202
202
203
203
[ColorToRGBTriple]
204
-
DescEx="Converts the given <var>TColor</var> value into an RGB triple value, which is returned."
204
+
DescEx="<p>Converts the given <var>TColor</var> value into an RGB triple value, which is returned.</p>"
205
205
Extra="<p>System colours are converted to their actual values before conversion.</p>"
206
206
Units=Windows,Graphics
207
207
Depends=ExtractRGB
@@ -392,7 +392,7 @@ Delphi10S=Y
392
392
FPC=N
393
393
394
394
[ExtractRGB]
395
-
DescEx="Extracts constituent RGB values from the given colour and returns them via the <var>Red</var>, <var>Green</var> and <var>Blue</var> parameters."
395
+
DescEx="<p>Extracts constituent RGB values from the given colour and returns them via the <var>Red</var>, <var>Green</var> and <var>Blue</var> parameters.</p>"
396
396
Extra="<p>System colours are converted to their actual values before extracting the RGB values.</p>"
397
397
Units=Graphics,Windows
398
398
SeeAlso=ColorToRGBTriple
@@ -438,7 +438,7 @@ Delphi10S=Y
438
438
FPC=N
439
439
440
440
[GetIconANDBitmask]
441
-
DescEx="Copies the given icon's <em>AND</em> bitmask to bitmap <var>Mask</var>."
441
+
DescEx="<p>Copies the given icon's <em>AND</em> bitmask to bitmap <var>Mask</var>.</p>"
DescEx="Converts an RGB triple value into a <var>TColor</var> value."
674
+
DescEx="<p>Converts an RGB triple value into a <var>TColor</var> value.</p>"
675
675
Units=Windows,Graphics
676
676
SeeAlso=ColorToRGBTriple
677
677
Snip=096.dat
@@ -694,7 +694,7 @@ Delphi10S=Y
694
694
FPC=N
695
695
696
696
[SetDefaultFont]
697
-
DescEx="Sets the given <var>TFont</var> object to the default GUI font for the operating system."
697
+
DescEx="<p>Sets the given <var>TFont</var> object to the default GUI font for the operating system.</p>"
698
698
Extra="<p>From Bill Miller's snippets collection.</p>"
699
699
Units=Windows,Graphics
700
700
SeeAlso=SetDesktopIconFont
@@ -815,7 +815,7 @@ Delphi10S=Y
815
815
FPC=N
816
816
817
817
[AdjustBitmapBrightness]
818
-
DescEx="Changes the brightness of bitmap <var>Bmp</var> by a given <var>Delta</var> value in range -255..+255."
818
+
DescEx="<p>Changes the brightness of bitmap <var>Bmp</var> by a given <var>Delta</var> value in range -255..+255.</p>"
819
819
Extra="<p>Based on code found on the former EFG's Delphi Reference Library.</p> <p><strong>Note from EFG:</strong> Normally a <var>pf24bit</var> bitmap scanline would be accessed as a type <mono>TRGBTripleArray = array[Word] of TRGBTriple</mono>, but since we can treat the three color components (<var>rgbtRed</var>, <var>rgbtGreen</var>, <var>rgbtBlue</var>) in exactly the same way, we can access the scanline as a <var>pByteArray</var> of <mono>3 * Bitmap.Width</mono> bytes.</p>"
820
820
Units=SysUtils,Graphics
821
821
SeeAlso=AdjustColorBrightness
@@ -917,7 +917,7 @@ Delphi10S=Y
917
917
FPC=N
918
918
919
919
[ColorToHSB]
920
-
DescEx="Converts the given <var>TColor</var> value to a <var>THSBColor</var> value, which is returned."
920
+
DescEx="<p>Converts the given <var>TColor</var> value to a <var>THSBColor</var> value, which is returned.</p>"
921
921
Extra="<p>System colours are converted to their actual values before conversion.</p>"
922
922
Units=Graphics
923
923
Depends=THSBColor,ColorToRGBTriple,RGBToHSB
@@ -1453,7 +1453,7 @@ FPC=N
1453
1453
1454
1454
[ScaleBitmap_A]
1455
1455
DisplayName="ScaleBitmap (copy overload)"
1456
-
DescEx="Performs a high quality scaling of bitmap <var>ASrcBmp</var> and copies the result into <var>ADestBmp</var>. The required scale factor is given by <var>AScaling</var>."
1456
+
DescEx="<p>Performs a high quality scaling of bitmap <var>ASrcBmp</var> and copies the result into <var>ADestBmp</var>. The required scale factor is given by <var>AScaling</var>.</p>"
1457
1457
Extra="<p>Modified from code contributed by Montor.</p>"
DescEx="Performs a high quality scaling of the given bitmap by scale factor <var>AScaling</var>. The bitmap is modified in place."
1482
+
DescEx="<p>Performs a high quality scaling of the given bitmap by scale factor <var>AScaling</var>. The bitmap is modified in place.</p>"
1483
1483
Extra="<p>Slightly modified from code contributed by Montor.</p>"
1484
1484
Units=Graphics
1485
1485
Depends=ScaleBitmap_A
@@ -1579,7 +1579,7 @@ FPC=Y
1579
1579
1580
1580
[TColorRec]
1581
1581
Kind=type
1582
-
DescEx="Cracker record that provides several different views of a <var>TColor</var> value and allows it to be assembled from its constituent parts."
1582
+
DescEx="<p>Cracker record that provides several different views of a <var>TColor</var> value and allows it to be assembled from its constituent parts.</p>"
1583
1583
Extra="<p>Contributed by Montor.</p> <p><strong>Note:</strong> Care needs to be taken when using <var>SysFlag</var> to detect a system colour, because <var>SysFlag</var> will be equal to $FF if a normal colour has an alpha transparency of $FF.</p>"
Copy file name to clipboardExpand all lines: csdb/collection/hex.ini
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ FPC=Y
201
201
202
202
[TryHexToInt64]
203
203
DescEx="<p>Attempts to convert the given hexadecimal string into a 64 bit integer.</p><p>Returns True on success and set <var>Value</var> to the converted value. Returns False on error, leaving <var>Value</var> undefined.</p>"
204
-
Extra="</p>The hexadecimal string must contain only valid hex digits, optionally prefixed by either '$' or '0x'.</p>"
204
+
Extra="<p>The hexadecimal string must contain only valid hex digits, optionally prefixed by either '$' or '0x'.</p>"
0 commit comments