1
0

cdrapp.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef CDRAPP_H_INCLUDED
  2. #define CDRAPP_H_INCLUDED
  3. #include "cdrapi.h"
  4. bool fill_red(corel *cdr);
  5. bool cql_OutlineColor(corel *cdr);
  6. bool cql_FillColor(corel *cdr);
  7. bool cql_SameSize(corel *cdr);
  8. bool Shapes_Filp(corel *cdr);
  9. bool Shapes_Filp(corel *cdr);
  10. bool Clear_Fill(corel *cdr);
  11. void CdrCopy_to_AdobeAI(corel *cdr);
  12. void AdobeAI_Copy_ImportCdr(corel *cdr);
  13. bool AutoMakeSelection(corel *cdr);
  14. bool Box_AutoGroup(corel *cdr, double exp = 0.0);
  15. bool BBox_DrawRectangle(corel *cdr, double exp = 0.0);
  16. void run_BoundaryGroup(corel *cdr);
  17. extern char infobuf[];
  18. #define GET_BOUNDING_BOX(box) \
  19. GetBoundingBox(&(box).x, &(box).y, &(box).w, &(box).h, false)
  20. #define ZERO_4PC 0, 0, 0, 0
  21. // 左下角坐标 x,y w,h 宽高
  22. typedef struct {
  23. double x;
  24. double y;
  25. double w;
  26. double h;
  27. } BoundingBox;
  28. bool isOverlapped(const BoundingBox &a, const BoundingBox &b);
  29. bool BoxGrouping(corel *cdr, IVGShapeRange *sr, IVGShapeRange *srs, double exp );
  30. #endif // CDRAPP_H_INCLUDED