1 /** \file 2 * \brief imImage driver 3 * 4 * See Copyright Notice in cd.h 5 */ 6 7 module cd.im; 8 9 import cd.cd: cdContext, cdCanvas; 10 11 extern (C) @safe nothrow: 12 13 cdContext* cdContextImImage(); 14 15 alias CD_IMIMAGE = cdContextImImage; 16 17 struct imImage; 18 19 void cdCanvasPatternImImage(cdCanvas* canvas, const(imImage) * image); 20 void cdCanvasStippleImImage(cdCanvas* canvas, const(imImage) * image); 21 void cdCanvasPutImImage(cdCanvas* canvas, const(imImage) * image, int x, int y, int w, int h); 22 void cdCanvasGetImImage(cdCanvas* canvas, imImage* image, int x, int y); 23 void cdfCanvasPutImImage(cdCanvas* canvas, const(imImage) * image, double x, double y, double w, double h); 24 void wdCanvasPutImImage(cdCanvas* canvas, const(imImage) * image, double x, double y, double w, double h); 25 void wdCanvasGetImImage(cdCanvas* canvas, imImage* image, double x, double y); 26