Initial feedback for std.experimental.image

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 10 17:49:25 PDT 2015


On Friday, 10 July 2015 at 23:23:32 UTC, ketmar wrote:
> 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").

Wouldn't that better be called blendPixel?


More information about the Digitalmars-d mailing list