1 #ifndef __FILTERCXF_H__
2 #define __FILTERCXF_H__
5 #include "filterinterface.h"
8 * This format filter class can import and export CXF (CAM Expert Font) files.
10 * @author Andrew Mustun
12 class FilterCXF: public FilterInterface
19 * @return RS2::FormatCXF.
21 //RS2::FormatType rtti() {
22 // return RS2::FormatCXF;
25 /*virtual bool canImport(RS2::FormatType t) {
26 return (t==RS2::FormatCXF);
29 virtual bool canExport(RS2::FormatType t) {
30 return (t==RS2::FormatCXF);
33 virtual bool fileImport(Drawing & g, const QString & file, RS2::FormatType /*type*/);
34 virtual bool fileExport(Drawing & g, const QString & file, RS2::FormatType /*type*/);
36 void stream(std::ofstream & fs, double value);