January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
MemoryStream is a managed pointer with methods to read and write at a particlular postion... | |||
January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Okay, but what is this? "import iz.memory, iz.streams, iz.properties;" I dont' understand... | |||
January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
- study D operator overloading, I've given you the solution. - t is what you want... | |||
January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
But how do i know which line or column my pixel is in? And what... | |||
January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
The data is just a contiguous memory area. You have to implement your own opIndexAssign... | |||
January 05, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
I tried it like in this C++ example: http://stackoverflow.com/questions/16785886/get-pixel... | |||
January 05, 2016 General » Re: What are you planning for 2016? | |||
|---|---|---|---|
| |||
Keep working on Linux GTK applications using GtkD including: * Finish my tiling terminal emulator, terminix... | |||
January 04, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
I've not followed the conversation since last time, but you can have a look... | |||
January 04, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Ups, that was my fault, sry :( But how do i get now the color for... | |||
January 04, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
I don't have any issues with either getPixelsWithLength and savev. for the savev call... | |||
Copyright © 1999-2021 by the D Language Foundation