January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Actually I was thinking to a user defined buffer type:
struct SurfaceBuffer
{
void* data; // used... | |||
January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Okay, thanks for your answer. So which function do i call with "cr.getTarget()" and... | |||
January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
you would either cr.getTarget(); or cairo.ImageSurface.ImageSurface.create. I'm not sure how... | |||
January 01, 2016 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Thanks for your answer. But how do i access the function via the context? It... | |||
December 30, 2015 Learn » Re: GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
render to a png back buffer. see cairo_image_surface_create_for_data then you... | |||
December 30, 2015 Learn » GTKD Cairo get pixel color | |||
|---|---|---|---|
| |||
Hello, is there any way to get the pixel color of a single pixel by... | |||
December 28, 2015 Learn » Re: GTKD drawing area remains white even SourceRgb is changed | |||
|---|---|---|---|
| |||
The values passed to setSourceRgb should be between 0 and 1. -- Mike Wey | |||
December 27, 2015 Learn » GTKD drawing area remains white even SourceRgb is changed | |||
|---|---|---|---|
| |||
My code: http://dpaste.com/1X3E1HW i store colors in the accumulator-array and draw... | |||
December 26, 2015 Learn » Re: GTKD - Get the size of the context | |||
|---|---|---|---|
| |||
Just for future newcomers, the answer for the above was given here: http://forum.dlang... | |||
December 26, 2015 Learn » Re: GTKD - Get the size of the context | |||
|---|---|---|---|
| |||
...kind of hard to find explanations for GTKD. But know i face a strange problem... | |||
Copyright © 1999-2021 by the D Language Foundation