Fix DXF vport. AutoCAD complains about clipped view.
--HG-- branch : develop
This commit is contained in:
parent
8c7f9e2558
commit
5015dda5dd
|
@ -26,6 +26,7 @@ dx_iface::dx_iface(const std::string &file, DRW::Version v, VarMeasurement varMe
|
|||
{
|
||||
InitHeader(varMeasurement, varInsunits);
|
||||
InitTextstyles();
|
||||
InitVPorts();
|
||||
InitAppId();
|
||||
}
|
||||
|
||||
|
@ -301,6 +302,14 @@ void dx_iface::InitTextstyles()
|
|||
cData.textStyles.push_back(style);
|
||||
}
|
||||
|
||||
void dx_iface::InitVPorts()
|
||||
{
|
||||
DRW_Vport vport;
|
||||
vport.name = "*ACTIVE";
|
||||
vport.height = 297.0;
|
||||
cData.VPorts.push_back(vport);
|
||||
}
|
||||
|
||||
void dx_iface::InitAppId()
|
||||
{
|
||||
DRW_AppId ai;
|
||||
|
|
|
@ -133,6 +133,7 @@ private:
|
|||
|
||||
void InitHeader(VarMeasurement varMeasurement, VarInsunits varInsunits);
|
||||
void InitTextstyles();
|
||||
void InitVPorts();
|
||||
void InitAppId();
|
||||
|
||||
static std::string LocaleToISO();
|
||||
|
|
Loading…
Reference in New Issue
Block a user