[cairo] Win32 Surface Mem increase and app crash

小帅猪 caozp at qq.com
Sat May 4 06:39:54 PDT 2013

In MFC app, I add code in OnDraw();

    cario_surface_t* surface = cairo_win32_surface_create(pDC->GetSafeHDC());
    cairo_t* cr = cairo_create(surface);
    //Draw something;

It works, but when redrawing like maxize window, the memory increase, in the end, the application crash.
Is there any problem? Help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130504/75c35624/attachment.html>

More information about the cairo mailing list