I have a WPF app that generates barcodes and then prints them on a sheet of paper. So I need precision. For quite some time I have been assuming that all coordinates that are used in drawing with WPF are given in Points (1/72th of an inch). Apparently I have been wrong since the sheet I finally printed turned out to be smaller than I expected. For some reason all the docs I've been plowing through are being quite vague about the unit of measurement used for specifying the coordinates.
Basically my app draws a set of labels on a canvas using DrawingContext object and it uses that same method when printing (I simply add the generated visual on a FixedPage)
What I need is a way to specify that I want all the coordinates are given in points rather than pixels. Is there a simple way to do that?