File: graphtype.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 (1357 lines) | stat: -rw-r--r-- 33,971 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
<?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="lazutils">
<!--
====================================================================
GraphType
====================================================================
-->
<module name="GraphType">
<short>
Definitions of several special types (including Raw Image) to be used for 
graphics.
</short>
<descr>
<p>
<file>graphtype.pp</file> contains graphic-related platform-independent types 
and utility functions.
</p>
<p>
<file>graphtype.pp</file> is part of the <file>LazUtils</file> package.
</p>
</descr>

<!-- unresolved references -->
<element name="Classes"/>
<element name="SysUtils"/>
<element name="Types"/>
<element name="Math"/>
<element name="System.UITypes"/>
<element name="FPCAdds"/>
<element name="LazLoggerBase"/>

<element name="TPointArray">
<short>
Type used to store an array of TPoint values.
</short>
<descr/>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="#lazutils.graphmath.EllipsePolygon">EllipsePolygon</link>
<link id="#lcl.lazregions.TLazRegion.AddPolygon">TLazRegion.AddPolygon</link>
<link id="#rtl.types.TPoint">TPoint</link>
</seealso>
</element>

<element name="TGraphicsColor">
<short>
Defines the Integer range type with values that can be used for colors.
</short>
<descr>
<p>
TGraphicsColor is an alias to the range type used for color constants. The 
base type for the definition is dependent on the FPC compiler version used to 
build the LazUtils package.
</p>
<p>
Starting in FPC version 3.2.3, the base type is the TColor type defined in 
the System.UITypes namespace in the FPC run-time library (RTL). For previous 
compiler versions, the base type is the numeric range -$7FFFFFFF-1..$7FFFFFFF.
</p>
<p>
This is done to prevent type conflicts when both System.UITypes and 
LCL/LazUtils units are used.
</p>
</descr>
<seealso>
<link id="#lcl.graphics.TColor">TColor</link>
<!-- link id="#rtl.system.uitypes.TColor"/ -->
</seealso>
</element>

<element name="TGraphicsFillStyle">
<short>Indicates how a surface area is filled with a given color.</short>
<descr>
<p>
Used in widgetset classes to implement the FloodFill routine and method.
</p>
</descr>
<seealso>
<link id="#lcl.graphics.TFillStyle">TFillStyle</link>
</seealso>
</element>
<element name="TGraphicsFillStyle.fsSurface">
<short>
Fills an area where the pixels have the specified color. Fill color is 
applied in all directions to pixels with the specified color. Used to fill an 
area with multiple colors at its boundaries.
</short>
</element>
<element name="TGraphicsFillStyle.fsBorder">
<short>
Fills an area bounded by the specified color. Like the Windows FloodFill 
routine.
</short>
</element>

<element name="TGraphicsBevelCut">
<short>Represents bevel drawing styles.</short>
<descr/>
<seealso/>
</element>
<element name="TGraphicsBevelCut.bvNone">
<short>The bevel is not drawn.</short>
</element>
<element name="TGraphicsBevelCut.bvLowered">
<short>The bevel is drawn with a lowered or inset appearance.</short>
</element>
<element name="TGraphicsBevelCut.bvRaised">
<short>The bevel is drawn with a raised or outset appearance.</short>
</element>
<element name="TGraphicsBevelCut.bvSpace">
<short>
The bevel is drawn as a space using the required width, neither inset nor 
outset.
</short>
</element>

<element name="TGraphicsDrawEffect">
<short>
Represents drawing effects which can be applied to graphic elements.
</short>
<descr/>
<seealso/>
</element>
<element name="TGraphicsDrawEffect.gdeNormal">
<short>No drawing effect.</short>
</element>
<element name="TGraphicsDrawEffect.gdeDisabled">
<short>Drawn with a grayed image.</short>
</element>
<element name="TGraphicsDrawEffect.gdeHighlighted">
<short>Drawn with a highlighted image.</short>
</element>
<element name="TGraphicsDrawEffect.gdeShadowed">
<short>Drawn with a shadowed image.</short>
</element>
<element name="TGraphicsDrawEffect.gde1Bit">
<short>1-Bit image (for non-XP windows buttons).</short>
</element>

