Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module contains the image manipulation primitives of GEGL, called Operations.
Some of these have defaults, which can be invoked by calling def
.
Those operations with no defaults are marked accordingly.
- data Operation = Operation {
- operationName :: String
- operationParams :: [Property]
- data Property = Property {
- propertyName :: String
- propertyValue :: PropertyValue
- data PropertyValue
- = PropertyInt Int
- | PropertyString String
- | PropertyDouble Double
- | PropertyColor Color
- | PropertyFormat PixelFormat
- | PropertyBuffer GeglBuffer
- | PropertyPointer (Ptr ())
- loadOperation :: [Property] -> Operation
- cropOperation :: [Property] -> Operation
- defaultCropOperation :: Operation
- textOperation :: [Property] -> Operation
- defaultTextOperation :: Operation
- pngSaveOperation :: [Property] -> Operation
- defaultPNGSaveOperation :: Operation
- checkerboardOperation :: [Property] -> Operation
- defaultCheckerboardOperation :: Operation
- overOperation :: [Property] -> Operation
- defaultOverOperation :: Operation
- bufferSourceOperation :: [Property] -> Operation
- translateOperation :: [Property] -> Operation
- data FractalType
- = Mandelbrot
- | Julia
- | Barnsley1
- | Barnsley2
- | Barnsley3
- | Spider
- | ManOWar
- | Lambda
- | Sierpinsky
- data FractalMode
Documentation
Operation | |
|
Property | |
|
data PropertyValue #
PropertyInt Int | |
PropertyString String | |
PropertyDouble Double | |
PropertyColor Color | |
PropertyFormat PixelFormat | |
PropertyBuffer GeglBuffer | |
PropertyPointer (Ptr ()) |
loadOperation :: [Property] -> Operation #
Simple Operation to load image files. Is agnostic to image format. This operation has no default.
cropOperation :: [Property] -> Operation #
Operation for cropping a buffer.
textOperation :: [Property] -> Operation #
Operation for rendering strings of text.
pngSaveOperation :: [Property] -> Operation #
A PNG image saving operation.
checkerboardOperation :: [Property] -> Operation #
Create a checkerboard pattern.
overOperation :: [Property] -> Operation #
Layover operation.
bufferSourceOperation :: [Property] -> Operation #
Use an existing GeglBuffer
as image source.
This operation has no default.
translateOperation :: [Property] -> Operation #
Translate an existing buffer
data FractalType #
Type for defining the fractal type in FractalExplorerOperation
.