Improved GlyphTranslator

Added true type fonts
Refactored VertexStorage data types
Shortened FlagsAndComamand enum names
This commit is contained in:
Lars Brubaker 2018-05-15 13:56:05 -07:00
parent 3e6f1925d6
commit fbd4f9e219
32 changed files with 204 additions and 1268 deletions

View file

@ -154,8 +154,8 @@ namespace MatterHackers.GCodeVisualizer
Vector3Float start = this.GetStart(renderInfo);
Vector3Float end = this.GetEnd(renderInfo);
pathStorage.Add(start.x, start.y, ShapePath.FlagsAndCommand.CommandMoveTo);
pathStorage.Add(end.x, end.y, ShapePath.FlagsAndCommand.CommandLineTo);
pathStorage.Add(start.x, start.y, ShapePath.FlagsAndCommand.MoveTo);
pathStorage.Add(end.x, end.y, ShapePath.FlagsAndCommand.LineTo);
graphics2D.Render(stroke, 0, extrusionColor);
}