mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
New node: Pack Strips (#3246)
* Added basic pack by bounds node Apply suggestion from @Keavon Co-authored-by: Keavon Chambers <keavon@keavon.com> * Add support for choosing rows/columns strip direction --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -18,6 +18,15 @@ pub enum CentroidType {
|
||||
Length,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize, Hash, DynAny, specta::Type, node_macro::ChoiceType)]
|
||||
#[widget(Radio)]
|
||||
pub enum RowsOrColumns {
|
||||
#[default]
|
||||
Rows = 0,
|
||||
Columns,
|
||||
}
|
||||
|
||||
pub trait AsU64 {
|
||||
fn as_u64(&self) -> u64;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user