<element name="TRawImageColorFormat">
<short>Color format for raw image data.</short>
<descr>
<p>
Color format for raw image data. A raw image can contain RGBA or monochrome 
pixels.
</p>
<p>
Higher values means higher intensity. For example: Red=0 means no Red, 
Alpha=0 means transparent.
</p>
</descr>
<seealso/>
</element>
<element name="TRawImageColorFormat.ricfNone">
<short>ricfNone indicates an uninitialized image.</short>
</element>
<element name="TRawImageColorFormat.ricfRGBA">
<short>
Each pixel contains red, green, blue and alpha values. If AlphaPrec=0 then 
there is no alpha channel. Same for RedPrec, GreenPrec and BluePrec.
</short>
</element>
<element name="TRawImageColorFormat.ricfGray">
<short>
Red, Green, and Blue have the same values. Red stores the Gray. AlphaPrec can 
be &gt;0.
</short>
</element>

<element name="TRawImageByteOrder">
<short>The LSB/MSB-first byte order of pixel data.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageByteOrder.riboLSBFirst">
<short>Least Significant Byte first.</short>
</element>
<element name="TRawImageByteOrder.riboMSBFirst">
<short>Most SignificantBbyte first.</short>
</element>

<element name="TRawImageBitOrder">
<short>Bit order for raw image data scan lines.</short>
<descr>
The first pixel in a raw image line can be the left or right pixel of the 
displayed image.
</descr>
<seealso/>
</element>
<element name="TRawImageBitOrder.riboBitsInOrder">
<short>Bit 0 represents first pixel.</short>
</element>
<element name="TRawImageBitOrder.riboReversedBits">
<short>Bit 0 represents highest pixel.</short>

</element>

<element name="TRawImageLineEnd">
<short>The alignment of raw image scanlines.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageLineEnd.rileTight">
<short>
No gap at the end of Scanlines; Scanlines can begin inside a byte boundary.
</short>
</element>
<element name="TRawImageLineEnd.rileByteBoundary">
<short>Scanlines start on a byte boundary.</short>
</element>
<element name="TRawImageLineEnd.rileWordBoundary">
<short>Scanlines start at a 16-bit boundary.</short>
</element>
<element name="TRawImageLineEnd.rileDWordBoundary">
<short>Scanlines start at a 32-bit (DWORD) boundary.</short>
</element>
<element name="TRawImageLineEnd.rileQWordBoundary">
<short>Scanlines start at a 64-bit (QWORD) boundary.</short>
</element>
<element name="TRawImageLineEnd.rileDQWordBoundary">
<short>Scanlines start at a 128-bit boundary.</short>
</element>

<element name="TRawImageLineOrder">
<short>
The first stored line of pixels can represent the logical top or bottom of 
the displayed image.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageLineOrder.riloTopToBottom">
<short>First scanline at the top.</short>
</element>
<element name="TRawImageLineOrder.riloBottomToTop">
<short>First scanline at the bottom.</short>
</element>

<element name="TRawImageQueryFlag">
<short>Image formats supported by a device, or present in image data.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageQueryFlag.riqfMono">
<short>Include a description for a mono image.</short>
</element>
<element name="TRawImageQueryFlag.riqfGrey">
<short>Include a description for a grey image.</short>
</element>
<element name="TRawImageQueryFlag.riqfRGB">
<short>Include a description for an RGB image.</short>
</element>
<element name="TRawImageQueryFlag.riqfAlpha">
<short>Include a description for an Alpha channel.</short>
</element>
<element name="TRawImageQueryFlag.riqfMask">
<short>Include a description for a Mask.</short>
</element>
<element name="TRawImageQueryFlag.riqfPalette">
<short>Include a description for a Palette.</short>
</element>
<element name="TRawImageQueryFlag.riqfUpdate">
<short>Update given description (instead of clearing it).</short>
</element>

