}*/
// Import:
- virtual bool fileImport(RS_Graphic& g, const QString& file, RS2::FormatType /*type*/);
+ virtual bool fileImport(Drawing& g, const QString& file, RS2::FormatType /*type*/);
// Methods from DL_CreationInterface:
virtual void addLayer(const DL_LayerData & data);
virtual void setVariableDouble(const char * key, double value, int code);
// Export:
- virtual bool fileExport(RS_Graphic & g, const QString & file, RS2::FormatType type);
+ virtual bool fileExport(Drawing & g, const QString & file, RS2::FormatType type);
void writeVariables(DL_WriterA & dw);
void writeLayer(DL_WriterA & dw, RS_Layer * l);
private:
/** Pointer to the graphic we currently operate on. */
- RS_Graphic * graphic;
+ Drawing * graphic;
/** File name. Used to find out the full path of images. */
QString file;
/** string for concatinating text parts of MTEXT entities. */