34 #ifndef __HPGS_PLUGIN_H
35 #define __HPGS_PLUGIN_H
46 # ifdef HPGS_BUILD_PLUGIN
47 # define HPGS_PLUGIN_API __attribute__((dllexport))
49 # define HPGS_PLUGIN_API __attribute__((dllimport))
52 # ifdef HPGS_BUILD_PLUGIN
53 # define HPGS_PLUGIN_API __declspec(dllexport)
55 # define HPGS_PLUGIN_API __declspec(dllimport)
59 # define HPGS_PLUGIN_API
62 # define HPGS_PLUGIN_API
66 HPGS_PLUGIN_API
int hpgs_plugin_new_device(
hpgs_device **device,
68 hpgs_reader_asset_func_t *page_asset_func,
69 void **frame_asset_ctxt,
70 hpgs_reader_asset_func_t *frame_asset_func,
74 double xres,
double yres,
76 int argc,
const char *argv[]);
78 HPGS_PLUGIN_API
void hpgs_plugin_version(
int * major,
int *minor);
80 HPGS_PLUGIN_API
void hpgs_plugin_init();
81 HPGS_PLUGIN_API
void hpgs_plugin_cleanup();
A bounding box.
Definition: hpgs.h:297
A virtual vector graphics device for the HPGL reader.
Definition: hpgs.h:699