<element name="TRawImageQueryFlags">
<short>
Set type used to store values from the TRawImageQueryFlag enumeration.
</short>
<descr>
<p>
Passed as an argument to routines in the LCL interface an widgetset classes. 
Used to determine when the image descriptor for raw image data needs to be 
read from its device context or handle.
</p>
</descr>
<seealso>
<link id="TRawImageQueryFlag"/>
</seealso>
</element>

<element name="TRawImageDescription">
<short>
Descriptor object for the image format of devices and raw (uncompressed) 
image data.
</short>
<descr>
<p>
This effectively is a record with some attached methods. More related 
procedures exist outside the object.
</p>
<p>
The object describes the presence and exact storage of the RGBA image and 
mask pixels, of a device or image. The color information is stored in aligned 
scanlines.
</p>
<p>
Note: palettes, BitOrder and ByteOrder seem not to be implemented yet. The 
meaning of the PaletteXXX values and of BitOrder is undefined, so far.
</p>
<p>
xxxBitsPerPixel and xxxPrecisionMask applies to color data. For masked 
images, the pixels and the mask are two different arrays, containing 
different elements.
</p>
</descr>
<seealso>
<link id="TRawImage"/>
</seealso>
</element>

<element name="TRawImageDescription.Format">
<short>
An initialized image can contain color (RGBA) or monochrome pixels.
</short>
<descr>
<var>ricfNone</var> indicates an uninitialized image.
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.Width">
<short>Width of the image in pixels.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.Height">
<short>Height of the image in pixels.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.Depth">
<short>Number of bits used per pixel.</short>
<descr>
The color and pixel storage can be subject to alignment, so that the logical 
color Depth can be less than the physical BitsPerPixel.
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.BitOrder">
<short>Indicates the bit order for scanlines in the raw image data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.ByteOrder">
<short>The LSB/MSB-first byte order for color data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.LineOrder">
<short>
The first stored line of pixels can represent the logical top or bottom of 
the displayed image.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.LineEnd">
<short>Alignment of the scanlines.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.BitsPerPixel">
<short>Number of bits stored per pixel.</short>
<descr>
<var>BitsPerPixel</var> can be greater than the logical (used) 
<var>Depth</var>.
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.RedPrec">
<short>Bits per pixel in the Red channel.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.RedShift">
<short>Bit offset of the Red channel in color data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.GreenPrec">
<short>Bits per pixel in the Green channel.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.GreenShift">
<short>Bit offset of the Green channel in color data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.BluePrec">
<short>Bits per pixel in the Blue channel.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.BlueShift">
<short>Bit offset of the Blue channel in color data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.AlphaPrec">
<short>Bits per pixel in the Alpha channel.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.AlphaShift">
<short>Bit offset of the Alpha channel in color data.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.MaskBitsPerPixel">
<short>Bits per mask pixel, usually 1, 0 when no mask.</short>
<descr>
<p>
Mask-related properties are only valid if there is a mask (MaskBitsPerPixel > 
0).
</p>
<p>
A pixel Mask currently has a logical depth of 1 bit per pixel, but a pixel 
can occupy an entire byte. As opposed to the Alpha (transparency) channel, a 
Mask is stored in its own array. A Mask value of 1 means that the pixel is 
masked (transparent); a value of 0 means the pixel value is shown (opaque).
</p>
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.MaskShift">
<short>The bit offset of the mask bit.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.MaskLineEnd">
<short>Alignment of Mask lines.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.MaskBitOrder">
<short>Bit order of the Mask.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteColorCount">
<short>Entries in the color palette, 0 when no palette.</short>
<descr>
<p>
Palette-related properties are only valid if there is a palette 
(PaletteColorCount > 0).
</p>
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteBitsPerIndex">
<short>Bits per palette index, stored in the pixel data.</short>
<descr>
<p>
When a palette is used, the color description fields apply to the palette 
colors, while pixel data contains the palette index. Then Depth applies to 
the size of the palette colors, and the pixel data is described by 
PaletteBitsPerIndex and PaletteShift.
</p>
</descr>
<errors>[ palettes are not yet implemented ]</errors>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteShift">
<short>Bit shift direction from least to most significant.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteLineEnd">
<short>
Indicates the alignment or padding used at the end of a scanline in the raw 
image data.
</short>
<descr>
<p>
Valid when PaletteColorCount has a positive non-zero value.
</p>
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteBitOrder">
<short>Bit order of the palette indices.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.PaletteByteOrder">
<short>Byte order of the palette indices.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.Init">
<short>Initialize the image descriptor to all zeroes.</short>
<descr>
<p>
A constructor cannot be used here, it would break compatibility with a record.
</p>
</descr>
<seealso/>
</element>

