On 10-03-14 14:13, Henk-Jan van Tuyl wrote:
> On Sun, 09 Mar 2014 20:10:28 +0100, Kristof Bastiaensen
> wrote:
>
>> I need to use a graphicpath to draw bezier curves, but wxhaskell doesn't
>> allow
>> me to create a graphicscontext from a paint event.
> :
> :
>> I am willing to help coding this f
On Sun, 09 Mar 2014 20:10:28 +0100, Kristof Bastiaensen
wrote:
> I need to use a graphicpath to draw bezier curves, but wxhaskell doesn't
> allow
> me to create a graphicscontext from a paint event.
:
:
> I am willing to help coding this functionality.
It's always great if someone is willing t
I have made some changes on my github fork, which I like better:
paintRaw now has type:
paintRaw :: Event w (PaintDC () -> Rect -> [Rect] -> IO ())
So you can use "graphicsContextCreate paintDC".
I removed my new handler paintRawContext, since it isn't needed.
This should be mostly compatible wi