January 04, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Thank you very much! But surface.getPixelsWithLength() only gives me an array with 16 fields... | |||
January 04, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
I think you are looking for something like this. Context.getTarget will get you the... | |||
January 04, 2016 Learn » Re: Threading to prevent GUI Freeze | |||
|---|---|---|---|
| |||
...was created to get this incorporated into GtkD as I agree the framework should abstract... | |||
January 04, 2016 Learn » Re: Threading to prevent GUI Freeze | |||
|---|---|---|---|
| |||
...also see this GtkD issue here for https://github.com/gtkd-developers/GtkD/issues/137... | |||
January 04, 2016 Learn » Re: Threading to prevent GUI Freeze | |||
|---|---|---|---|
| |||
...this on every function i use from GTKD? threadsInit(); threadsEnter(); GtkAllocation size; widget.getAllocation(size... | |||
January 04, 2016 Learn » Threading to prevent GUI Freeze | |||
|---|---|---|---|
| |||
Hello, i use GTKD to draw some stuff on a DrawingArea. Because it needs some... | |||
January 02, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
...png"); but how do i do that with my GTKD Context in my "drawCallback()" function? | |||
January 02, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
``` import cairo.ImageSurface; ImageSurface.createForData(c,cairo.FORMAT_ARGB32,256,256,256*4); ``` You need... | |||
January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
I took a look into the source code of cairo and in the "ImageSurface.d... | |||
January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Ahm, i am not quite sure if you and [Mike Wey] talk about the same... | |||
Copyright © 1999-2021 by the D Language Foundation