12345678910111213141516171819202122232425262728293031 |
- #ifndef CDRAPP_H_INCLUDED
- #define CDRAPP_H_INCLUDED
- #import "VGCoreAuto.tlb"
- #include "VGCoreAuto.tlh"
- #define corel VGCore::IVGApplication
- using namespace VGCore;
- void Call_CorelDRAW();
- bool polygon_gravity_dot(corel* cdr);
- bool Test_Intersect(corel* cdr);
- // 重新包装 创建物件函数
- #define ZERO_4PC 0, 0, 0, 0
- IVGShapePtr MakeEllipse(corel* cdr, double x, double y, double r);
- IVGShapePtr MakeEllipse(corel* cdr, IVGShapePtr s, double r);
- IVGShapePtr MakeRectangle(corel* cdr, double x, double y, double w, double h);
- IVGShapePtr MakeRectangle(corel* cdr, IVGShapePtr s, double w, double h);
- IVGShapePtr DrawLine(corel* cdr, double x1, double y1, double x2, double y2);
- #endif // CDRAPP_H_INCLUDED
|