I'm doing some coursework right now and a small component of my project is to draw barcodes. Now' I've succeeded in doing it , HOWEVER I want to know if it is possible to use absolute measurements rather than pixel measurements.
Are you asking if its possible to render some data based on unit measurements? Yes its possible. You have to apply a scale multiplier to the data you are rendering. And I would imagine you'd have to define each unit in pixels.