¤ pmDrawLine, pmDrawImageString, et al

Types

pmDrawLine :: PixmapId -> GCId -> Line -> XCommand
pmDrawImageString :: PixmapId -> GCId -> Point -> String -> XCommand
pmDrawString :: PixmapId -> GCId -> Point -> String -> XCommand
pmDrawRectangle :: PixmapId -> GCId -> Rect -> XCommand
pmFillRectangle :: PixmapId -> GCId -> Rect -> XCommand
pmFillPolygon :: PixmapId -> GCId -> Shape -> CoordMode -> [Point] -> XCommand
pmDrawArc :: PixmapId -> GCId -> Rect -> Int -> Int -> XCommand
pmFillArc :: PixmapId -> GCId -> Rect -> Int -> Int -> XCommand
pmCopyArea :: PixmapId -> GCId -> Drawable -> Rect -> Point -> XCommand
pmCopyPlane :: PixmapId -> GCId -> Drawable -> Rect -> Point -> Int -> XCommand
pmDrawPoint :: PixmapId -> GCId -> Point -> XCommand
pmCreatePutImage :: PixmapId -> GCId -> Rect -> ImageFormat -> [Pixel] -> XCommand

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

Description

These are convenience functions for drawing in pixmaps.

Equalities

  pmDrawLine pm gc l = Draw (Pixmap pm) gc (DrawLine l)
  pmDrawImageString pm gc p s = Draw (Pixmap pm) gc (DrawImageString p s)
  .
  .
  .

See Also

DrawCommand, wDrawLine.