interlinked/gegl/source/operations/enums.rs

63 lines
1003 B
Rust
Raw Normal View History

2024-01-23 17:07:02 +00:00
//! Additional enums for the operations.
use crate::gegl_enum;
gegl_enum!(
FocusBlurShape,
2024-01-24 11:50:38 +00:00
Circle => "circle",
Square => "square",
Diamond => "diamond",
Horizontal => "horizontal",
Vertical => "vertical",
2024-01-23 17:07:02 +00:00
);
gegl_enum!(
FocusBlurType,
2024-01-24 11:50:38 +00:00
Gaussian => "gaussian",
Lens => "lens",
2024-01-23 17:07:02 +00:00
);
gegl_enum!(
MazeAlgorithmType,
2024-01-24 11:50:38 +00:00
DepthFirst => "depth-first",
Prim => "prim",
2024-01-23 17:07:02 +00:00
);
gegl_enum!(
MedianBlurAbyssPolicy,
None => "none",
Clamp => "clamp",
);
gegl_enum!(
MedianBlurNeighborhood,
Square => "square",
Circle => "circle",
Diamond => "diamond",
);
gegl_enum!(
MosaicTileType,
Squares => "squares",
Hexagons => "hexagons",
Octagons => "octagons",
Triangles => "triangles",
);
gegl_enum!(
NewsprintPattern,
Line => "line",
Circle => "circle",
Diamond => "diamond",
Pssquare => "pssquare",
Cross => "cross",
);
gegl_enum!(
NewsprintColorModel,
BlackOnWhite => "black-on-white",
Cmyk => "cmyk",
Rgb => "rgb",
WhiteOnBlack => "white-on-black",
);