dxflib_qcad: Saving dimension with custom text position

upstream commit b4c74180a6857c7b63f7a71e1236930e85c15134
This commit is contained in:
Marek Roszko 2020-11-19 19:01:22 -05:00
parent 5ea6755594
commit baebf7036f
1 changed files with 6 additions and 0 deletions

View File

@ -3512,6 +3512,12 @@ void DL_Dxf::writeDimStyleOverrides( DL_WriterA& dw,
dw.dxfString( 1001, "ACAD" );
dw.dxfString( 1000, "DSTYLE" );
dw.dxfString( 1002, "{" );
if( data.type & 128 )
{
// custom text position:
dw.dxfInt( 1070, 279 );
dw.dxfInt( 1070, 2 );
}
dw.dxfInt( 1070, 144 );
dw.dxfReal( 1040, data.linearFactor );
dw.dxfInt( 1070, 40 );