I am trying to program that will be able to do various transformations on a coordinate plane. But I am having 2 problems very early in the project. The first is what is the code to get the width/hight of a program. This will inturn be devided by two to get the halfway point for the Xand Y axi. The second problem is how can I designate the the hashmarks indication positions on the X and Y axis ( i.e. (0,1) and (1,0) ) without having them look like crap when they resize the program?