cdrapp.h 722 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef CDRAPP_H_INCLUDED
  2. #define CDRAPP_H_INCLUDED
  3. #import "VGCoreAuto.tlb"
  4. #include "VGCoreAuto.tlh"
  5. #define corel VGCore::IVGApplication
  6. using namespace VGCore;
  7. void Call_CorelDRAW();
  8. bool polygon_gravity_dot(corel* cdr);
  9. bool Test_Intersect(corel* cdr);
  10. // 重新包装 创建物件函数
  11. #define ZERO_4PC 0, 0, 0, 0
  12. IVGShapePtr MakeEllipse(corel* cdr, double x, double y, double r);
  13. IVGShapePtr MakeEllipse(corel* cdr, IVGShapePtr s, double r);
  14. IVGShapePtr MakeRectangle(corel* cdr, double x, double y, double w, double h);
  15. IVGShapePtr MakeRectangle(corel* cdr, IVGShapePtr s, double w, double h);
  16. IVGShapePtr DrawLine(corel* cdr, double x1, double y1, double x2, double y2);
  17. #endif // CDRAPP_H_INCLUDED