GTKD Cairo get pixel color

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 5 08:43:00 PST 2016


On Tuesday, 5 January 2016 at 16:25:01 UTC, TheDGuy wrote:
> But how do i know which line or column my pixel is in?
- study D operator overloading, I've given you the solution.

> And what is 't' in 'opIndexAssign'?
- t is what you want to assign. It can be an uint or maybe a 
float[4]. Look at my bitmap class.



More information about the Digitalmars-d-learn mailing list