pmDrawLine :: PixmapId -> GCId -> Line -> FRequest pmDrawImageString :: PixmapId -> GCId -> Point -> String -> FRequest pmDrawString :: PixmapId -> GCId -> Point -> String -> FRequest pmDrawRectangle :: PixmapId -> GCId -> Rect -> FRequest pmFillRectangle :: PixmapId -> GCId -> Rect -> FRequest pmFillPolygon :: PixmapId -> GCId -> Shape -> CoordMode -> [Point] -> FRequest pmDrawArc :: PixmapId -> GCId -> Rect -> Int -> Int -> FRequest pmFillArc :: PixmapId -> GCId -> Rect -> Int -> Int -> FRequest pmCopyArea :: PixmapId -> GCId -> Drawable -> Rect -> Point -> FRequest pmCopyPlane :: PixmapId -> GCId -> Drawable -> Rect -> Point -> Int -> FRequest pmDrawPoint :: PixmapId -> GCId -> Point -> FRequest pmCreatePutImage :: PixmapId -> GCId -> Rect -> ImageFormat -> [Pixel] -> FRequest
data DrawCommand = DrawLine Line | DrawImageString Point String | DrawString Point String | DrawRectangle Rect | FillRectangle Rect | FillPolygon Shape CoordMode [Point] | DrawArc Rect Int Int | FillArc Rect Int Int | CopyArea Drawable Rect Point | CopyPlane Drawable Rect Point Int | DrawPoint Point | CreatePutImage Rect ImageFormat [Pixel] | DrawImageStringPS Point PackedString | DrawStringPS Point PackedString | DrawLines CoordMode [Point] | DrawImageString16 Point String | DrawString16 Point String
pmDrawLine pm gc l = Draw (Pixmap pm) gc (DrawLine l) pmDrawImageString pm gc p s = Draw (Pixmap pm) gc (DrawImageString p s) . . .