module Graphics.ImageMagick.MagickWand.FFI.PixelWand
where
import Foreign
import Foreign.C.String
import Foreign.C.Types
import Graphics.ImageMagick.MagickCore.Types
import Graphics.ImageMagick.MagickWand.FFI.Types
foreign import ccall "DestroyPixelWand" destroyPixelWand
:: Ptr PixelWand -> IO (Ptr PixelWand)
foreign import ccall "DestroyPixelWands" destroyPixelWands
:: Ptr PixelWand -> CSize -> IO ()
foreign import ccall "IsPixelWand" isPixelWand
:: Ptr PixelWand -> IO MagickBooleanType
foreign import ccall "PixelGetMagickColor" pixelGetMagickColor
:: Ptr PixelWand -> Ptr MagickPixelPacket -> IO ()
foreign import ccall "PixelSetMagickColor" pixelSetMagickColor
:: Ptr PixelWand -> Ptr MagickPixelPacket -> IO ()
foreign import ccall "ClearPixelWand" clearPixelWand
:: Ptr PixelWand -> IO ()
foreign import ccall "ClonePixelWand" clonePixelWand
:: Ptr PixelWand -> IO (Ptr PixelWand)
foreign import ccall "NewPixelWand" newPixelWand
:: IO (Ptr PixelWand)
foreign import ccall "NewPixelWands" newPixelWands
:: CSize -> IO (Ptr (Ptr PixelWand))
foreign import ccall "PixelSetColor" pixelSetColor
:: Ptr PixelWand -> CString -> IO MagickBooleanType
foreign import ccall "PixelClearException" pixelClearException
:: Ptr PixelWand -> IO MagickBooleanType
foreign import ccall "PixelGetException" pixelGetException
:: Ptr PixelWand -> Ptr ExceptionType -> IO CString
foreign import ccall "PixelGetExceptionType" pixelGetExceptionType
:: Ptr PixelWand -> IO ExceptionType
foreign import ccall "PixelGetColorAsString" pixelGetColorAsString
:: Ptr PixelWand -> IO CString
foreign import ccall "PixelGetColorAsNormalizedString" pixelGetColorAsNormalizedString
:: Ptr PixelWand -> IO CString
foreign import ccall "PixelSetRed" pixelSetRed
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelSetRedQuantum" pixelSetRedQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetRed" pixelGetRed
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelGetRedQuantum" pixelGetRedQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelGetGreen" pixelGetGreen
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelGetGreenQuantum" pixelGetGreenQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetGreen" pixelSetGreen
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelSetGreenQuantum" pixelSetGreenQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetBlue" pixelGetBlue
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetBlue" pixelSetBlue
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetBlueQuantum" pixelGetBlueQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetBlueQuantum" pixelSetBlueQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "IsPixelWandSimilar" isPixelWandSimilar
:: Ptr PixelWand -> Ptr PixelWand
-> CDouble
-> IO MagickBooleanType
foreign import ccall "PixelGetCyan" pixelGetCyan
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetCyan" pixelSetCyan
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetCyanQuantum" pixelGetCyanQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetCyanQuantum" pixelSetCyanQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetMagenta" pixelGetMagenta
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetMagenta" pixelSetMagenta
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetMagentaQuantum" pixelGetMagentaQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetMagentaQuantum" pixelSetMagentaQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetYellow" pixelGetYellow
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetYellow" pixelSetYellow
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetYellowQuantum" pixelGetYellowQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetYellowQuantum" pixelSetYellowQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetBlack" pixelGetBlack
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetBlack" pixelSetBlack
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetBlackQuantum" pixelGetBlackQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetBlackQuantum" pixelSetBlackQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelGetAlpha" pixelGetAlpha
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelGetAlphaQuantum" pixelGetAlphaQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetAlphaQuantum" pixelSetAlphaQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelSetAlpha" pixelSetAlpha
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetOpacity" pixelGetOpacity
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelGetOpacityQuantum" pixelGetOpacityQuantum
:: Ptr PixelWand -> IO Quantum
foreign import ccall "PixelSetOpacityQuantum" pixelSetOpacityQuantum
:: Ptr PixelWand -> Quantum -> IO ()
foreign import ccall "PixelSetOpacity" pixelSetOpacity
:: Ptr PixelWand -> CDouble -> IO ()
foreign import ccall "PixelGetColorCount" pixelGetColorCount
:: Ptr PixelWand -> IO CSize
foreign import ccall "PixelSetColorCount" pixelSetColorCount
:: Ptr PixelWand -> CSize -> IO ()
foreign import ccall "PixelGetHSL" pixelGetHSL
:: Ptr PixelWand -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
foreign import ccall "PixelSetHSL" pixelSetHSL
:: Ptr PixelWand -> CDouble -> CDouble -> CDouble -> IO ()
foreign import ccall "PixelSetColorFromWand" pixelSetColorFromWand
:: Ptr PixelWand -> Ptr PixelWand -> IO ()
foreign import ccall "PixelGetIndex" pixelGetIndex
:: Ptr PixelWand -> IO IndexPacket
foreign import ccall "PixelSetColor" pixelSetIndex
:: Ptr PixelWand -> IndexPacket -> IO ()
foreign import ccall "PixelGetQuantumColor" pixelGetQuantumColor
:: Ptr PixelWand -> Ptr PixelPacket -> IO ()
foreign import ccall "PixelSetQuantumColor" pixelSetQuantumColor
:: Ptr PixelWand -> Ptr PixelPacket -> IO ()
foreign import ccall "PixelGetFuzz" pixelGetFuzz
:: Ptr PixelWand -> IO CDouble
foreign import ccall "PixelSetFuzz" pixelSetFuzz
:: Ptr PixelWand -> CDouble -> IO ()