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
|
|
|
);
|
2024-01-24 12:18:09 +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",
|
|
|
|
);
|