12#ifndef SEEN_EXTENSION_INTERNAL_WMF_H
13#define SEEN_EXTENSION_INTERNAL_WMF_H
23#define DIRTY_NONE 0x00
24#define DIRTY_TEXT 0x01
25#define DIRTY_FILL 0x02
26#define DIRTY_STROKE 0x04
57 sizeWnd = point16_set( 0.0, 0.0 );
59 winorg = point16_set( 0.0, 0.0 );
60 vieworg = point16_set( 0.0, 0.0 );
63 cur = point16_set( 0.0, 0.0 );
112 arcdir(U_AD_COUNTERCLOCKWISE),
164 char const *filename)
override;
202 double dx,
double dy,
double dw,
double dh,
int sx,
int sy,
int sw,
int sh, uint32_t iUsage);
204 double dx,
double dy,
double dw,
double dh,
int sx,
int sy,
int sw,
int sh);
The object that is the basis for the Extension system.
static int in_images(PWMF_CALLBACK_DATA d, char *test)
static double pix_to_x_point(PWMF_CALLBACK_DATA d, double px, double py)
static double pix_to_abs_size(PWMF_CALLBACK_DATA d, double px)
static double _pix_y_to_point(PWMF_CALLBACK_DATA d, double py)
static void select_pen(PWMF_CALLBACK_DATA d, int index)
static uint32_t add_bm16_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px)
static void enlarge_hatches(PWMF_CALLBACK_DATA d)
static uint32_t add_dib_image(PWMF_CALLBACK_DATA d, const char *dib, uint32_t iUsage)
static void add_clips(PWMF_CALLBACK_DATA d, const char *clippath, unsigned int logic)
std::unique_ptr< SPDocument > open(Inkscape::Extension::Input *mod, char const *uri, bool is_importing) override
Open a file.
static double pix_to_y_point(PWMF_CALLBACK_DATA d, double px, double py)
static void select_font(PWMF_CALLBACK_DATA d, int index)
static int myMetaFileProc(const char *contents, unsigned int length, PWMF_CALLBACK_DATA d)
static void output_style(PWMF_CALLBACK_DATA d)
static void delete_object(PWMF_CALLBACK_DATA d, int index)
static double current_scale(PWMF_CALLBACK_DATA d)
static double current_rotation(PWMF_CALLBACK_DATA d)
static std::string current_matrix(PWMF_CALLBACK_DATA d, double x, double y, int useoffset)
static void common_dib_to_image(PWMF_CALLBACK_DATA d, const char *dib, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage)
store SVG for an image given the pixmap and various coordinate information
static void enlarge_images(PWMF_CALLBACK_DATA d)
static void common_bm16_to_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh)
store SVG for an image given the pixmap and various coordinate information
static int insert_object(PWMF_CALLBACK_DATA d, int type, const char *record)
void save(Inkscape::Extension::Output *mod, SPDocument *doc, char const *filename) override
static double _pix_x_to_point(PWMF_CALLBACK_DATA d, double px)
static uint32_t * unknown_chars(size_t count)
static int in_hatches(PWMF_CALLBACK_DATA d, char *test)
static void free_wmf_strings(WMF_STRINGS name)
bool check(Inkscape::Extension::Extension *module) override
Verify any dependencies.
static int in_clips(PWMF_CALLBACK_DATA d, const char *test)
static uint32_t add_hatch(PWMF_CALLBACK_DATA d, uint32_t hatchType, U_COLORREF hatchColor)
static void print_document_to_file(SPDocument *doc, const gchar *filename)
static void enlarge_clips(PWMF_CALLBACK_DATA d)
static std::string pix_to_xy(PWMF_CALLBACK_DATA d, double x, double y)
static int insertable_object(PWMF_CALLBACK_DATA d)
static void select_brush(PWMF_CALLBACK_DATA d, int index)
Typed SVG document implementation.
constexpr auto WMF_MAX_DC
WMF_DEVICE_CONTEXT dc[WMF_MAX_DC+1]
Information for the entire text reassembly system.
Bitmap16 Object WMF manual 2.2.2.1.
SPStyle - a style object for SPItem objects.
text_reassemble.h from libTERE
Structures, definitions, and function prototypes for WMF files.