Files
PathEditor/libs/CD/include/cdcairo.h
T
Serendipity 6a22202ce5 build: 重构IUP库依赖和项目结构
- 删除旧版iup-3.31_Win64_dllw6_lib目录及其所有二进制文件
- 将IUP和CD库重新组织为独立目录结构,包含头文件和静态库
- 更新CMakeLists.txt以链接新的静态库(iupcontrols、iupimglib、cd等)
- 修改main.c以显式初始化IupControls和IupImageLib扩展库
- 更新回调函数签名以匹配IUP Matrix控件的实际参数
- 调整UI工具函数以使用Matrix控件的属性(MARKED、NUMLIN等)
- 更新安装脚本仅复制实际依赖的DLL文件
- 添加所有缺失的IUP和CD头文件以支持完整功能
2026-03-19 19:51:51 +08:00

46 lines
1.2 KiB
C

/** \file
* \brief Cairo extra drivers.
* Rendering PDF, PS, SVG and IMAGERGB.
*
* See Copyright Notice in cd.h
*/
#ifndef __CD_CAIRO_H
#define __CD_CAIRO_H
#ifdef __cplusplus
extern "C" {
#endif
/* Some of these context can be used directly or by cdInitContextPlus,
as CD_NATIVEWINDOW, CD_IMAGE, CD_EMF, CD_PRINTER and CD_DBUFFER.
The others only directly.
*/
cdContext* cdContextCairoNativeWindow(void);
cdContext* cdContextCairoImage(void);
cdContext* cdContextCairoDBuffer(void);
cdContext* cdContextCairoPrinter(void);
cdContext* cdContextCairoPS(void);
cdContext* cdContextCairoPDF(void);
cdContext* cdContextCairoSVG(void);
cdContext* cdContextCairoImageRGB(void);
cdContext* cdContextCairoEMF(void);
#define CD_CAIRO_NATIVEWINDOW cdContextCairoNativeWindow()
#define CD_CAIRO_IMAGE cdContextCairoImage()
#define CD_CAIRO_DBUFFER cdContextCairoDBuffer()
#define CD_CAIRO_PRINTER cdContextCairoPrinter()
#define CD_CAIRO_PS cdContextCairoPS()
#define CD_CAIRO_PDF cdContextCairoPDF()
#define CD_CAIRO_SVG cdContextCairoSVG()
#define CD_CAIRO_IMAGERGB cdContextCairoImageRGB()
#define CD_CAIRO_EMF cdContextCairoEMF()
#ifdef __cplusplus
}
#endif
#endif /* ifndef __CD_CAIRO_ */