<element name="TRawImageDescription.Init_BPP1">
<short>1-bit mono format.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.Init_BPP1.Width">
<short/>
</element>
<element name="TRawImageDescription.Init_BPP1.Height">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP16_R5G6B5">
<short>16-bit format.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.Init_BPP16_R5G6B5.AWidth">
<short/>
</element>
<element name="TRawImageDescription.Init_BPP16_R5G6B5.AHeight">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP24_R8G8B8_BIO_TTB">
<short>24-bit format with bits in RGB order from top to bottom.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.Init_BPP24_R8G8B8_BIO_TTB.AWidth">
<short/>
</element>
<element name="TRawImageDescription.Init_BPP24_R8G8B8_BIO_TTB.AHeight">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP24_R8G8B8_BIO_TTB_UpsideDown">
<short>24-bit format with bits in RGB order from bottom to top.</short>
<descr/>
<seealso/>
</element>
<element 
name="RawImageDescription.Init_BPP24_R8G8B8_BIO_TTB_UpsideDown.AWidth">
<short/>
</element>
<element 
name="TRawImageDescription.Init_BPP24_R8G8B8_BIO_TTB_UpsideDown.AHeight">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP32_A8R8G8B8_BIO_TTB">
<short>
32-bit format with an Alpha channel, bits in RGB order from top to bottom.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.Init_BPP32_A8R8G8B8_BIO_TTB.AWidth">
<short/>
</element>
<element name="TRawImageDescription.Init_BPP32_A8R8G8B8_BIO_TTB.AHeight">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP32_R8G8B8A8_BIO_TTB">
<short>
32-bit format with bits in RGB order plus an Alpha channel, ordered from top 
to bottom.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.Init_BPP32_R8G8B8A8_BIO_TTB.AWidth">
<short/>
</element>
<element name="TRawImageDescription.Init_BPP32_R8G8B8A8_BIO_TTB.AHeight">
<short/>
</element>

<element name="TRawImageDescription.Init_BPP24_B8G8R8_BIO_TTB">
<short>Init for an unmasked 24 bit RGB image (LSB Blue).</short>
<descr>
<p>Init_BPP24_B8G8R8_BIO_TTB - initiator for specified format</p>
<code>
{ pf24bit:
  Format=ricfRGBA HasPalette=false Depth=24 PaletteColorCount=0
  BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
  LineOrder=riloTopToBottom
  BitsPerPixel=24 LineEnd=rileDWordBoundary
  RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
}
</code>
</descr>
</element>

<element name="TRawImageDescription.Init_BPP24_B8G8R8_M1_BIO_TTB">
<short>Init for a masked 24 bit RGB image (LSB Blue).</short>
<descr>
<p>Init_BPP24_B8G8R8_M1_BIO_TTB - initiator for specified format</p>
<code>
  { pf24bit:
    Format=ricfRGBA HasPalette=false Depth=24 PaletteColorCount=0
    BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
    LineOrder=riloTopToBottom
    BitsPerPixel=24 LineEnd=rileDWordBoundary
    RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
    Masked
  }
</code>
</descr>
</element>

