Hi klaus,
creating a list of Points should work like this:
var point1 = new Point(1, 2); var point2 = new Point(4, 5); var points = new Points(); points.push(point1) points.push(point2)
point1.x gives the x-coordinate of a point
point2.y gives the y-coordinate of a point
both values are changeable
Note: you need to provide metrics and not cm or Inches.
To convert cm 2 metric you can use this function
function convertCm2Metric(widthCm) { var cm2pt = 28.35; return Math.round (widthCm * 65535 * cm2pt) }
Hope this helps
Markus