Re: [wxhaskell-devel] using graphicscontext inside a paint event

2014-03-10 Thread Kristof Bastiaensen
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 with

Re: [wxhaskell-devel] using graphicscontext inside a paint event

2014-03-10 Thread Henk-Jan van Tuyl
On Sun, 09 Mar 2014 20:10:28 +0100, Kristof Bastiaensen kris...@resonata.be 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

Re: [wxhaskell-devel] using graphicscontext inside a paint event

2014-03-10 Thread Kristof Bastiaensen
On 10-03-14 14:13, Henk-Jan van Tuyl wrote: On Sun, 09 Mar 2014 20:10:28 +0100, Kristof Bastiaensen kris...@resonata.be 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