I’m creating an application which, for lack of a better analogy, is a bit like PowerPoint (in its output, at least).
My intention is to have the resulting graphics appear relatively consistent on any machine.
By this I mean that a box that takes up 1/3 of the drawing area on the machine on which it was created should take up 1/3 of the drawing area on any machine, and a font size that fits 50 "m"s across the creating machine’s screen should be adjusted to be 50 ems on any target machine.
I guess you could say it’s a little bit like SVG, but I’ll probably want the user to be inputting sizes as pixels, or something close, as this is what will make the most sense to them.
I have a couple of different ideas of how to get everything to be relative to the resolution, and I’d like to ask for comments on how people think they might work.
However, I thought I’d ask for ideas of how other people might do this first.
So, how would you make line/shape/font sizes relative to the resolution?
How would you store the sizes?
How would you use them to draw features and text?
I’ll post my ideas tomorrow for criticism, but I’m keen to know what other people would do.