mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
dxflib_qcad: Saving dimension with custom text position
upstream commit b4c74180a6857c7b63f7a71e1236930e85c15134
This commit is contained in:
parent
5ea6755594
commit
baebf7036f
6
thirdparty/dxflib_qcad/dl_dxf.cpp
vendored
6
thirdparty/dxflib_qcad/dl_dxf.cpp
vendored
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user