Foxit PDF SDK
fs_vectorgraphics.h
浏览该文件的文档.
1 
14 #ifndef FS_VECTORGRAPHICS_H_
15 #define FS_VECTORGRAPHICS_H_
16 
17 #include "common/fs_common.h"
18 #if defined(_WIN32) || defined(_WIN64) || (_FX_OS_ == _FX_MACOSX_) || (defined(__linux__) && defined(__x86_64__) && !defined(__ANDROID__))
19 
25 namespace foxit {
29 namespace addon {
33 namespace vectorgraphics {
48 class VectorGraphics FS_FINAL : public Base {
49  public:
64  static void Initialize(const wchar_t* library_path);
65 
73  static void Release();
74 
95  static void InsertSVGToPage(const wchar_t* pdf_path, const wchar_t* svg_path, const wchar_t* out_pdf_path,
96  int page_index, float x, float y, float width, float height, int dpi);
97 
118  static void InsertSVGToPage(const char* pdf_path, const char* svg_path, const char* out_pdf_path,
119  int page_index, float x, float y, float width, float height, int dpi);
120 
141  static void InsertSVGToPDF(const wchar_t* pdf_path, const wchar_t* svg_path, const wchar_t* out_pdf_path,
142  int page_index, float page_width_pt, float page_height_pt, int dpi);
143 
164  static void InsertSVGToPDF(const char* pdf_path, const char* svg_path, const char* out_pdf_path,
165  int page_index, float page_width_pt, float page_height_pt, int dpi);
166 
187  static void InsertWMFToPage(const wchar_t* pdf_path, const wchar_t* wmf_path, const wchar_t* out_pdf_path,
188  int page_index, float x, float y, float width, float height, int dpi);
189 
209  static void InsertWMFToPage(const char* pdf_path, const char* wmf_path, const char* out_pdf_path,
210  int page_index, float x, float y, float width, float height, int dpi);
211 
232  static void InsertWMFToPDF(const wchar_t* pdf_path, const wchar_t* wmf_path, const wchar_t* out_pdf_path,
233  int page_index, float page_width_pt, float page_height_pt, int dpi);
234 
255  static void InsertWMFToPDF(const char* pdf_path, const char* wmf_path, const char* out_pdf_path,
256  int page_index, float page_width_pt, float page_height_pt, int dpi);
257 };
258 } // namespace vectorgraphics
259 } // namespace addon
260 } // namespace foxit
261 #endif // platform guard
262 #endif // FS_VECTORGRAPHICS_H_
通用定义和类的头文件。
Foxit 命名空间。
Definition: fs_accessibility.h:28