<element name="TRawImageDescription.Init_BPP32_B8G8R8_BIO_TTB">
<short>Init for an unmasked 32 bit RGB image (LSB blue).</short>
<descr>
<p>
<var>Init_BPP32_B8G8R8_BIO_TTB</var> - initiator for specified format</p>
<code>
{ pf32bit:
    Format=ricfRGBA HasPalette=false Depth=24 PaletteColorCount=0
    BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
    LineOrder=riloTopToBottom
    BitsPerPixel=32 LineEnd=rileDWordBoundary
    RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
    No alpha
    No mask
}
</code>
</descr>
</element>

<element name="TRawImageDescription.Init_BPP32_B8G8R8_M1_BIO_TTB">
<short>Init for a masked 32 bit RGB image (LSB blue).</short>
<descr>
<p>
<var>Init_BPP32_B8G8R8_M1_BIO_TTB</var> - initiator for specified format.
</p>
<code>
  { pf32bit:
    Format=ricfRGBA HasPalette=false Depth=24 PaletteColorCount=0
    BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
    LineOrder=riloTopToBottom
    BitsPerPixel=32 LineEnd=rileDWordBoundary
    RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
    no alpha
    with mask
  }
</code>
</descr>
</element>

<element name="TRawImageDescription.Init_BPP32_B8G8R8A8_BIO_TTB">
<short>Init for an unmasked 32 bit RGBA image (LSB blue).</short>
<descr>
<p>
<var>Init_BPP32_B8G8R8A8_BIO_TTB</var> - initiator for specified format.
</p>
<code>
  { pf32bit:
    Format=ricfRGBA HasPalette=false Depth=32 PaletteColorCount=0
    BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
    LineOrder=riloTopToBottom
    BitsPerPixel=32 LineEnd=rileDWordBoundary
    RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
    alpha
    no mask
  }
</code>
</descr>
</element>

<element name="TRawImageDescription.Init_BPP32_B8G8R8A8_M1_BIO_TTB">
<short>Init for a masked 32 bit RGBA image (LSB blue).</short>
<descr>
<p>
<var>Init_BPP32_B8G8R8A8_M1_BIO_TTB</var> - initiator for specified format.
</p>
<code>
  { pf32bit:
    Format=ricfRGBA HasPalette=false Depth=32 PaletteColorCount=0
    BitOrder=riboBitsInOrder ByteOrder=DefaultByteOrder
    LineOrder=riloTopToBottom
    BitsPerPixel=32 LineEnd=rileDWordBoundary
    RedPrec=8 RedShift=16 GreenPrec=8 GreenShift=8 BluePrec=8 BlueShift=0
    alpha
    masked
  }
</code>
</descr>
</element>

<element name="TRawImageDescription.GetDescriptionFromMask">
<short>
Returns an monochrome image descriptor constructed from the Mask.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.GetDescriptionFromAlpha">
<short>
Returns an monochrome image descriptor constructed from the Alpha channel.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.GetRGBIndices">
<short>Gets the indices of channels in four-element array.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageDescription.GetRGBIndices.Ridx">
<short/>
</element>
<element name="TRawImageDescription.GetRGBIndices.Gidx">
<short/>
</element>
<element name="TRawImageDescription.GetRGBIndices.Bidx">
<short/>
</element>
<element name="TRawImageDescription.GetRGBIndices.Aidx">
<short/>
</element>

<element name="TRawImageDescription.BytesPerLine">
<short>The number of bytes per scanline.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.BitsPerLine">
<short>The number of bits per scanline.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.MaskBytesPerLine">
<short>The number of bytes per Mask scanline.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.MaskBitsPerLine">
<short>The number of bits per Mask scanline.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.AsString">
<short>The image descriptor as a string.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageDescription.IsEqual">
<short>
Compares with the given description, returns <b>True</b> if it is equal.
</short>
<descr/>
<seealso/>
</element>

<element name="PRawImageDescription">
<short>Pointer to <link id="TRawImageDescription"/></short>
<descr/>
<seealso/>
</element>

