Bitmap: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
m (→‎{{header|11l}}: Named tuple as a base type)
Line 20: Line 20:
{{trans|Python}}
{{trans|Python}}


<syntaxhighlight lang="11l">T Colour
<syntaxhighlight lang="11l">T Colour((Byte r, Byte g, Byte b))
Byte r, g, b

F (r, g, b)
.r = r
.g = g
.b = b

F ==(other)
F ==(other)
R .r == other.r & .g == other.g & .b == other.b
R .r == other.r & .g == other.g & .b == other.b
Line 88: Line 81:
+--------------------+
+--------------------+
</pre>
</pre>

=={{header|Action!}}==
=={{header|Action!}}==
Part of the solution can be found in [http://www.rosettacode.org/wiki/Category:Action!_Bitmap_tools#RGBIMAGE.ACT RGBIMAGE.ACT]
Part of the solution can be found in [http://www.rosettacode.org/wiki/Category:Action!_Bitmap_tools#RGBIMAGE.ACT RGBIMAGE.ACT]