13#ifndef SEEN_EXTENSION_INTERNAL_EMF_H
14#define SEEN_EXTENSION_INTERNAL_EMF_H
26#define DIRTY_NONE 0x00
27#define DIRTY_TEXT 0x01
28#define DIRTY_FILL 0x02
29#define DIRTY_STROKE 0x04
60 sizeWnd = sizel_set( 0.0, 0.0 );
62 winorg = point32_set( 0.0, 0.0 );
63 vieworg = point32_set( 0.0, 0.0 );
72 cur = point32_set( 0, 0 );
116 arcdir(U_AD_COUNTERCLOCKWISE),
172 char const *filename)
override;
189 uint32_t iUsage, uint32_t offBits, uint32_t offBmi);
215 double dx,
double dy,
double dw,
double dh,
int sx,
int sy,
int sw,
int sh,
216 uint32_t iUsage, uint32_t offBits, uint32_t cbBits, uint32_t offBmi, uint32_t cbBmi);
The object that is the basis for the Extension system.
static void enlarge_clips(PEMF_CALLBACK_DATA d)
static void free_emf_strings(EMF_STRINGS name)
static int myEnhMetaFileProc(char *contents, unsigned int length, PEMF_CALLBACK_DATA d)
static int in_clips(PEMF_CALLBACK_DATA d, const char *test)
static void add_clips(PEMF_CALLBACK_DATA d, const char *clippath, unsigned int logic)
static double _pix_y_to_point(PEMF_CALLBACK_DATA d, double py)
static void select_pen(PEMF_CALLBACK_DATA d, int index)
static uint32_t add_gradient(PEMF_CALLBACK_DATA d, uint32_t gradientType, U_TRIVERTEX tv1, U_TRIVERTEX tv2)
static double current_scale(PEMF_CALLBACK_DATA d)
static uint32_t add_image(PEMF_CALLBACK_DATA d, void *pEmr, uint32_t cbBits, uint32_t cbBmi, uint32_t iUsage, uint32_t offBits, uint32_t offBmi)
static void delete_object(PEMF_CALLBACK_DATA d, int index)
static void enlarge_hatches(PEMF_CALLBACK_DATA d)
static double pix_to_x_point(PEMF_CALLBACK_DATA d, double px, double py)
static std::string current_matrix(PEMF_CALLBACK_DATA d, double x, double y, int useoffset)
static int AI_hack(PU_EMRHEADER pEmr)
static void enlarge_images(PEMF_CALLBACK_DATA d)
static uint32_t add_hatch(PEMF_CALLBACK_DATA d, uint32_t hatchType, U_COLORREF hatchColor)
bool check(Inkscape::Extension::Extension *module) override
Verify any dependencies.
static void insert_object(PEMF_CALLBACK_DATA d, int index, int type, PU_ENHMETARECORD pObj)
static void select_font(PEMF_CALLBACK_DATA d, int index)
static std::string pix_to_xy(PEMF_CALLBACK_DATA d, double x, double y)
static void print_document_to_file(SPDocument *doc, const gchar *filename)
static void enlarge_gradients(PEMF_CALLBACK_DATA d)
static void snap_to_faraway_pair(double *x, double *y)
std::unique_ptr< SPDocument > open(Inkscape::Extension::Input *mod, char const *uri, bool is_importing) override
Open a file.
static void output_style(PEMF_CALLBACK_DATA d, int iType)
static uint32_t * unknown_chars(size_t count)
static int in_hatches(PEMF_CALLBACK_DATA d, char *test)
static void select_extpen(PEMF_CALLBACK_DATA d, int index)
static double current_rotation(PEMF_CALLBACK_DATA d)
static double pix_to_y_point(PEMF_CALLBACK_DATA d, double px, double py)
static double _pix_x_to_point(PEMF_CALLBACK_DATA d, double px)
static double pix_to_abs_size(PEMF_CALLBACK_DATA d, double px)
void save(Inkscape::Extension::Output *mod, SPDocument *doc, char const *filename) override
static int in_gradients(PEMF_CALLBACK_DATA d, const char *test)
static void common_image_extraction(PEMF_CALLBACK_DATA d, void *pEmr, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage, uint32_t offBits, uint32_t cbBits, uint32_t offBmi, uint32_t cbBmi)
static int in_images(PEMF_CALLBACK_DATA d, const char *test)
static void select_brush(PEMF_CALLBACK_DATA d, int index)
Typed SVG document implementation.
constexpr auto EMF_MAX_DC
EMF_DEVICE_CONTEXT dc[EMF_MAX_DC+1]
Information for the entire text reassembly system.
For GRADIENT_[TRIANGLE|U_RECT].
SPStyle - a style object for SPItem objects.
text_reassemble.h from libTERE
Structures, definitions, and function prototypes for EMF files.
Defintions and prototype for function for converting EMF records between Big Endian and Little Endian...
Defintions and prototype for function for converting EMF records between Big Endian and Little Endian...