<element name="TRawImagePosition">
<short>Record describing a position in Raw Image data.</short>
<descr>
<p>
Byte is the byte offset, Bit the bit number/offset in that byte.
</p>
</descr>
<seealso/>
</element>

<element name="TRawImagePosition.Byte">
<short/>
<descr/>
<seealso/>
</element>

<element name="TRawImagePosition.Bit">
<short/>
<descr/>
<seealso/>
</element>

<element name="PRawImagePosition">
<short>
<var>PRawImagePosition</var> - pointer to a <var>TRawImagePosition</var>.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage">
<short>An uncompressed graphics image (bitmap).</short>
<descr>
<p>
This object hold the pixels, mask and color palette of the image, as well as 
a detailed <link id="TRawImageDescription">description</link> of the storage 
format of these parts.
</p>
<p>
This object currently is subject to refactoring, don't use it in application 
code.
</p>
</descr>
<seealso/>
</element>

<element name="TRawImage.Description">
<short>
<var>Description</var> record for the Raw Image.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.Data">
<short>
<var>Data</var> - a pointer to the actual data of the image.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.DataSize">
<short><var>DataSize</var> - pointer to the size of the image.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.Mask">
<short><var>Mask</var> - pointer to the Mask for use with the image.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.MaskSize">
<short><var>MaskSize</var> - pointer to the size of the mask.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.Palette">
<short>
<var>Palette</var> - pointer to the palette of colors for this image.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.PaletteSize">
<short>
<var>PaletteSize</var> - pointer to the size of the palette.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.Init">
<short>
<var>Init</var> - initiator for the object. Don't use a constructor here, it 
will break compatibility with a record.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.CreateData">
<short>
<var>CreateData</var> - method to create the data for the record.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.CreateData.AZeroMem">
<short/>
</element>

<element name="TRawImage.FreeData">
<short>Destroys the allocated Data, Mask and Palette arrays.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.ReleaseData">
<short>
<var>ReleaseData</var> - frees the resources when finished with the data.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImage.ExtractRect">
<short>
<var>ExtractRect</var> - find the position of the bounding rectangle from the 
raw data.
</short>
</element>
<element name="TRawImage.ExtractRect.ARect">
<short/>
</element>
<element name="TRawImage.ExtractRect.ADst">
<short/>
</element>

<element name="TRawImage.GetLineStart">
<short>
Gets a pointer to the byte position at the beginning of the specified 
scanline.
</short>
<descr>
<p>
The return value is Nil if Data has not been assigned in the class instance, 
and when the ALine argument contains 0 (zero). The pointer position is 
calculated as the product of ALine and the BytesPerLine setting in the image 
Description.
</p>
</descr>
<seealso/>
</element>
<element name="TRawImage.GetLineStart.Result">
<short/>
</element>
<element name="TRawImage.GetLineStart.ALine">
<short/>
</element>

<element name="TRawImage.PerformEffect">
<short>
<var>PerformEffect</var> - applies a specified special effect to the data of 
the Raw Image.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.PerformEffect.ADrawEffect">
<short/>
</element>
<element name="TRawImage.PerformEffect.CreateNewData">
<short/>
</element>
<element name="TRawImage.PerformEffect.FreeOldData">
<short/>
</element>

<element name="TRawImage.ReadBits">
<short>
<var>ReadBits</var> - reads the bit values for the raw image data at a given 
position.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.ReadBits.APosition">
<short/>
</element>
<element name="TRawImage.ReadBits.APrec">
<short/>
</element>
<element name="TRawImage.ReadBits.AShift">
<short/>
</element>

<element name="TRawImage.ReadChannels">
<short>
Reads the Red, Green, Blue and Alpha channel values at a given position in 
pixel data.
</short>
</element>
<element name="TRawImage.ReadChannels.APosition">
<short/>
</element>
<element name="TRawImage.ReadChannels.ARed">
<short/>
</element>
<element name="TRawImage.ReadChannels.AGreen">
<short/>
</element>
<element name="TRawImage.ReadChannels.ABlue">
<short/>
</element>
<element name="TRawImage.ReadChannels.AAlpha">
<short/>
</element>

