Skip to content

Commit 1d17f75

Browse files
committed
Colour Conversion, Bitmaps documentation.
1 parent 522973f commit 1d17f75

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

LazDoc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
.PHONY: default clean
33

4-
docunits := os_linux dtm mufasatypes bitmaps
5-
coreunits := os_linux dtm mufasatypes bitmaps
4+
docunits := os_linux dtm mufasatypes bitmaps colour_conv
5+
coreunits := os_linux dtm mufasatypes bitmaps colour_conv
66

77
default:
88

LazDoc/bitmaps.xml

+12
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@
9090
<element name="ArrDataToRawImage">
9191
<short>Create a TRawImage from passed pixel data.</short>
9292
</element>
93+
<short>The MML bitmap unit</short>
94+
<descr>Contains the TMufasaClass and a class that manages an array of TMufasaBitmaps.</descr>
95+
<element name="TMBitmaps">
96+
<short>Manages TMufasaBitmaps in an array.</short>
97+
</element>
98+
<element name="RGBToBGR">
99+
<short>Function to convert RGB to BGR.</short>
100+
<descr>The function is inline so there won't be any function calling overhead.</descr>
101+
</element>
102+
<element name="TMufasaBitmap.Rectangle">
103+
<short>Fill a rectangle with a specific colour.</short>
104+
</element>
93105
</module>
94106
</package>
95107
</fpdoc-descriptions>

LazDoc/colour_conv.xml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0"?>
2+
<fpdoc-descriptions>
3+
<package name="Simba">
4+
<module name="colour_conv">
5+
<element name="RGBtoColor">
6+
<short>Convert R, G, B to a Win32 Colour.</short>
7+
</element>
8+
<element name="ColorToRGB">
9+
<short>Convert a Win32 colour to RGB.</short>
10+
</element>
11+
<element name="RGBToXYZ">
12+
<short>Convert R, G, B to X, Y, Z.</short>
13+
</element>
14+
<element name="XYZToRGB">
15+
<short>Convert X, Y, Z to R, G, B.</short>
16+
</element>
17+
<element name="RGBToHSL">
18+
<short>Convert R, G, B to H, S, L.</short>
19+
<descr>This function multiplies the H, S, L values returned by 100.</descr>
20+
</element>
21+
<element name="HSLtoRGB">
22+
<short>Convert H, S, L to R, G, B.</short>
23+
</element>
24+
<element name="RGBToHSLNonFixed">
25+
<short>Convert R, G, B to H, S, L.</short>
26+
<descr>This function does not multiply the returned H, S, L by 100.</descr>
27+
</element>
28+
<element name="ColorToHSL">
29+
<short>Convert win32 colour to H, S, L.</short>
30+
</element>
31+
<element name="ColorToXYZ">
32+
<short>Convert Win32 colour to X, Y, Z.</short>
33+
</element>
34+
<element name="HSLToColor">
35+
<short>Convert H, S, L to win32 colour.</short>
36+
</element>
37+
<element name="XYZToColor">
38+
<short>Convert X, Y, Z to win32 colour.</short>
39+
</element>
40+
<element name="BGRToRGB">
41+
<short>Swizzle B, G, R to R, G, B.</short>
42+
</element>
43+
</module>
44+
</package>
45+
</fpdoc-descriptions>

0 commit comments

Comments
 (0)