summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/prcfile.h
blob: 168f1eb0bf43a4907ae2b415cc0efb291ad667a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PRCFILE_H
#define PRCFILE_H

#include "memory.h"
#include "prc/oPRCFile.h"

namespace camp {

inline RGBAColour rgba(pen p) {
  p.convert();
  p.torgb();
  return RGBAColour(p.red(),p.green(),p.blue(),p.opacity());
}
  
class prcfile : public oPRCFile {
public:  
  prcfile(string name) : oPRCFile(name.c_str()) {}
};

} //namespace camp

#endif