Skip to content

Commit

Permalink
vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Aug 22, 2023
1 parent eeb2856 commit b69e32e
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private void writeTextEntity(TextEntity text)
private void writeAttributeBase(AttributeBase att)
{
this._writer.Write(2, att.Tag);

this._writer.Write(70, (short)att.Flags);
this._writer.Write(73, (short)0);

Expand All @@ -282,7 +282,17 @@ private void writeVertex(Vertex v)
DxfClassMap map = DxfClassMap.Create<Vertex>();

this._writer.Write(DxfCode.Subclass, DxfSubclassMarker.Vertex);
this._writer.Write(DxfCode.Subclass, v.SubclassMarker);

this._writer.Write(10, v.Location, map);

this._writer.Write(40, v.StartWidth, map);
this._writer.Write(41, v.EndWidth, map);
this._writer.Write(42, v.Bulge, map);

this._writer.Write(70, v.Flags, map);

this._writer.Write(50, v.CurveTangent, map);
}
}
}

0 comments on commit b69e32e

Please sign in to comment.