Initial feedback for std.experimental.image

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 10 19:04:49 PDT 2015


On Sat, 11 Jul 2015 00:49:25 +0000, Meta wrote:

>> 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?

as Tofu said, `blendPixel` should then be parameterized with blending 
mode. and for `putPixel` i know blending mode, as it is fixed.

anyway, that was only a suggestion and (poor) reasoning for it, i'm not 
insisting on that scheme.
-------------- 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/20150711/075fad42/attachment.sig>


More information about the Digitalmars-d mailing list