dxflib_qcad: Saving dimension with custom text position
upstream commit b4c74180a6857c7b63f7a71e1236930e85c15134
This commit is contained in:
parent
5ea6755594
commit
baebf7036f
|
@ -3512,6 +3512,12 @@ void DL_Dxf::writeDimStyleOverrides( DL_WriterA& dw,
|
||||||
dw.dxfString( 1001, "ACAD" );
|
dw.dxfString( 1001, "ACAD" );
|
||||||
dw.dxfString( 1000, "DSTYLE" );
|
dw.dxfString( 1000, "DSTYLE" );
|
||||||
dw.dxfString( 1002, "{" );
|
dw.dxfString( 1002, "{" );
|
||||||
|
if( data.type & 128 )
|
||||||
|
{
|
||||||
|
// custom text position:
|
||||||
|
dw.dxfInt( 1070, 279 );
|
||||||
|
dw.dxfInt( 1070, 2 );
|
||||||
|
}
|
||||||
dw.dxfInt( 1070, 144 );
|
dw.dxfInt( 1070, 144 );
|
||||||
dw.dxfReal( 1040, data.linearFactor );
|
dw.dxfReal( 1040, data.linearFactor );
|
||||||
dw.dxfInt( 1070, 40 );
|
dw.dxfInt( 1070, 40 );
|
||||||
|
|
Loading…
Reference in New Issue