Pixelbuffer to draw on a surface

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 30 05:09:34 PST 2015


On 30.11.2015 15:49, TheDGuy wrote:
> On Monday, 30 November 2015 at 09:09:00 UTC, lobo wrote:
>> On Monday, 30 November 2015 at 08:37:04 UTC, TheDGuy wrote:
>>> Hi,
>>> is there any possibility, to draw with a pixelbuffer to a surface
>>> (for example with GTKD) and to update it every few milliseconds?
>>
>> Are any of these suitable for your needs?
>>
>> https://github.com/DerelictOrg/DerelictSDL2
>> http://dgame-dev.de/
>>
>> https://github.com/DerelictOrg/DerelictSFML2
>> https://github.com/DerelictOrg/DerelictAllegro5
>> http://api.gtkd.org/src/gdk/Cairo.html
>>
>>
>> I'm using DerelictSDL2 and Dgame for small 2D hobby games and loving
>> it. Haven't used the others for D pixel rendering but I'm sure they're
>> fine too.
>>
>> bye,
>> lobo
> Thanks for your answer,
> but there is no specific solution inside GTKD?
>
As I know cairo is a part of GTK, so you consider using cairo as a 
specific solution.


More information about the Digitalmars-d-learn mailing list