X11-1.6.1.1: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Safe HaskellSafe-Inferred

Graphics.X11.Xlib.Types

Description

A collection of type declarations for interfacing with Xlib.

Synopsis

Documentation

newtype Display

pointer to an X11 Display structure

Constructors

Display (Ptr Display) 

newtype Screen

pointer to an X11 Screen structure

Constructors

Screen (Ptr Screen) 

newtype Visual

pointer to an X11 Visual structure

Constructors

Visual (Ptr Visual) 

newtype GC

pointer to an X11 GC structure

Constructors

GC (Ptr GC) 

Instances

data GCValues

pointer to an X11 XGCValues structure

newtype Image

pointer to an X11 XImage structure

Constructors

Image (Ptr Image) 

data Point

counterpart of an X11 XPoint structure

Constructors

Point 

Fields

pt_x :: !Position
 
pt_y :: !Position
 

data Rectangle

counterpart of an X11 XRectangle structure

data Arc

counterpart of an X11 XArc structure

data Segment

counterpart of an X11 XSegment structure

Constructors

Segment 

data Color

counterpart of an X11 XColor structure

type Pixel = Word32

type Angle = CInt

type Buffer = CInt