I am drawing graphs for an app which is for iPad and iPhone. I have managed to scale all the dimensions so that the graphs, axes, etc. scale correctly for different devices. But I am unsure how to scale line widths. So if I write:
context?.setLineWidth(4.0)
the line will appear quite thick on an iPhone 5 but thinner on an iPad. I would like to make it look thinner on the smaller devices.