I've found many examples with converting coordinates to pixel for specific picture size. But that is not what I need.
I need to convert geo coordinates (latitude and longitude) to screen pixels with defined ratio pixels/degree without binding to picture size. It needed for drawing programmatically few lines on canvas (10-15 kilometers length of each line and 80x80 kilometers whole map).
How can I do that?