there's built in scaling on the form and most controls, you can change to usermode and set the scaleleft/top/width/height properties and then plotted pixels, lines and circles will be positioned accordingly. However this doesn't work with any GDI functions. You could thought manually convert between your own scale units and pixels, u=c*p+o