Plugin
Layout
Layout plugin
The Layout context for Kinogaki Studio: a page on the 2D canvas and the pieces arranged on it, images (core's Image node wired into Place Image: files, embedded files and live results) and text, written out as a picture. Its nodes (Page, Place Image, Text, Merge, File Out) declare handles over their rows and each piece names its node, so core's canvas selects, arranges and composites them. It is checked out at plugins/layout in the Kinogaki Studio tree and builds only there.
| Crate | Path | What |
|---|---|---|
kinogaki-layout | . | The package kinogaki.layout: the value (src/value.rs), nodes, the Layout object kind, menu items |
kinogaki-plugin-layout | plugin/ | It as the plugin nodes/layout.dylib |
How the canvas and live results work: studio's docs/CANVAS.md and docs/LIVE-PIPELINE.md.
Tests. tests/ through the harness: arranging, the canvas chrome, files, results, output (GPU tests #[ignore]), run by the root's python3 tools/check_all.py.
- GitHub
- kinogaki/plugin-layout (private)
- Folder
plugins/layout/- Crates
- 2
- Rust lines
- 1,060 in src, 2,097 in tests
What it ships
| Plugin file | Package | Crate |
|---|---|---|
nodes/layout.dylib | kinogaki.layout | kinogaki-plugin-layout |
Crates
| Crate | What it is | Files | Lines | Test lines |
|---|---|---|---|---|
kinogaki-layout | The Layout context: a page on the 2D canvas and the pieces arranged on it, images and text, back to front in the order their nodes run. | 7 | 1,055 | 2,097 |
kinogaki-plugin-layout | The Layout context as a Studio plugin library (nodes/layout.dylib). | 1 | 5 | 0 |
Uses
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-shared | Core and the app | normal | The crates Studio and its plugins share, built once as a Rust dylib. |
kinogaki-studio-api | SDK | normal | Kinogaki Studio's headless plugin API. |
kinogaki-studio-ui-api | SDK | normal | Kinogaki Studio's UI layer for plugins. |
For its tests alone
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-harness | Core and the app | tests | Studio's test harness: the real editor, its event routing and its background work, driven offscreen with only the packages a test names. |
kinogaki-png | lib-image | tests | PNG images (ISO/IEC 15948, W3C PNG Third Edition) over kinogaki_deflate. |
kinogaki-png-format | PNG | tests | PNG, a format plugin: a PNG reads as one standard Image as the file holds it, and an Image writes as one PNG. |
kinogaki-testkit | Core and the app | tests | Kinogaki Studio's core testkit: toy packages written against the SDK alone, so core is tested with no real plugin. |
Third-party
None.
