chore: inital commit
Split project into a Cargo workspace with two crates: - core/ (noctua_core): UI-independent document library - ui/ (noctua_ui): COSMIC application scaffold (empty) justfile for workspace (run, run-cli, check, test, build)
This commit is contained in:
commit
c85f35310e
31 changed files with 9768 additions and 0 deletions
12
core/src/document/raster.rs
Normal file
12
core/src/document/raster.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// src/document/raster.rs
|
||||
//
|
||||
// Raster image document model (JPEG, PNG, etc.).
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct RasterModel {
|
||||
pub path: PathBuf,
|
||||
pub dimensions: (u32, u32),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue