static void cdkillcanvas (cdCtxCanvas *ctxcanvas) { if (!ctxcanvas->user_image) free(ctxcanvas->rgb); cdcairoKillCanvas(ctxcanvas); }
static void cdkillcanvas(cdCtxCanvas *ctxcanvas) { if (ctxcanvas->hDC) ReleaseDC(ctxcanvas->hWnd, ctxcanvas->hDC); cdcairoKillCanvas(ctxcanvas); }
static void cdkillcanvas (cdCtxCanvas *ctxcanvas) { cdcairoKillCanvas(ctxcanvas); }
static void cdkillcanvas(cdCtxCanvas* ctxcanvas) { ctxcanvas->cr = NULL; /* avoid to destroy it twice */ cdcairoKillCanvas(ctxcanvas); }