gegl-0.0.0.5: Haskell bindings to GEGL library

Safe HaskellSafe
LanguageHaskell2010

GEGL.Rectangle

Description

Rectangles from this module are used to specify areas for operations.

Synopsis

Documentation

data GeglRectangle #

A standard GEGL rectangle

Constructors

GeglRectangle 

Fields

Instances

Show GeglRectangle # 

Methods

showsPrec :: Int -> GeglRectangle -> ShowS

show :: GeglRectangle -> String

showList :: [GeglRectangle] -> ShowS

Storable GeglRectangle # 

Methods

sizeOf :: GeglRectangle -> Int

alignment :: GeglRectangle -> Int

peekElemOff :: Ptr GeglRectangle -> Int -> IO GeglRectangle

pokeElemOff :: Ptr GeglRectangle -> Int -> GeglRectangle -> IO ()

peekByteOff :: Ptr b -> Int -> IO GeglRectangle

pokeByteOff :: Ptr b -> Int -> GeglRectangle -> IO ()

peek :: Ptr GeglRectangle -> IO GeglRectangle

poke :: Ptr GeglRectangle -> GeglRectangle -> IO ()

gegl_rectangle_intersect #

Arguments

:: GeglRectangle

A rectangle

-> GeglRectangle

A rectangle

-> IO (Maybe GeglRectangle)

Returns a GeglRectangle if rectangles intersect, otherwise Nothing

Calculates the intersection of two rectangles.