# Results checked in Chrome

The file was imported in Chrome through Home, **Import**, and **Choose a file…**. The project opened as Probe import, and the board opened as Imported slide. The canvas showed the focus area, the title, the three rectangles, the arrow, and the yellow note. The background in the file is blank, and the canvas had no dots.

## What Present showed

Alt+P started **Present**. The bar read Quarter plan and `1/1`.

## What Export wrote

With the selection cleared, **Export** wrote three more files.

- **Picture** at the default sharpness of 2× was a PNG 2048 pixels wide and 1208 pixels tall.
- **Vector picture** was an SVG with `width` 1024 and `height` 604. The SVG starts with an `svg` element and a `foreignObject`.
- **PDF** opened in Chrome as one page and showed the same drawing, including the note bullet.

## How padding sets the SVG size

The focus area is 960 by 540 and sits at x 48 y 48. The other shapes sit inside the focus area, so the shape bounds are 960 by 540. Export adds 32 pixels on each side. 960 plus 64 is 1024, the SVG width. 540 plus 64 is 604, the SVG height. The PNG at 2× doubles the SVG size.

`seed` values below are the integers the board stored for the clean rectangles and the arrow. Text and the note have no `seed` field.

```json
{
  "format": "draw",
  "version": 1,
  "kind": "board",
  "exportedAt": 1,
  "projects": [
    {
      "name": "Probe import",
      "boards": [
        {
          "name": "Imported slide",
          "background": "blank",
          "shapes": [
            {
              "id": "area1",
              "type": "frame",
              "x": 48,
              "y": 48,
              "rotation": 0,
              "index": "a0",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 960,
                "h": 540,
                "name": "Quarter plan"
              }
            },
            {
              "id": "title1",
              "type": "text",
              "x": 96,
              "y": 88,
              "rotation": 0,
              "index": "a1",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 400,
                "h": 70,
                "autoSize": true,
                "text": [
                  {
                    "type": "paragraph",
                    "spans": [
                      {
                        "text": "Quarter plan",
                        "bold": true
                      }
                    ]
                  }
                ],
                "color": "black",
                "size": "xl",
                "font": "sans",
                "align": "start"
              }
            },
            {
              "id": "sub1",
              "type": "text",
              "x": 96,
              "y": 160,
              "rotation": 0,
              "index": "a2",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 360,
                "h": 40,
                "autoSize": true,
                "text": [
                  {
                    "type": "paragraph",
                    "spans": [
                      {
                        "text": "Three things to show"
                      }
                    ]
                  }
                ],
                "color": "grey",
                "size": "m",
                "font": "sans",
                "align": "start"
              }
            },
            {
              "id": "box1",
              "type": "geo",
              "x": 96,
              "y": 240,
              "rotation": 0,
              "index": "a3",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 240,
                "h": 180,
                "geo": "rectangle",
                "color": "blue",
                "fill": "semi",
                "dash": "solid",
                "size": "m",
                "font": "sans",
                "align": "middle",
                "sketch": "clean",
                "text": [
                  {
                    "type": "paragraph",
                    "spans": [
                      {
                        "text": "Ship the draft"
                      }
                    ]
                  }
                ],
                "seed": 26479938
              }
            },
            {
              "id": "box2",
              "type": "geo",
              "x": 400,
              "y": 240,
              "rotation": 0,
              "index": "a4",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 240,
                "h": 180,
                "geo": "rectangle",
                "color": "blue",
                "fill": "semi",
                "dash": "solid",
                "size": "m",
                "font": "sans",
                "align": "middle",
                "sketch": "clean",
                "text": [
                  {
                    "type": "paragraph",
                    "spans": [
                      {
                        "text": "Review it"
                      }
                    ]
                  }
                ],
                "seed": 1577800190
              }
            },
            {
              "id": "box3",
              "type": "geo",
              "x": 704,
              "y": 240,
              "rotation": 0,
              "index": "a5",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 240,
                "h": 180,
                "geo": "rectangle",
                "color": "blue",
                "fill": "semi",
                "dash": "solid",
                "size": "m",
                "font": "sans",
                "align": "middle",
                "sketch": "clean",
                "text": [
                  {
                    "type": "paragraph",
                    "spans": [
                      {
                        "text": "Present it"
                      }
                    ]
                  }
                ],
                "seed": 1999593248
              }
            },
            {
              "id": "note1",
              "type": "note",
              "x": 96,
              "y": 460,
              "rotation": 0,
              "index": "a6",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "w": 280,
                "h": 100,
                "text": [
                  {
                    "type": "bullet",
                    "spans": [
                      {
                        "text": "Keep the file on this device"
                      }
                    ]
                  }
                ],
                "color": "yellow",
                "size": "m",
                "font": "hand",
                "align": "start"
              }
            },
            {
              "id": "arrow1",
              "type": "arrow",
              "x": 343,
              "y": 330,
              "rotation": 0,
              "index": "a7",
              "parentId": null,
              "locked": false,
              "opacity": 1,
              "props": {
                "start": {
                  "x": 0,
                  "y": 0,
                  "binding": {
                    "shapeId": "box1",
                    "anchor": {
                      "x": 1,
                      "y": 0.5
                    }
                  }
                },
                "end": {
                  "x": 50,
                  "y": 0,
                  "binding": {
                    "shapeId": "box2",
                    "anchor": {
                      "x": 0,
                      "y": 0.5
                    }
                  }
                },
                "bend": 0,
                "color": "black",
                "dash": "solid",
                "size": "m",
                "sketch": "clean",
                "arrowheadStart": "none",
                "arrowheadEnd": "arrow",
                "label": "",
                "font": "sans",
                "seed": 404578357
              }
            }
          ]
        }
      ]
    }
  ],
  "assets": [],
  "layouts": []
}
```

This JSON imports through **Import** when the file name ends in `.draw`. Draw creates new ids. Importing the file twice makes two projects.