<element name="TRawImage.ReadMask">
<short>
Reads the Mask value at the given position in the image data.
</short>
<descr>
<p>
Reads the Mask value at the given position in the image data. Returns 
AMask=True if the pixel is transparent. The position in the Mask data 
typically differs from the position in the color data.
</p>
</descr>
<seealso/>
</element>
<element name="TRawImage.ReadMask.APosition">
<short/>
</element>
<element name="TRawImage.ReadMask.AMask">
<short/>
</element>

<element name="TRawImage.WriteBits">
<short>Writes ABits into Data at the given position.</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.WriteBits.APosition">
<short/>
</element>
<element name="TRawImage.WriteBits.APrec">
<short/>
</element>
<element name="TRawImage.WriteBits.AShift">
<short/>
</element>
<element name="TRawImage.WriteBits.ABits">
<short/>
</element>

<element name="TRawImage.WriteChannels">
<short>
<var>WriteChannels</var> - writes the specified channel values at the 
nominated position.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.WriteChannels.APosition">
<short/>
</element>
<element name="TRawImage.WriteChannels.ARed">
<short/>
</element>
<element name="TRawImage.WriteChannels.AGreen">
<short/>
</element>
<element name="TRawImage.WriteChannels.ABlue">
<short/>
</element>
<element name="TRawImage.WriteChannels.AAlpha">
<short/>
</element>

<element name="TRawImage.WriteMask">
<short>
Writes the mask for the raw image when assigned and given a valid bit depth 
in the image description.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImage.WriteMask.APosition">
<short/>
</element>
<element name="TRawImage.WriteMask.AMask">
<short/>
</element>

<element name="TRawImage.IsMasked">
<short>
<var>IsMasked</var> - returns <b>True</b> if the specified pixels are masked.
</short>
</element>
<element name="TRawImage.IsMasked.Result">
<short/>
</element>
<element name="TRawImage.IsMasked.ATestPixels">
<short/>
</element>

<element name="TRawImage.IsTransparent">
<short>
<var>IsTransparent</var> - returns <b>True</b> if the specified pixels are 
transparent.
</short>
</element>
<element name="TRawImage.IsTransparent.Result">
<short/>
</element>
<element name="TRawImage.IsTransparent.ATestPixels">
<short/>
</element>

<element name="TRawImage.IsEqual">
<short>
<var>IsEqual</var> - returns <b>True</b> if the current and specified images 
are equal.</short>
</element>
<element name="TRawImage.IsEqual.Result">
<short/>
</element>
<element name="TRawImage.IsEqual.AImage">
<short/>
</element>

<element name="PRawImage">
<short>
<var>PRawImage</var> - pointer to a <var>TRawImage</var>.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageLineStarts">
<short>
<var>TRawImageLineStarts</var> - contains a list of the start positions of 
the lines in the Raw Image.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageLineStarts.FWidth"/>
<element name="TRawImageLineStarts.FHeight"/>
<element name="TRawImageLineStarts.FBitsPerPixel"/>
<element name="TRawImageLineStarts.FLineEnd"/>
<element name="TRawImageLineStarts.FLineOrder"/>

<element name="TRawImageLineStarts.Positions">
<short>The array of start positions for scanlines in a raw image.</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageLineStarts.Init">
<short>
<var>Init</var> - initiator for the object. Don't use a constructor here, it 
will break compatibility with a record.
</short>
<descr/>
<seealso/>
</element>

<element name="TRawImageLineStarts.GetPosition">
<short>
<var>GetPosition</var> - returns the position specified by x, y coordinates 
as a <var>TRawImagePosition</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TRawImageLineStarts.GetPosition.x">
<short/>
</element>
<element name="TRawImageLineStarts.GetPosition.y">
<short/>
</element>

