/usr/include/libAfterImage/asimagexml.h is in libafterimage-dev 2.2.12-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | #ifndef ASIMAGEXML_HEADER_FILE_INCLUDED
#define ASIMAGEXML_HEADER_FILE_INCLUDED
#include "asimage.h"
#ifdef __cplusplus
extern "C" {
#endif
/* We don't trust the math library to actually provide this number.*/
#undef PI
#define PI 180
#define ASIM_XML_ENABLE_SAVE (0x01<<0)
#define ASIM_XML_ENABLE_SHOW (0x01<<1)
struct ASImageManager ;
struct ASFontManager ;
struct xml_elem_t;
void set_xml_image_manager( struct ASImageManager *imman );
void set_xml_font_manager( struct ASFontManager *fontman );
struct ASImageManager *create_generic_imageman(const char *path);
struct ASFontManager *create_generic_fontman(Display *dpy, const char *path);
ASImage *
compose_asimage_xml(ASVisual *asv,
struct ASImageManager *imman,
struct ASFontManager *fontman,
char *doc_str, ASFlagType flags,
int verbose, Window display_win,
const char *path);
#define ASXMLVAR_TargetWidth "target.width"
#define ASXMLVAR_TargetHeight "target.height"
ASImage *
compose_asimage_xml_at_size(ASVisual *asv,
struct ASImageManager *imman,
struct ASFontManager *fontman,
char *doc_str,
ASFlagType flags,
int verbose,
Window display_win,
const char *path,
int target_width,
int target_height);
ASImage *
compose_asimage_xml_from_doc(ASVisual *asv,
struct ASImageManager *imman,
struct ASFontManager *fontman,
struct xml_elem_t* doc,
ASFlagType flags,
int verbose,
Window display_win,
const char *path,
int target_width, int target_height);
void show_asimage(ASVisual *asv, ASImage* im, Window w, long delay);
ASImage* build_image_from_xml( ASVisual *asv,
struct ASImageManager *imman,
struct ASFontManager *fontman,
struct xml_elem_t* doc, struct xml_elem_t** rparm,
ASFlagType flags, int verbose, Window display_win);
Bool save_asimage_to_file(const char* file2bsaved, ASImage *im,
const char* strtype,
const char *compress,
const char *opacity,
int delay, int replace);
#ifdef __cplusplus
}
#endif
#endif /*#ifndef ASIMAGEXML_HEADER_FILE_INCLUDED*/
|