dxf->writeHatch, but how ?
Posted: Wed Jun 10, 2009 10:12 am
I havent found how to write a hatch into dxf
We have:
void DL_Dxf::writeHatch1 ( DL_WriterA & dw,
const DL_HatchData & data,
const DL_Attributes & attrib
)
where DL_HatchData (int hNumLoops, bool hSolid, double hScale, double hAngle, const string &hPattern)
First question: what shoud hPattern be and whats this hNumLoops all about?
Second question:
If I call :
void DL_Dxf::writeHatchLoop1 ( DL_WriterA & dw,
const DL_HatchLoopData & data
)
should I call the writeHatchEdge functions after this or before the writeHatchLoop?
Third question,why must I call writeHatch2 and how to use it ????
An example would be nice,since its impossible to decode it from the ribbonsofts class reference. Thank you!
We have:
void DL_Dxf::writeHatch1 ( DL_WriterA & dw,
const DL_HatchData & data,
const DL_Attributes & attrib
)
where DL_HatchData (int hNumLoops, bool hSolid, double hScale, double hAngle, const string &hPattern)
First question: what shoud hPattern be and whats this hNumLoops all about?
Second question:
If I call :
void DL_Dxf::writeHatchLoop1 ( DL_WriterA & dw,
const DL_HatchLoopData & data
)
should I call the writeHatchEdge functions after this or before the writeHatchLoop?
Third question,why must I call writeHatch2 and how to use it ????
An example would be nice,since its impossible to decode it from the ribbonsofts class reference. Thank you!