Glossary
About 598 words
This page defines the terms used throughout the UInk documentation. The first time one of these terms appears in the text, it links here.
Files and structure
| Term | Meaning |
|---|---|
| Main file | filename.uink, a MessagePack object stream that stores all content and structure. |
| Resource package | filename.uink.extra, in ZIP format, stores the images, PDFs and other resources referenced by Media. Optional. |
| Block | One top-level MessagePack object in the main file, for example Header, Canvas, Ink. |
| Object stream order | The order of blocks in the main file. |
| Type ID | The type number of a block, for example 3 for Ink. See Block Types and Encoding. |
| Registry | The devices and workspaces lists in the Header Extension. |
| Implicit singleton | The single default Device or Workspace that a reader creates automatically when a registry is missing. It has no GUID. |
Pages and canvases
| Term | Meaning |
|---|---|
| Workspace | A usage scenario: screen annotation, whiteboard or PowerPoint. A file can have several Workspaces. |
| Device | A display area: a display (Display) or a window (Window). |
| Page | One page in a Workspace, identified by pageGuid and ordered by pageIndex. |
| Layer | One layer of content on the same page and the same Device, distinguished by layerIndex. |
| Canvas | One layer of one page on one Device. The Ink, Shape, Media and Clear after it all belong to it. |
| Canvas unique key | (Workspace, Device, pageGuid, layerIndex). Each key appears only once in a compact file. |
| Content block | The collective name for Ink, Shape, Media and Clear. |
| Device pixel | The unit of Canvas coordinates and widths: pixels of the Device the Canvas belongs to. The file does not record DPI. |
| viewport | The Canvas coordinates and zoom factor corresponding to the top-left corner of the Device, used to express pan and zoom. |
Saving
| Term | Meaning |
|---|---|
| Full save | Rebuilds all valid blocks, writes them to a temporary file and then replaces the original file as a whole. |
| Incremental write | Only appends complete blocks to the end of the file, without modifying existing bytes. |
| Page append | A kind of incremental write: appends a complete new version of a page to the end of the file; when reading, the last version to appear wins. |
| Compact file | A file in which each Canvas unique key appears only once, arranged in the recommended order. Produced by compacting or exporting. |
| Compacting | Rewriting a file that contains page appends into a compact file. |
Undo
| Term | Meaning |
|---|---|
| Undo group | Consecutive content blocks in the object stream with the same undoId; one undo reverts them together. |
| Clear interval | The content between two Clears (or between a Clear and the start or end of the page). |
| Trailing latest group | In the renderOnlyWhenLatest rule, the consecutive Ink and Shape at the end of a Canvas that are marked true. |
Levels and compatibility
| Term | Meaning |
|---|---|
| Level | A conformance level of an implementation: Core, Basic, Standard, Full, plus the Inkeys extension that can be added on top. See Levels and Certification. |
| Reader | Software or a module that opens .uink and displays its content. |
| Writer | Software or a module that creates or saves .uink. |
| Fallback | How a reader displays content when it does not support a feature. |
| Compatible export | A writer produces a file using only the capabilities of the target level, baking or discarding higher-level content when necessary. |
| Private value | Enum values 128 and above, defined by each app itself and interoperable only between apps that agreed in advance. |
| Rule ID | The stable ID of a normative rule, for example INK-3. Checklists and samples refer to rules by ID. |