Just started to use this library and was surprise to see a messy treatment of units of measure of plain floats and integers with no clear indication of whether they are points, cm, inches, etc. as one might expected from a graphics package. Additionally, a translator object, PdfSharp.Drawing.XUnit does exists but is not relied upon or extensive, missing emSize for instance.
Why not have all units simply expect XUnit where that object's FromXXX constructors and XXX properties can be expanded and thereby eliminate this current lack of clarity to us novices.
Just started to use this library and was surprise to see a messy treatment of units of measure of plain floats and integers with no clear indication of whether they are points, cm, inches, etc. as one might expected from a graphics package. Additionally, a translator object,
PdfSharp.Drawing.XUnit
does exists but is not relied upon or extensive, missing emSize for instance.Why not have all units simply expect XUnit where that object's FromXXX constructors and XXX properties can be expanded and thereby eliminate this current lack of clarity to us novices.