You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a project I stumbled upon units like dpi (dots per inch) and lpi (lines per inch), which are frequently used in printing.
Now I wonder how to integrate this with this library? A dot, at least in this context, doesn't have any concrete physical concept attached to it but it still should be possible to combine with physical units like inch.
Do I have to implement something based on AbstractSystemOfUnits like PrintingUnits? What base classes can I derive from or do I need to implement all the interfaces?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In a project I stumbled upon units like
dpi
(dots per inch) andlpi
(lines per inch), which are frequently used in printing.Now I wonder how to integrate this with this library? A
dot
, at least in this context, doesn't have any concrete physical concept attached to it but it still should be possible to combine with physical units likeinch
.Do I have to implement something based on
AbstractSystemOfUnits
likePrintingUnits
? What base classes can I derive from or do I need to implement all the interfaces?Beta Was this translation helpful? Give feedback.
All reactions