| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | libraries@haskell.org |
| Safe Haskell | None |
Graphics.X11.Xlib.Types
Description
A collection of type declarations for interfacing with Xlib.
- newtype Display = Display (Ptr Display)
- newtype Screen = Screen (Ptr Screen)
- newtype Visual = Visual (Ptr Visual)
- newtype GC = GC (Ptr GC)
- data GCValues
- data SetWindowAttributes
- newtype Image = Image (Ptr Image)
- data Point = Point {}
- data Rectangle = Rectangle {
- rect_x :: !Position
- rect_y :: !Position
- rect_width :: !Dimension
- rect_height :: !Dimension
- data Arc = Arc {
- arc_x :: Position
- arc_y :: Position
- arc_width :: Dimension
- arc_height :: Dimension
- arc_angle1 :: Angle
- arc_angle2 :: Angle
- data Segment = Segment {}
- data Color = Color {
- color_pixel :: Pixel
- color_red :: Word16
- color_green :: Word16
- color_blue :: Word16
- color_flags :: Word8
- type Pixel = Word32
- type Position = Int32
- type Dimension = Word32
- type Angle = CInt
- type ScreenNumber = Word32
- type Buffer = CInt
Documentation
pointer to an X11 Display structure
pointer to an X11 Screen structure
pointer to an X11 Visual structure
pointer to an X11 GC structure
pointer to an X11 XGCValues structure
data SetWindowAttributes Source
pointer to an X11 XSetWindowAttributes structure
pointer to an X11 XImage structure
counterpart of an X11 XPoint structure
counterpart of an X11 XRectangle structure
Constructors
| Rectangle | |
Fields
| |
counterpart of an X11 XArc structure
Constructors
| Arc | |
Fields
| |
counterpart of an X11 XSegment structure
Constructors
| Segment | |
counterpart of an X11 XColor structure
Constructors
| Color | |
Fields
| |
type ScreenNumber = Word32Source