summaryrefslogtreecommitdiff
path: root/filter/pdftoopvp/oprs/OPVPSplashPath.h
blob: d8a3b23350f370f115879a726fbe90f0630eba5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef OPVPSPLASHPATH_H
#define OPVPSPLASHPATH_H

#include "splash/SplashPath.h"
#include "OPVPWrapper.h"

class OPVPSplashPath : public SplashPath {
public:

  OPVPSplashPath() {};

  OPVPSplashPath(SplashPath *spath) : SplashPath(spath) {
  }

  // Copy a path.
  OPVPSplashPath *copy() { return new OPVPSplashPath(this); }
  
  void getBBox(int *xMinA, int *yMinA, int *xMaxA, int *yMaxA);
  GBool isRectanglePath(SplashCoord *xMin, SplashCoord *yMin,
    SplashCoord *xMax, SplashCoord *yMax);
  SplashError makePath(OPVPWrapper *opvp);
  void closeAllSubPath();
private:
  OPVPSplashPath(OPVPSplashPath *path) : SplashPath(path) {
  }
};

#endif