simple display (from: GUI library for D)
spir
denis.spir at gmail.com
Sat Apr 9 07:01:11 PDT 2011
On 04/09/2011 02:42 AM, Adam D. Ruppe wrote:
>> OK. (But for this module I think usage simplicity is more
>> > important than raw speed.
> The struct is at least equal in simplicity:
>
> image[x, y] = Color(r, g, b);
>
> vs
>
> image[x, y] = tuple(r, g, b);
Indeed; and then:
image[x, y].g
versus
image[x, y][1]
Denis
--
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d
mailing list