<element name="PRawImageLineStarts">
<short>
<var>PRawImageLineStarts</var> - pointer to <var>TRawImageLineStarts</var>.
</short>
<descr/>
<seealso/>
</element>

<element name="DefaultByteOrder">
<short>
Byte order for raw image data on the platform or widgetset.
</short>
<descr>
<p>
Value from TRawImageByteOrder with the byte order (Endian-ness) for the 
platform or widgetset.
</p>
</descr>
<seealso/>
</element>

<element name="GetBytesPerLine">
<short>
<var>GetBytesPerLine</var> - returns the number of bytes per line (as a 
pointer).
</short>
<descr/>
<seealso/>
</element>
<element name="GetBytesPerLine.Result">
<short/>
</element>
<element name="GetBytesPerLine.AWidth">
<short/>
</element>
<element name="GetBytesPerLine.ABitsPerPixel">
<short/>
</element>
<element name="GetBytesPerLine.ALineEnd">
<short/>
</element>

<element name="GetBitsPerLine">
<short>
<var>GetBitsPerLine</var> - returns the number of bits per line (as a 
pointer).
</short>
<descr/>
<seealso/>
</element>
<element name="GetBitsPerLine.Result">
<short/>
</element>
<element name="GetBitsPerLine.AWidth">
<short/>
</element>
<element name="GetBitsPerLine.ABitsPerPixel">
<short/>
</element>
<element name="GetBitsPerLine.ALineEnd">
<short/>
</element>

<element name="CopyImageData">
<short>
<var>CopyImageData</var> - copies data from <var>ASource</var> to 
<var>ADestination</var>, returning <b>True</b> if successful.
</short>
<descr/>
<seealso/>
</element>
<element name="CopyImageData.Result">
<short/>
</element>
<element name="CopyImageData.AWidth">
<short/>
</element>
<element name="CopyImageData.AHeight">
<short/>
</element>
<element name="CopyImageData.ARowStride">
<short/>
</element>
<element name="CopyImageData.ABPP">
<short/>
</element>
<element name="CopyImageData.ASource">
<short/>
</element>
<element name="CopyImageData.ARect">
<short/>
</element>
<element name="CopyImageData.ASourceOrder">
<short/>
</element>
<element name="CopyImageData.ADestinationOrder">
<short/>
</element>
<element name="CopyImageData.ADestinationEnd">
<short/>
</element>
<element name="CopyImageData.ADestination">
<short/>
</element>
<element name="CopyImageData.ASize">
<short/>
</element>

<element name="RawImageQueryFlagsToString">
<short>
Converts the specified set of raw image query flags to a String value.
</short>
<descr/>
<seealso/>
</element>
<element name="RawImageQueryFlagsToString.Result">
<short/>
</element>
<element name="RawImageQueryFlagsToString.AFlags">
<short/>
</element>

<element name="MissingBits">
<short>
Used to pad bit data in a raw image to a specific precision and byte 
boundaries.
</short>
<descr>
<p>
Used to pad bit data in a raw image to a specific precision and byte 
boundaries.
</p>
</descr>
<seealso/>
</element>

<element name="DisabledDrawEffectStyle">
<short>Controls the appearance of disabled images.</short>
<descr>
<p>
This variable controls how <link id="TRawImage.PerformEffect"/> represents 
<link id="TGraphicsDrawEffect">gdeDisabled</link>. 
Applications should set it based on the background color for their interfaces.
</p>
</descr>
</element>
<element name="DisabledDrawEffectStyle.ddesGrayscale">
<short>Convert RGB values to grayscale.</short>
</element>
<element name="DisabledDrawEffectStyle.ddesDarken">
<short>Convert to black with alpha representing grayscale.</short>
</element>
<element name="DisabledDrawEffectStyle.ddesLighten">
<short>Convert to white with alpha representing grayscale.</short>
</element>
</module>
<!-- GraphType -->
</package>
</fpdoc-descriptions>