Initial feedback for std.experimental.image

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 10 16:23:32 PDT 2015


On Fri, 10 Jul 2015 03:59:29 +0000, Tofu Ninja wrote:

> On Friday, 10 July 2015 at 03:00:57 UTC, Rikki Cattermole wrote:
>>> getPixel/putPixel or a variation of such? This is the most common name
>>> for such functions.
>>
>> Fine by me.
> 
> This is honestly just nitpicking, but I see setPixel more than putPixel
> I think.

i'm using `setPixel` to change pixel unconditionally (think of it as "set 
rgb"), and `putPixel` to blend pixel (think of it as "do rgba color mix").
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150710/44d3bd3d/attachment-0001.sig>


More information about the Digitalmars-d mailing list