diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /other/pamx/send.h | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamx/send.h')
-rw-r--r-- | other/pamx/send.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/other/pamx/send.h b/other/pamx/send.h new file mode 100644 index 00000000..203b99c7 --- /dev/null +++ b/other/pamx/send.h @@ -0,0 +1,38 @@ +#ifndef SEND_H_INCLUDED +#define SEND_H_INCLUDED + +#include <X11/Xlib.h> + +#include "pm_c_util.h" + +struct Image; + +void +sendXImage(XImageInfo * const ximageinfoP, + int const src_x, + int const src_y, + int const dst_x, + int const dst_y, + unsigned int const w, + unsigned int const h); + +void +freeXImage(struct Image * const imageP, + XImageInfo * const ximageinfoP); + +XImageInfo * +imageToXImage(Display * const disp, + int const scrn, + Visual * const visualP, /* visual to use */ + unsigned int const ddepth, /* depth of the visual to use */ + struct Image * const origImageP, + bool const userWantsPrivateCmap, + bool const userWantsFit, + bool const verbose); + +Pixmap +ximageToPixmap(Display * const disp, + Window const parent, + XImageInfo * const ximageinfo); + +#endif |