### ----------------------------------------------------
### -- PDF::ISO_32000
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000/misc/Table_59-Path_Construction_Operators.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 59 – Path Construction Operators",
    "head": [
      "Operands",
      "Operator",
      "Description"
    ],
    "rows": [
      [
        "x y",
        "m",
        "Begin a new subpath by moving the current point to coordinates (x, y), omitting any connecting line segment. If the previous path construction operator in the current path was also m, the new m overrides it; no vestige of the previous m operation remains in the path."
      ],
      [
        "x y",
        "l (lowercase L)",
        "Append a straight line segment from the current point to the point (x, y). The new current point is (x, y)."
      ],
      [
        "x1 y1 x2 y2 x3 y3",
        "c",
        "Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3 , y3), using (x1 , y1) and (x2 , y2) as the Bézier control points (see 8.5.2.2, \"Cubic Bézier Curves\"). The new current point is (x3 , y3)."
      ],
      [
        "x2 y2 x3 y3",
        "v",
        "Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3 , y3), using the current point and (x2 , y2) as the Bézier control points (see 8.5.2.2, \"Cubic Bézier Curves\"). The new current point is (x3 , y3)."
      ],
      [
        "x1 y1 x3 y3",
        "y",
        "Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3 , y3), using (x1 , y1) and (x3 , y3) as the Bézier control points (see 8.5.2.2, \"Cubic Bézier Curves\"). The new current point is (x3 , y3)."
      ],
      [
        "—",
        "h",
        "Close the current subpath by appending a straight line segment from the current point to the starting point of the subpath. If the current subpath is already closed, h does nothing.\nThis operator terminates the current subpath. Appending another segment to the current path shall begin a new subpath, even if the new segment begins at the endpoint reached by the h operation."
      ],
      [
        "x y width height",
        "re",
        "Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space. The operation\nx y width height re\nis equivalent to\nx y m (x + width) y l (x + width) (y + height) l x (y + height) l h"
      ]
    ]
  }
}


