csmoore / military-symbols-dotnet

A basic MIL-STD-2525D Data/Drawing Library written in C#
15 stars 2 forks source link

Missing Amplifier Fields Information #1

Open mohsan-hassan opened 3 years ago

mohsan-hassan commented 3 years ago

hello, i was exploring 2525D libraries for c# and found this one. i am unable to find the option to set amplifier fields for symbol before exporting it to Bitmap. can you please comment on this

csmoore commented 3 years ago

Unfortunately the amplifiers/labels were never added/available/supported (either in the internal datamodel or the export). This prototype/project was mainly for validating the image SVGs provided.

To get this working for a simple test would probably involve:

  1. Creating a simple SVG document with the Text using the same bounding reference as the other symbols - that is just add an SVG text tag to this document with the desired x, y
  2. Adding this document to the list of SVG documents/layers that the code draws to a bitmap

Hope it helps