PageToWorld
Converts the page (i.e. paper, logical) coordinates into the world (i.e. axis scale) coordinates.
BOOL PageToWorld( double & rXWorld, double & rYWorld, int nXPage, int nYPage )
TRUE if success, otherwise FALSE.
EX1
//Output the axis scale of x page coordinate and y page coordinate. void Layer_PageToWorld_ex1() { GraphPage gp; gp.Create(); GraphLayer gl = gp.Layers(0); double xmin, ymax; gl.PageToWorld(xmin, ymax, 2618, 2628); out_double("axis scale of x is ", xmin); out_double("axis scale of y is ", ymax); }
Layer::WorldToPage
origin.h